From 9ecd475cd871bd06b930849b05f5c773d4a7e5ce Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 24 Apr 2013 10:16:13 +0000 Subject: * autoload.cc (CreateSymbolicLink): Define. * environ.cc (set_winsymlinks): Set allow_winsymlinks. (parse_thing): Change "winsymlinks" to set by function. * globals.cc (enum winsym_t): Define. (allow_winsymlinks): Define as winsym_t. (ro_u_afs): New R/O Unicode string. * mount.cc (fs_info::update): Fix comment. Handle AFS. (fs_names): Add "afs". * mount.h (enum fs_info_type): Add afs. (class fs_info): Implement afs. * path.cc (symlink): Drop third parameter in call to symlink_worker. (symlink_nfs): New function. (symlink_native): New function. (symlink_worker): Drop third argument. Handle native symlink type by calling symlink_native. Move code to handle NFS to symlink_nfs. Fix formatting. Slightly restructure code. * path.h (class path_conv): Add fs_is_afs method. (symlink_worker): Declare here. * security.h: Define privilege constants as unsigned int instead of as unsigned long. * syscalls.cc (mknod_worker): Set third parameter in symlink_worker call to WSYM_lnk. * winsup.h (symlink_worker): Drop declaration here. --- winsup/cygwin/mount.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'winsup/cygwin/mount.h') diff --git a/winsup/cygwin/mount.h b/winsup/cygwin/mount.h index 74f108c7d..203bfff33 100644 --- a/winsup/cygwin/mount.h +++ b/winsup/cygwin/mount.h @@ -44,6 +44,7 @@ enum fs_info_type cifs, nwfs, ncfsd, + afs, /* Always last. */ max_fs_type }; @@ -114,6 +115,7 @@ class fs_info IMPLEMENT_FS_FLAG (cifs) IMPLEMENT_FS_FLAG (nwfs) IMPLEMENT_FS_FLAG (ncfsd) + IMPLEMENT_FS_FLAG (afs) fs_info_type what_fs () const { return status.fs_type; } bool got_fs () const { return status.fs_type != none; } -- cgit v1.2.3