* path.cc (path_conv::check): Don't complain if /dev/x/foo when x doesn't

exist.
(mount_info::conv_to_win32_path): Keep translating when a /cygdrive is found.
Don't attempt to translate to a device name when devn == FH_CYGDRIVE.
(cygwin_conv_to_win32_path): Set buffer to empty on error.
(cygwin_conv_to_full_win32_path): Ditto.
* window.cc: Include unistd.h to verify definitions.
This commit is contained in:
Christopher Faylor
2001-12-06 22:36:08 +00:00
parent 9acc7b9b3d
commit a0c1938145
3 changed files with 28 additions and 11 deletions

View File

@@ -18,6 +18,7 @@ details. */
#include <limits.h>
#include <wingdi.h>
#include <winuser.h>
#include <unistd.h>
#include "cygerrno.h"
#include "perprocess.h"
#include "security.h"