diff options
author | Fritz Elfert <felfert@to.com> | 2002-08-11 01:41:45 +0000 |
---|---|---|
committer | Fritz Elfert <felfert@to.com> | 2002-08-11 01:41:45 +0000 |
commit | 0df34ec5ddb92ce7e3bcbb4f0eb24e30955ba3a1 (patch) | |
tree | bf25a83298b223ea71428b1453f3b3a04de902ef /lib | |
parent | 8a6406733e385afc86d9937ff79f228ef40afc99 (diff) | |
download | plptools-0df34ec5ddb92ce7e3bcbb4f0eb24e30955ba3a1.tar.gz plptools-0df34ec5ddb92ce7e3bcbb4f0eb24e30955ba3a1.tar.bz2 plptools-0df34ec5ddb92ce7e3bcbb4f0eb24e30955ba3a1.zip |
- Fixed setting of CFLAGS and CXXFLAGS: With --enable-debug, disable -O
- Removed ccmalloc support. Now using valgrind
- Added missing mainainer-clean-local targets
- Fixed uninitialized array in IOwatch, reported by valgrind.
- Fixed missing definition of LC_ALL if compiling without -O
- Fixed invalid access to datapump thread (not yet created), reported by
valgrind.
- Fixed wrong parameters of QRegExp when using QT 3.x
- Fixed KTar initialization which has changed in KDE 3.x
Diffstat (limited to 'lib')
-rw-r--r-- | lib/iowatch.cc | 1 | ||||
-rw-r--r-- | lib/plpintl.h | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/lib/iowatch.cc b/lib/iowatch.cc index 7335d4a..5a975f7 100644 --- a/lib/iowatch.cc +++ b/lib/iowatch.cc @@ -33,6 +33,7 @@ IOWatch::IOWatch() { num = 0; io = new int [FD_SETSIZE]; + memset(io, -1, FD_SETSIZE); } IOWatch::~IOWatch() { diff --git a/lib/plpintl.h b/lib/plpintl.h index e28fde0..7eb4da9 100644 --- a/lib/plpintl.h +++ b/lib/plpintl.h @@ -39,6 +39,11 @@ extern inline char * stpcpy(char *dest, const char *src) { } #endif +/* libintl.h includes locale.h only if optimized. + * however, we need LC_ALL ... + */ +#include <locale.h> + #if defined(ENABLE_NLS) && defined(HAVE_GETTEXT) # include <libintl.h> static inline const char *X_(const char *t) { return gettext(t); } |