diff options
Diffstat (limited to 'sysdeps/posix/pathconf.c')
-rw-r--r-- | sysdeps/posix/pathconf.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sysdeps/posix/pathconf.c b/sysdeps/posix/pathconf.c index fe2ac8d905..2032afe208 100644 --- a/sysdeps/posix/pathconf.c +++ b/sysdeps/posix/pathconf.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1995, 1996 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995, 1996, 1998 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 @@ -144,7 +144,16 @@ __pathconf (const char *path, int name) #else return -1; #endif + + case _PC_FILESIZEBITS: +#ifdef FILESIZEBITS + return FILESIZEBITS; +#else + /* We let platforms with larger file sizes overwrite this value. */ + return 32; +#endif } } +#undef __pathconf weak_alias (__pathconf, pathconf) |