aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-09-04 16:19:05 +0000
committerUlrich Drepper <drepper@redhat.com>2003-09-04 16:19:05 +0000
commit966f66bbbf546a0fd2b49c6036585ef55d452fc5 (patch)
tree12ab08405fb4087d30b632151a4b6c751405309f
parent17f83e56d0d54b3e36912d5ba1795624497d2559 (diff)
downloadglibc-966f66bbbf546a0fd2b49c6036585ef55d452fc5.zip
glibc-966f66bbbf546a0fd2b49c6036585ef55d452fc5.tar.gz
glibc-966f66bbbf546a0fd2b49c6036585ef55d452fc5.tar.bz2
Update.
* posix/unistd.h: Add back __THROW to sysconf, pathconf, fpathconf. over the place. It would be allowed to have these functions as
-rw-r--r--ChangeLog4
-rw-r--r--posix/unistd.h6
2 files changed, 6 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index bc25c68..13f55ee 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2003-09-04 Ulrich Drepper <drepper@redhat.com>
+ * posix/unistd.h: Add back __THROW to sysconf, pathconf, fpathconf.
+
* sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
Report correct value for vxfs.
* sysdeps/unix/sysv/linux/linux_fsinfo.h: Dfeine VXFS_SUPER_MAGIC.
@@ -8,7 +10,7 @@
data.
* sysdeps/generic/utmp_file.c: Use not-cancelable syscalls all
- over the place. It would be allowed to have these fucntions as
+ over the place. It would be allowed to have these functions as
cancellation points but the cleanup would be ugly and a lot of
work.
diff --git a/posix/unistd.h b/posix/unistd.h
index 15a75fa..13569ae 100644
--- a/posix/unistd.h
+++ b/posix/unistd.h
@@ -525,13 +525,13 @@ extern void _exit (int __status) __attribute__ ((__noreturn__));
#include <bits/confname.h>
/* Get file-specific configuration information about PATH. */
-extern long int pathconf (__const char *__path, int __name);
+extern long int pathconf (__const char *__path, int __name) __THROW;
/* Get file-specific configuration about descriptor FD. */
-extern long int fpathconf (int __fd, int __name);
+extern long int fpathconf (int __fd, int __name) __THROW;
/* Get the value of the system variable NAME. */
-extern long int sysconf (int __name) __attribute__ ((__const__));
+extern long int sysconf (int __name) __THROW __attribute__ ((__const__));
#ifdef __USE_POSIX2
/* Get the value of the string-valued system variable NAME. */