From 9de39b568d5e613de0874681d65caa4c13257080 Mon Sep 17 00:00:00 2001 From: Herbert Xu Date: Sat, 3 May 2008 14:09:24 +0800 Subject: [EXEC] Fixed _PATH_BSHELL warning With klcc we get klcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -Wall -D__CTYPE_NO_INLINE -MT exec.o -MD -MP -MF .deps/exec.Tpo -c -o exec.o exec.c exec.c: In function 'tryexec': exec.c:160: warning: comparison with string literal results in unspecified behavior Storing it in a local variable fixes the problem. Thanks to Dan McGee for reporting this. Signed-off-by: Herbert Xu --- ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 5216521..1126b04 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-05-03 Herbert Xu + + * Fixed _PATH_BSHELL warning. + 2008-05-02 Herbert Xu * Restored non-glibc getcwd support. -- cgit 1.4.1