Update of /cvsroot/monetdb/MonetDB/src/gdk
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv17503/src/gdk
Modified Files:
gdk_utils.mx
Log Message:
Updates to the .spec files to be ever so slightly more compatible with
the Fedora packaging guidelines.
Use %configure instead of ./configure. This implies removing the
--prefix, --bindir, etc. options. This also implies that the compiler
will be called with -D_FORTIFY_SOURCE=2 which makes that the compiler
is even stricter than before. So we do that now as well.
Some fixes to get things compiled with -D_FORTIFY_SOURCE=2. Mostly,
we need to do something with the result of functions such as fwrite,
fread, ftruncate, system.
Added descriptions to all packages.
Created a MonetDB-testing package.
Enabled the MonetDB-SQL-devel package.
When creating the tar balls, remove extraneous execute bits, and don't
include files that are generated by configure (i.e. files for which
there is a corresponding .in file).
Index: gdk_utils.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB/src/gdk/gdk_utils.mx,v
retrieving revision 1.191
retrieving revision 1.192
diff -u -d -r1.191 -r1.192
--- gdk_utils.mx 16 Jul 2007 10:59:22 -0000 1.191
+++ gdk_utils.mx 5 Sep 2007 17:05:58 -0000 1.192
@@ -1593,7 +1593,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