* lib/defines.h: Avoid implicit conversion of pointers to

booleans.
	* lib/defines.h: Ignore return values of setlocale() except the
	first call.
	* lib/defines.h: Fix a splint observer warning by using an
	intermediate variable (old_locale).
This commit is contained in:
nekral-guest
2008-06-14 23:41:38 +00:00
parent 1b631c42ef
commit f42160862a
2 changed files with 22 additions and 10 deletions

View File

@@ -1,3 +1,12 @@
2008-06-15 Nicolas François <nicolas.francois@centraliens.net>
* lib/defines.h: Avoid implicit conversion of pointers to
booleans.
* lib/defines.h: Ignore return values of setlocale() except the
first call.
* lib/defines.h: Fix a splint observer warning by using an
intermediate variable (old_locale).
2008-06-15 Nicolas François <nicolas.francois@centraliens.net>
* libmisc/failure.c: Check return values. If lseek() failed, avoid