Rev 5191 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5191 | Rev 5199 | ||
---|---|---|---|
Line 241... | Line 241... | ||
241 | of the directories specified in the PATH environment variable. */ |
241 | of the directories specified in the PATH environment variable. */ |
242 | if (lbasename (progname) == progname) |
242 | if (lbasename (progname) == progname) |
243 | { |
243 | { |
244 | char *temp; |
244 | char *temp; |
Line -... | Line 245... | ||
- | 245 | ||
245 | 246 | #if 0 |
|
- | 247 | temp = getenv ("PATH"); |
|
246 | temp = getenv ("PATH"); |
248 | |
247 | if (temp) |
249 | if (temp) |
248 | { |
250 | { |
249 | char *startp, *endp, *nstore; |
251 | char *startp, *endp, *nstore; |
250 | size_t prefixlen = strlen (temp) + 1; |
252 | size_t prefixlen = strlen (temp) + 1; |
Line 303... | Line 305... | ||
303 | } |
305 | } |
304 | else |
306 | else |
305 | endp++; |
307 | endp++; |
306 | } |
308 | } |
307 | } |
309 | } |
- | 310 | #endif |
|
- | 311 | ||
308 | } |
312 | } |
Line 309... | Line 313... | ||
309 | 313 | ||
310 | if (resolve_links) |
314 | if (resolve_links) |
311 | full_progname = lrealpath (progname); |
315 | full_progname = lrealpath (progname); |