diff options
Diffstat (limited to 'sysdeps/posix/fpathconf.c')
-rw-r--r-- | sysdeps/posix/fpathconf.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sysdeps/posix/fpathconf.c b/sysdeps/posix/fpathconf.c index 642bedaa0c..605cd171d0 100644 --- a/sysdeps/posix/fpathconf.c +++ b/sysdeps/posix/fpathconf.c @@ -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 @@ -229,6 +230,10 @@ __fpathconf (fd, 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; } } |