1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00
2003-03-13  Ulrich Drepper  <drepper@redhat.com>

	* posix/getconf.c: Recognize POSIX2_SYMLINKS.
	* sysdeps/generic/bits/confname.h: Define _PC_2_SYMLINKS.
	* sysdeps/posix/fpathconf.c: Handle _PC_2_SYMLINKS.
	* sysdeps/posix/pathconf.c: Likewise.
	* sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
	* sysdeps/unix/sysv/linux/pathconf.c: Likewise.
	* sysdeps/unix/sysv/linux/pathconf.h: Define statfs_symlinks.

	* sysdeps/unix/sysv/linux/linux_fsinfo.h: Define some more magic
	words.
This commit is contained in:
Ulrich Drepper
2003-03-14 06:28:45 +00:00
parent 59b28a2e4b
commit 564cd8b67e
12 changed files with 108 additions and 12 deletions

View File

@ -1,4 +1,5 @@
/* Copyright (C) 1991,1995,1996,1998,2000,2001 Free Software Foundation, Inc.
/* Copyright (C) 1991,1995,1996,1998,2000,2001,2003
Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@ -225,6 +226,10 @@ __pathconf (const char *path, int name)
/* In general there are no limits. If a system has one it should
overwrite this case. */
return -1;
case _PC_2_SYMLINKS:
/* Unix systems generally have symlinks. */
return 1;
}
}