summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2013-06-22 16:16:56 +0300
committerEli Zaretskii <eliz@gnu.org>2013-06-22 16:16:56 +0300
commit5b65c5b916e458e5eed3c74f038dd11c008fdfd8 (patch)
tree9b6704597ca3d61b04cae5e36d4f0e9c0182ba13 /misc.c
parentcc85b927cdc1a4dad3217842215903a45044fc43 (diff)
downloadgunmake-5b65c5b916e458e5eed3c74f038dd11c008fdfd8.tar.gz
Fix a fatal error at startup on Windows due to non-ASCII characters in PATH.
main.c (find_and_set_default_shell): Don't use file_exists_p or dir_file_exists_p, as those call readdir, which can fail if PATH includes directories with non-ASCII characters, and that would cause Make to fail at startup with confusing diagnostics. See https://sourceforge.net/mailarchive/message.php?msg_id=30846737 for the details.
Diffstat (limited to 'misc.c')
0 files changed, 0 insertions, 0 deletions