diff options
author | Christopher Faylor <me@cgf.cx> | 2005-05-13 03:21:39 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-05-13 03:21:39 +0000 |
commit | 66582dd6e7e63a2c179357e61fe2ccd53c83b02b (patch) | |
tree | 835a3aa965c077db8abf82eb3f2978bbfcc8e7d6 /winsup/cygwin/autoload.cc | |
parent | cf55bf5ee88f0c91a9663d92dba3497c99c8d6fd (diff) | |
download | cygnal-66582dd6e7e63a2c179357e61fe2ccd53c83b02b.tar.gz cygnal-66582dd6e7e63a2c179357e61fe2ccd53c83b02b.tar.bz2 cygnal-66582dd6e7e63a2c179357e61fe2ccd53c83b02b.zip |
* cygtls.cc (_cygtls::remove): Eliminate compiler warning.
* dir.cc (mkdir): Check path for writability.
(rmdir): Ditto. Remove check for special directories.
* path.cc (path_conv::check): Set PATH_RO for virtual devices. Set error if
read-only and asked for writability.
* path.h (pathconv_arg): Add PC_WRITABLE.
(path_types): Add PATH_RO.
(path_conv::isro): Add (currently unused) check for read-only filesystem.
Return "ENOSHARE" when we know a share doesn't exist.
* include/sys/mount.h: Add MOUNT_RO flag.
* autoload.cc (WNetGetResourceInformationA): Import.
* fhandler_netdrive.cc (fhandler_netdrive::exists): Detect actual existence of
remote system rather than always assuming that it exists.
Diffstat (limited to 'winsup/cygwin/autoload.cc')
-rw-r--r-- | winsup/cygwin/autoload.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/autoload.cc b/winsup/cygwin/autoload.cc index f264b8608..d2959402d 100644 --- a/winsup/cygwin/autoload.cc +++ b/winsup/cygwin/autoload.cc @@ -557,6 +557,8 @@ LoadDLLfuncEx (waveInStart, 4, winmm, 1) LoadDLLfuncEx (waveInReset, 4, winmm, 1) LoadDLLfuncEx (waveInClose, 4, winmm, 1) +LoadDLLfunc (WNetGetResourceInformationA, 16, mpr) + LoadDLLfuncEx (UuidCreate, 4, rpcrt4, 1) LoadDLLfuncEx (UuidCreateSequential, 4, rpcrt4, 1) } |