r14864 - gnucash/trunk/src/engine - Unfortunately binreloc doesn't have program code for Windows. Will be added later.
Christian Stimming
cstim at cvs.gnucash.org
Mon Sep 18 16:58:01 EDT 2006
Author: cstim
Date: 2006-09-18 16:58:01 -0400 (Mon, 18 Sep 2006)
New Revision: 14864
Trac: http://svn.gnucash.org/trac/changeset/14864
Modified:
gnucash/trunk/src/engine/binreloc.c
Log:
Unfortunately binreloc doesn't have program code for Windows. Will be added later.
Modified: gnucash/trunk/src/engine/binreloc.c
===================================================================
--- gnucash/trunk/src/engine/binreloc.c 2006-09-18 20:49:23 UTC (rev 14863)
+++ gnucash/trunk/src/engine/binreloc.c 2006-09-18 20:58:01 UTC (rev 14864)
@@ -41,6 +41,14 @@
*error = GBR_INIT_ERROR_DISABLED;
return NULL;
#else
+#ifdef _WIN32
+ /* Shoot. I *thought* this program code already included the
+ relocation code for windows. Unfortunately this is not the
+ case :-( */
+ if (error)
+ *error = GBR_INIT_ERROR_DISABLED;
+ return NULL;
+#else
char *path, *path2, *line, *result;
size_t buf_size;
ssize_t size;
@@ -164,6 +172,7 @@
g_free (line);
fclose (f);
return path;
+#endif /* G_OS_WINDOWS */
#endif /* ENABLE_BINRELOC */
}
More information about the gnucash-changes
mailing list