* path.cc (realpath): Allow to expand with .exe suffix.
This commit is contained in:
parent
5ba446e779
commit
17923424c4
@ -1,3 +1,7 @@
|
|||||||
|
2005-01-25 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* path.cc (realpath): Allow to expand with .exe suffix.
|
||||||
|
|
||||||
2005-01-22 Christopher Faylor <cgf@timesys.com>
|
2005-01-22 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
* spawn.cc (spawn_guts): Perform same "cd" as in pinfo::exit below to
|
* spawn.cc (spawn_guts): Perform same "cd" as in pinfo::exit below to
|
||||||
|
@ -3438,9 +3438,10 @@ cygwin_conv_to_full_posix_path (const char *path, char *posix_path)
|
|||||||
extern "C" char *
|
extern "C" char *
|
||||||
realpath (const char *path, char *resolved)
|
realpath (const char *path, char *resolved)
|
||||||
{
|
{
|
||||||
|
extern suffix_info stat_suffixes[];
|
||||||
int err;
|
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)
|
if (real_path.error)
|
||||||
err = real_path.error;
|
err = real_path.error;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user