aboutsummaryrefslogtreecommitdiffstats
path: root/lib/iowatch.cc
diff options
context:
space:
mode:
authorFritz Elfert <felfert@to.com>2002-08-11 01:41:45 +0000
committerFritz Elfert <felfert@to.com>2002-08-11 01:41:45 +0000
commit0df34ec5ddb92ce7e3bcbb4f0eb24e30955ba3a1 (patch)
treebf25a83298b223ea71428b1453f3b3a04de902ef /lib/iowatch.cc
parent8a6406733e385afc86d9937ff79f228ef40afc99 (diff)
downloadplptools-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/iowatch.cc')
-rw-r--r--lib/iowatch.cc1
1 files changed, 1 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() {