1998-03-25 09:15:10 -05:00
|
|
|
--- src/bind.c.orig Sun Nov 19 03:09:20 1995
|
|
|
|
+++ src/bind.c Wed Mar 25 15:00:37 1998
|
|
|
|
@@ -634,7 +634,8 @@
|
|
|
|
register char *sp; /* pointer into path spec */
|
|
|
|
register int i; /* index */
|
|
|
|
static char fspec[NFILEN]; /* full path spec to search */
|
|
|
|
-
|
|
|
|
+ char patha[NFILEN];
|
|
|
|
+
|
|
|
|
/* if we have an absolute path.. check only there! */
|
|
|
|
sp = fname;
|
|
|
|
while (*sp) {
|
|
|
|
@@ -689,9 +690,11 @@
|
|
|
|
#if OS2
|
|
|
|
path = getenv("DPATH");
|
|
|
|
#else
|
|
|
|
- path = getenv("PATH");
|
|
|
|
+ strncpy(patha, getenv("PATH"), NFILEN - 25);
|
1999-10-07 02:49:02 -04:00
|
|
|
+ strcat(patha, ":%%PREFIX%%/share/uemacs");
|
1998-03-25 09:15:10 -05:00
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
+ path = patha;
|
|
|
|
if (path != NULL)
|
|
|
|
while (*path) {
|
|
|
|
|