r20380 - gnucash/trunk/src/libqof/qof - Bug #521817 - Guid_init causes very long startup delay if Novell
Geert Janssens
gjanssens at code.gnucash.org
Mon Mar 7 13:42:16 EST 2011
Author: gjanssens
Date: 2011-03-07 13:42:16 -0500 (Mon, 07 Mar 2011)
New Revision: 20380
Trac: http://svn.gnucash.org/trac/changeset/20380
Modified:
gnucash/trunk/src/libqof/qof/guid.c
Log:
Bug #521817 - Guid_init causes very long startup delay if Novell
Network active
P_tmpdir is set to "\" by mingw. The way P_tmpdir is used by
GnuCash, this seems to trigger unwanted network activity. So on
Windows, I'm replacing it with "C:/temp" for now, based on suggestions
found on the internet regarding this issue.
Modified: gnucash/trunk/src/libqof/qof/guid.c
===================================================================
--- gnucash/trunk/src/libqof/qof/guid.c 2011-03-06 20:22:54 UTC (rev 20379)
+++ gnucash/trunk/src/libqof/qof/guid.c 2011-03-07 18:42:16 UTC (rev 20380)
@@ -400,7 +400,11 @@
const char * dirs[] =
{
"/proc",
+#ifndef G_OS_WIN32
P_tmpdir,
+#else
+ "c:/temp",
+#endif
"/var/lock",
"/var/log",
"/var/mail",
More information about the gnucash-changes
mailing list