* spawn.cc (find_exec): Fix one more path where retval was not set.
This commit is contained in:
		| @@ -1,3 +1,7 @@ | |||||||
|  | 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> | 2009-07-31  Christopher Faylor  <me+cygwin@cgf.cx> | ||||||
|  |  | ||||||
| 	* spawn.cc (find_exec): Stop relying on the ability to set retval to a | 	* spawn.cc (find_exec): Stop relying on the ability to set retval to a | ||||||
|   | |||||||
| @@ -188,6 +188,7 @@ find_exec (const char *name, path_conv& buf, const char *mywinenv, | |||||||
| 	      *eotmp++ = '/'; | 	      *eotmp++ = '/'; | ||||||
| 	      strcpy (eotmp, name); | 	      strcpy (eotmp, name); | ||||||
| 	    } | 	    } | ||||||
|  | 	  retval = buf.get_win32 (); | ||||||
| 	  goto out; | 	  goto out; | ||||||
| 	} | 	} | ||||||
|     } |     } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user