Update of /cvsroot/monetdb/sql/src/backends/monet5
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv7482/src/backends/monet5
Modified Files:
merovingian.mx
Log Message:
propagated changes of Monday Feb 02 2009 - Tuesday Feb 03 2009
from the Feb2009 branch to the development trunk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/02/02 - mr-meltdown: src/backends/monet5/merovingian.mx,1.72.2.1
Fix bug found by Roberto; properly create logfiles if they do not exist
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Index: merovingian.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet5/merovingian.mx,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -d -r1.72 -r1.73
--- merovingian.mx 7 Jan 2009 14:19:28 -0000 1.72
+++ merovingian.mx 3 Feb 2009 09:33:40 -0000 1.73
@@ -2079,7 +2079,8 @@
topdp->out = argp;
} else {
/* write to the given file */
- topdp->out = open(msglog, O_WRONLY | O_APPEND);
+ topdp->out = open(msglog, O_WRONLY | O_APPEND | O_CREAT,
+ S_IRUSR | S_IWUSR);
if (topdp->out == -1) {
fprintf(stderr, "unable to open '%s': %s\n",
msglog, strerror(errno));
@@ -2099,7 +2100,8 @@
if (strcmp(msglog, errlog) == 0) {
topdp->err = topdp->out;
} else {
- topdp->err = open(errlog, O_WRONLY | O_APPEND);
+ topdp->err = open(errlog, O_WRONLY | O_APPEND | O_CREAT,
+ S_IRUSR | S_IWUSR);
if (topdp->err == -1) {
fprintf(stderr, "unable to open '%s': %s\n",
errlog, strerror(errno));
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins