ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/misc.C
(Generate patch)

Comparing rxvt-unicode/src/misc.C (file contents):
Revision 1.31 by root, Fri Jan 6 20:50:58 2006 UTC vs.
Revision 1.32 by root, Wed Jan 11 00:59:58 2006 UTC

525 char *f; 525 char *f;
526 526
527 if (file == NULL || *file == '\0') 527 if (file == NULL || *file == '\0')
528 return NULL; 528 return NULL;
529 529
530 /* search environment variables here too */
531 if ((f = rxvt_File_search_path (path, file, ext)) == NULL) 530 f = rxvt_File_search_path (path, file, ext);
532#ifdef PATH_ENV
533 if ((f = rxvt_File_search_path (getenv (PATH_ENV), file, ext)) == NULL)
534#endif
535 f = rxvt_File_search_path (getenv ("PATH"), file, ext);
536 531
537#ifdef DEBUG_SEARCH_PATH 532#ifdef DEBUG_SEARCH_PATH
538 if (f) 533 if (f)
539 fprintf (stderr, "found: \"%s\"\n", f); 534 fprintf (stderr, "found: \"%s\"\n", f);
540#endif 535#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines