diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2006-11-07 17:59:54 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2006-11-07 17:59:54 +0000 |
commit | 86bc8fadff6523470b68b9838fe7af2e55f3b5a3 (patch) | |
tree | de07bfefd0e7e3edcdc284d5670fc40a5f674d88 /winsup/cygwin/path.h | |
parent | b1755fe736898400c88fa030a9667b576fa7e88c (diff) | |
download | newlib-86bc8fadff6523470b68b9838fe7af2e55f3b5a3.zip newlib-86bc8fadff6523470b68b9838fe7af2e55f3b5a3.tar.gz newlib-86bc8fadff6523470b68b9838fe7af2e55f3b5a3.tar.bz2 |
* fhandler.cc (check_posix_perm): Moved here from syscalls.cc.
(fhandler_base::fpathconf): New method implementing (f)pathconf.
* fhandler.h (class fhandler_base): Declare fpathconf method.
* path.cc (path_conv::check): Replace MAX_LINK_DEPTH with SYMLOOP_MAX.
* path.h (MAX_LINK_DEPTH): Delete.
* syscalls.cc (check_posix_perm): Move to fhandler.cc.
(fpathconf): Call fhandler's fpathconf method.
(pathconf): Build fhandler and call fhandler's fpathconf method.
* sysconf.cc (sysconf): Reorder switch according to order of flags
in sys/unistd.h. Add handling for some missing flags.
* include/limits.h: Reorder according to SUSv3 description. Add some
missing definitions. Add comments.
* include/sys/syslimits.h: New file overriding newlib's syslimits.h
file.
Diffstat (limited to 'winsup/cygwin/path.h')
-rw-r--r-- | winsup/cygwin/path.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h index 0b2decc..f50d27d 100644 --- a/winsup/cygwin/path.h +++ b/winsup/cygwin/path.h @@ -272,8 +272,6 @@ class path_conv /* Socket marker */ #define SOCKET_COOKIE "!<socket >" -/* Maximum depth of symlinks (after which ELOOP is issued). */ -#define MAX_LINK_DEPTH 10 int __stdcall slash_unc_prefix_p (const char *path) __attribute__ ((regparm(1))); enum fe_types |