- new
authorAdam Gołębiowski <adamg@pld-linux.org>
Sat, 9 Apr 2005 22:26:39 +0000 (22:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    freecnc-paths.patch -> 1.1

freecnc-paths.patch [new file with mode: 0644]

diff --git a/freecnc-paths.patch b/freecnc-paths.patch
new file mode 100644 (file)
index 0000000..41f96b6
--- /dev/null
@@ -0,0 +1,26 @@
+--- freecnc-20050409/src/vfs/vfs.cpp~  2005-03-26 00:49:21.000000000 +0100
++++ freecnc-20050409/src/vfs/vfs.cpp   2005-04-09 23:26:39.000000000 +0200
+@@ -48,7 +48,11 @@
+     externals->loadArchive(tempstr.c_str());
+ #if defined _WIN32
+ #else
+-    externals->loadArchive("/etc/freecnc/");
++    char f[1024];
++    sprintf(f, "%s/.freecnc/", getenv("HOME_ETC") ? getenv("HOME_ETC") : getenv("HOME"));
++    externals->loadArchive(f);
++    externals->loadArchive("/etc/");
++    externals->loadArchive("/usr/share/freecnc/");
+ #endif
+     try {
+--- freecnc-20050409/src/freecnc.cpp~  2005-03-26 00:49:18.000000000 +0100
++++ freecnc-20050409/src/freecnc.cpp   2005-04-09 23:35:21.000000000 +0200
+@@ -67,7 +67,7 @@
+     }
+     const string& binpath = determineBinaryLocation(argv[0]);
+-    string lf(binpath);
++    string lf("/tmp");
+     lf += "/freecnc.log";
+     VFS_PreInit(binpath.c_str());
This page took 0.084349 seconds and 4 git commands to generate.