]> git.pld-linux.org Git - packages/grace.git/blame - grace-etc.patch
- added ac+tirpc patch (autoconf fix + tirpc support)
[packages/grace.git] / grace-etc.patch
CommitLineData
2cde5993
JB
1--- grace-5.1.2/src/files.c.orig Thu Jun 22 23:48:54 2000
2+++ grace-5.1.2/src/files.c Sat Mar 17 22:40:19 2001
3@@ -690,6 +690,14 @@
4 return buf;
5 }
6
7+ if (strstr(fn, "gracerc") != NULL) {
8+ strcpy(buf, "/etc/grace/");
9+ strcat(buf, fn);
10+ if (stat(buf, &statb) == 0) {
11+ return buf;
12+ }
13+ }
14+
15 /* the last attempt: in $GRACE_HOME */
16 strcpy(buf, get_grace_home());
17 strcat(buf, "/");
This page took 0.10625 seconds and 4 git commands to generate.