diff options
Diffstat (limited to 'winsup/cygwin/cygheap.h')
-rw-r--r-- | winsup/cygwin/cygheap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/cygheap.h b/winsup/cygwin/cygheap.h index 9bba99a65..7a39de627 100644 --- a/winsup/cygwin/cygheap.h +++ b/winsup/cygwin/cygheap.h @@ -211,8 +211,8 @@ public: UNICODE_STRING win32; DWORD drive_length; static muto cwd_lock; - char *get_posix (); - void reset_posix () { if (posix) posix[0] = '\0'; } + const char *get_posix () const { return posix; }; + void reset_posix (wchar_t *); char *get (char *, int = 1, int = 0, unsigned = NT_MAX_PATH); HANDLE get_handle () { return dir; } DWORD get_drive (char * dst) |