diff options
author | Christopher Faylor <me@cgf.cx> | 2009-08-01 03:36:44 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2009-08-01 03:36:44 +0000 |
commit | a3a060b596e8939ec171c21d65a46f3aec3d62a8 (patch) | |
tree | 4520c93638419cd5696627e7296b33308c128ccb | |
parent | 5f297dc3307b540bb1d594f719df5730beaedc57 (diff) | |
download | cygnal-a3a060b596e8939ec171c21d65a46f3aec3d62a8.tar.gz cygnal-a3a060b596e8939ec171c21d65a46f3aec3d62a8.tar.bz2 cygnal-a3a060b596e8939ec171c21d65a46f3aec3d62a8.zip |
* spawn.cc (find_exec): Fix one more path where retval was not set.
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/spawn.cc | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index b83909945..92219da0c 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,5 +1,9 @@ 2009-07-31 Christopher Faylor <me+cygwin@cgf.cx> + * spawn.cc (find_exec): Fix one more path where retval was not set. + +2009-07-31 Christopher Faylor <me+cygwin@cgf.cx> + * spawn.cc (find_exec): Stop relying on the ability to set retval to a fixed path_conv buffer and set it on the fly instead. diff --git a/winsup/cygwin/spawn.cc b/winsup/cygwin/spawn.cc index 06bf1e00e..105d1988f 100644 --- a/winsup/cygwin/spawn.cc +++ b/winsup/cygwin/spawn.cc @@ -188,6 +188,7 @@ find_exec (const char *name, path_conv& buf, const char *mywinenv, *eotmp++ = '/'; strcpy (eotmp, name); } + retval = buf.get_win32 (); goto out; } } |