diff options
author | Bruno Haible <bruno@clisp.org> | 2004-04-28 11:26:25 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2004-04-28 11:26:25 +0000 |
commit | dc76e6e4a571b134102aa89a6b500478fb49a73a (patch) | |
tree | 8105b7109ca9b79c31c7fdb0faf5cb5d5c079a2a /lib/findprog.c | |
parent | 14deb094f0122ee89ebbfd4dfcf4e9db6a5357a4 (diff) | |
download | gnulib-dc76e6e4a571b134102aa89a6b500478fb49a73a.tar.gz |
Treat Cygwin like Windows regarding pathname syntax.
Diffstat (limited to 'lib/findprog.c')
-rw-r--r-- | lib/findprog.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/findprog.c b/lib/findprog.c index 48c3edf6c5..469acfd2e4 100644 --- a/lib/findprog.c +++ b/lib/findprog.c @@ -1,5 +1,5 @@ /* Locating a program in PATH. - Copyright (C) 2001-2003 Free Software Foundation, Inc. + Copyright (C) 2001-2004 Free Software Foundation, Inc. Written by Bruno Haible <haible@clisp.cons.org>, 2001. This program is free software; you can redistribute it and/or modify @@ -39,8 +39,8 @@ const char * find_in_path (const char *progname) { -#if defined _WIN32 || defined __WIN32__ || defined __EMX__ || defined __DJGPP__ - /* Win32, OS/2, DOS */ +#if defined _WIN32 || defined __WIN32__ || defined __CYGWIN__ || defined __EMX__ || defined __DJGPP__ + /* Win32, Cygwin, OS/2, DOS */ /* The searching rules with .COM, .EXE, .BAT, .CMD etc. suffixes are too complicated. Leave it to the OS. */ return progname; |