Update of /cvsroot/monetdb/MonetDB/src/gdk
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12336/src/gdk
Modified Files:
Tag: GDK-2
gdk_posix.mx gdk_utils.mx
Log Message:
propagated changes of Monday Sep 03 2007 - Thursday Sep 06 2007
from the development trunk to the GDK-2 branch
Index: gdk_posix.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB/src/gdk/gdk_posix.mx,v
retrieving revision 1.141.2.1
retrieving revision 1.141.2.2
diff -u -d -r1.141.2.1 -r1.141.2.2
--- gdk_posix.mx 15 Aug 2007 22:19:11 -0000 1.141.2.1
+++ gdk_posix.mx 6 Sep 2007 13:50:55 -0000 1.141.2.2
@@ -2068,7 +2068,7 @@
struct timeval tv;
tv.tv_sec = ms / 1000;
- tv.tv_usec = ms % 1000;
+ tv.tv_usec = 1000 * (ms % 1000);
(void) select(0, NULL, NULL, NULL, &tv);
#endif
}
Index: gdk_utils.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB/src/gdk/gdk_utils.mx,v
retrieving revision 1.191.2.1
retrieving revision 1.191.2.2
diff -u -d -r1.191.2.1 -r1.191.2.2
--- gdk_utils.mx 3 Aug 2007 15:05:56 -0000 1.191.2.1
+++ gdk_utils.mx 6 Sep 2007 13:50:55 -0000 1.191.2.2
@@ -1595,7 +1595,8 @@
Print the new process list in the global lock file.
@c
fseek(GDKlockFile, 0, SEEK_SET);
- ftruncate(fileno(GDKlockFile), 0);
+ if (ftruncate(fileno(GDKlockFile), 0) < 0)
+ GDKfatal("GDKlockHome: Could not truncate %s\n", GDKLOCK);
fflush(GDKlockFile);
GDKlog(GDKLOGON);
@-
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins