Skip to content

Commit

Permalink
Revert "Config files, like _lesskey, are determined at homefile(...),…
Browse files Browse the repository at this point in the history
… and on windows, after trying $HOME and $HOMEDRIVE$HOMEPATH, it could fallback to using _searchenv, which first searches CWD and then in $PATH."

This reverts commit 1ca819b.
  • Loading branch information
gwsw committed Jul 24, 2024
1 parent 1ca819b commit 91fbc10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filename.c
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ public char * homefile(constant char *filename)
if (pathname != NULL)
return (pathname);
#endif
#if (MSDOS_COMPILER && MSDOS_COMPILER!=WIN32C) || OS2
#if MSDOS_COMPILER || OS2
/* Look for the file anywhere on search path. */
pathname = (char *) ecalloc(_MAX_PATH, sizeof(char));
#if MSDOS_COMPILER==DJGPPC
Expand Down

0 comments on commit 91fbc10

Please sign in to comment.