diff options
author | Christopher Faylor <me@cgf.cx> | 2009-08-01 21:55:58 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2009-08-01 21:55:58 +0400 |
commit | 8cc84a8ce35aa56528f24532e8a1095199f80c11 (patch) | |
tree | c88392404575b2f961815b7b9787194bc2093c4a /winsup/cygwin/path.h | |
parent | a3a060b596e8939ec171c21d65a46f3aec3d62a8 (diff) |
* 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.
Diffstat (limited to 'winsup/cygwin/path.h')
-rw-r--r-- | winsup/cygwin/path.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h index 8216d24ea..98bec6fa8 100644 --- a/winsup/cygwin/path.h +++ b/winsup/cygwin/path.h @@ -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 (); |