diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 967c83a61..fe2931733 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2005-01-25 Corinna Vinschen + + * path.cc (realpath): Allow to expand with .exe suffix. + 2005-01-22 Christopher Faylor * spawn.cc (spawn_guts): Perform same "cd" as in pinfo::exit below to diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc index f49290ac2..c636fb547 100644 --- a/winsup/cygwin/path.cc +++ b/winsup/cygwin/path.cc @@ -3438,9 +3438,10 @@ cygwin_conv_to_full_posix_path (const char *path, char *posix_path) extern "C" char * realpath (const char *path, char *resolved) { + extern suffix_info stat_suffixes[]; int err; - path_conv real_path (path, PC_SYM_FOLLOW | PC_FULL); + path_conv real_path (path, PC_SYM_FOLLOW | PC_FULL, stat_suffixes); if (real_path.error) err = real_path.error;