* path.h (path_conv::set_path): Change return value.

* spawn.cc (path_conv::set_path): Return newly set value.
(find_exec): Set retval to newly set value when calling set_path.
This commit is contained in:
Christopher Faylor
2009-08-01 17:55:58 +00:00
parent a3a060b596
commit 8cc84a8ce3
3 changed files with 11 additions and 5 deletions

View File

@ -232,7 +232,7 @@ class path_conv
bool fs_is_cdrom () const {return fs.is_cdrom ();}
bool fs_is_mvfs () const {return fs.is_mvfs ();}
ULONG fs_serial_number () const {return fs.serial_number ();}
inline void set_path (const char *p);
inline char *set_path (const char *p);
void fillin (HANDLE h);
bool is_binary ();