]>
Commit | Line | Data |
---|---|---|
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, "/"); |