version 1.50, 2001/05/29 17:00:54 |
version 1.51, 2001/05/31 13:38:48 |
|
|
goto found; |
goto found; |
/* if we've chdir'd, rebuild the path name */ |
/* if we've chdir'd, rebuild the path name */ |
if (curdir != objdir && *fname != '/') { |
if (curdir != objdir && *fname != '/') { |
(void)sprintf(path, "%s/%s", curdir, fname); |
(void)snprintf(path, sizeof path, "%s/%s", curdir, |
|
fname); |
if ((stream = fopen(path, "r")) != NULL) { |
if ((stream = fopen(path, "r")) != NULL) { |
fname = estrdup(path); |
fname = estrdup(path); |
goto found; |
goto found; |