summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/path.h
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2009-08-01 17:55:58 +0000
committerChristopher Faylor <me@cgf.cx>2009-08-01 17:55:58 +0000
commit8cc84a8ce35aa56528f24532e8a1095199f80c11 (patch)
treec88392404575b2f961815b7b9787194bc2093c4a /winsup/cygwin/path.h
parenta3a060b596e8939ec171c21d65a46f3aec3d62a8 (diff)
downloadcygnal-8cc84a8ce35aa56528f24532e8a1095199f80c11.tar.gz
cygnal-8cc84a8ce35aa56528f24532e8a1095199f80c11.tar.bz2
cygnal-8cc84a8ce35aa56528f24532e8a1095199f80c11.zip
* 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.h2
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 ();