r18837 - gnucash/trunk/src/libqof/qof - Change the definition of QOF_STDOUT

Geert Janssens gjanssens at code.gnucash.org
Fri Mar 5 14:55:20 EST 2010


Author: gjanssens
Date: 2010-03-05 14:55:20 -0500 (Fri, 05 Mar 2010)
New Revision: 18837
Trac: http://svn.gnucash.org/trac/changeset/18837

Modified:
   gnucash/trunk/src/libqof/qof/qofsession.h
Log:
Change the definition of QOF_STDOUT
The old definition file: conflicts with normal uris that can
start with file: as well.
I have chosen > instead, which is never a valid filename and
on unixlike systems associated with standard out operations.

Modified: gnucash/trunk/src/libqof/qof/qofsession.h
===================================================================
--- gnucash/trunk/src/libqof/qof/qofsession.h	2010-03-05 17:57:08 UTC (rev 18836)
+++ gnucash/trunk/src/libqof/qof/qofsession.h	2010-03-05 19:55:20 UTC (rev 18837)
@@ -398,7 +398,7 @@
 Currently, only the QSF backend supports writing to stdout, other
 backends may return a ::QofBackendError.
 */
-#define QOF_STDOUT "file:"
+#define QOF_STDOUT ">"
 
 /** @name Event Handling
 



More information about the gnucash-changes mailing list