[slang-users] Suspicious code in slang-2.0.5
Leonard den Ottolander
leonard at den.ottolander.nl
Wed Feb 1 16:45:26 UTC 2006
Hello Vladimir,
Good to see you again.
(From the slang user list: )
On Mon, 2006-01-30 at 17:39 +0100, Vladimir Nadvornik wrote:
> We got this bugreport from David Binderman <dcb314 at hotmail.com>:
> /usr/src/packages/BUILD/slang-2.0.5/src/slcommon.c(107): warning #187: use of
> "=" where "==" may have been intended
> Maybe the programmer intended
>
> if (((locale == NULL) || (*locale == 0))
> && ((NULL == (locale = getenv ("LC_ALL"))) || (*locale == 0))
> && ((NULL == (locale = getenv ("LC_CTYPE"))) || (*locale == 0))
> && ((NULL == (locale = getenv ("LANG"))) || (*locale == 0)))
> return 0;
Committed to mc CVS.
Leonard.
--
mount -t life -o ro /dev/dna /genetic/research
More information about the mc-devel
mailing list