OSDN Git Service

* spawn.cc (find_exec): Fix one more path where retval was not set.
authorcgf <cgf>
Sat, 1 Aug 2009 03:36:43 +0000 (03:36 +0000)
committercgf <cgf>
Sat, 1 Aug 2009 03:36:43 +0000 (03:36 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/spawn.cc

index b839099..92219da 100644 (file)
@@ -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.
 
index 06bf1e0..105d198 100644 (file)
@@ -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;
        }
     }