diff options
| author | Roland McGrath <roland@gnu.org> | 1996-04-24 00:58:47 +0000 |
|---|---|---|
| committer | Roland McGrath <roland@gnu.org> | 1996-04-24 00:58:47 +0000 |
| commit | 9a8c0d4f41ebee0829fb4cf137c3c294cf88675b (patch) | |
| tree | 1e231a79481fd1035c7eb2fc097014fbe4c79ed2 | |
| parent | b0d20a87b5f0ba27496abcb6a4f9ad99fd412303 (diff) | |
| download | glibc-9a8c0d4f41ebee0829fb4cf137c3c294cf88675b.tar.xz glibc-9a8c0d4f41ebee0829fb4cf137c3c294cf88675b.zip | |
Tue Apr 23 15:56:56 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* config.h.in (HAVE_REGEX): New macro.
* sysdeps/unix/syscalls.list: Add statfs, fstatfs.
* io/Makefile (headers): Add sys/statfs.h, statfsbuf.h.
(routines): Add statfs, fstatfs.
* sysdeps/mach/hurd/statfs.c: New file.
* sysdeps/mach/hurd/fstatfs.c: New file.
* sysdeps/stub/fstatfs.c: New file.
* sysdeps/stub/statfs.c: New file.
* io/sys/statfs.h: New file.
* sysdeps/generic/statfsbuf.h: New file.
* sysdeps/unix/sysv/linux/statfsbuf.h: New file.
Tue Apr 23 00:06:47 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* malloc/Makefile (gmalloc-routines): Add valloc back here.
(dist-routines): Remove it here.
* malloc/valloc.c [_MALLOC_INTERNAL && GMALLOC_INHIBIT_VALLOC]
(ELIDE_VALLOC): Define it.
[! ELIDE_VALLOC]: Make whole file conditional on this.
* malloc/malloc.h (valloc): Make decl conditional on
[!GMALLOC_INHIBIT_VALLOC] instead of [!emacs].
Mon Apr 22 00:02:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* MakeTAGS: Include version.mk.
(po/SYS_libc.pot): Add missing / in sed s cmd.
| -rw-r--r-- | ChangeLog | 30 | ||||
| -rw-r--r-- | MakeTAGS | 5 | ||||
| -rw-r--r-- | config.h.in | 4 | ||||
| -rw-r--r-- | io/Makefile | 3 | ||||
| -rw-r--r-- | io/sys/statfs.h | 41 | ||||
| -rw-r--r-- | po/SYS_libc.pot | 850 | ||||
| -rw-r--r-- | sysdeps/generic/statfsbuf.h | 49 | ||||
| -rw-r--r-- | sysdeps/mach/hurd/fstatfs.c | 38 | ||||
| -rw-r--r-- | sysdeps/mach/hurd/statfs.c | 42 | ||||
| -rw-r--r-- | sysdeps/stub/fstatfs.c | 34 | ||||
| -rw-r--r-- | sysdeps/stub/statfs.c | 34 | ||||
| -rw-r--r-- | sysdeps/unix/syscalls.list | 2 | ||||
| -rw-r--r-- | sysdeps/unix/sysv/linux/statfsbuf.h | 1 |
13 files changed, 858 insertions, 275 deletions
@@ -1,3 +1,33 @@ +Tue Apr 23 15:56:56 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + + * config.h.in (HAVE_REGEX): New macro. + + * sysdeps/unix/syscalls.list: Add statfs, fstatfs. + * io/Makefile (headers): Add sys/statfs.h, statfsbuf.h. + (routines): Add statfs, fstatfs. + * sysdeps/mach/hurd/statfs.c: New file. + * sysdeps/mach/hurd/fstatfs.c: New file. + * sysdeps/stub/fstatfs.c: New file. + * sysdeps/stub/statfs.c: New file. + * io/sys/statfs.h: New file. + * sysdeps/generic/statfsbuf.h: New file. + * sysdeps/unix/sysv/linux/statfsbuf.h: New file. + +Tue Apr 23 00:06:47 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + + * malloc/Makefile (gmalloc-routines): Add valloc back here. + (dist-routines): Remove it here. + * malloc/valloc.c [_MALLOC_INTERNAL && GMALLOC_INHIBIT_VALLOC] + (ELIDE_VALLOC): Define it. + [! ELIDE_VALLOC]: Make whole file conditional on this. + * malloc/malloc.h (valloc): Make decl conditional on + [!GMALLOC_INHIBIT_VALLOC] instead of [!emacs]. + +Mon Apr 22 00:02:19 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> + + * MakeTAGS: Include version.mk. + (po/SYS_libc.pot): Add missing / in sed s cmd. + Sat Apr 20 18:13:00 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> * Makerules (no-whole-archive): Test $(have-no-whole-archive), not @@ -162,10 +162,13 @@ $P/subdirs.pot: $(subdirs:%=$P/%.pot) do sed "s%^#: %&$$d/%" $P/$$d.pot; done) > $@.new mv -f $@.new $@ +# Get $(version) defined. +include $(common-objpfx)version.mk + # Combine all the messages into the final sorted template translation file. $P/SYS_libc.pot: $(all-pot) @rm -f $@.new - sed -e 's/VERSION/$(version)/' -e "s/DATE/`date +'%Y-%m-%d %k:%M'`" \ + sed -e 's/VERSION/$(version)/' -e "s/DATE/`date +'%Y-%m-%d %k:%M'`/" \ po/header.pot > $@.new $(XGETTEXT) -d - -n -s --omit-header $^ >> $@.new mv -f $@.new $@ diff --git a/config.h.in b/config.h.in index 35d865b24c..a02094a599 100644 --- a/config.h.in +++ b/config.h.in @@ -71,4 +71,8 @@ #define HAVE_STRERROR 1 +/* The locale code needs these definitions. */ + +#define HAVE_REGEX 1 + #endif diff --git a/io/Makefile b/io/Makefile index 564b96a6f4..691ac03041 100644 --- a/io/Makefile +++ b/io/Makefile @@ -21,7 +21,7 @@ # subdir := io -headers := sys/stat.h statbuf.h \ +headers := sys/stat.h statbuf.h sys/statfs.h statfsbuf.h \ fcntl.h sys/fcntl.h fcntlbits.h \ poll.h sys/poll.h \ utime.h ftw.h fts.h @@ -31,6 +31,7 @@ routines := \ mkfifo \ stat fstat lstat mknod \ xstat fxstat lxstat xmknod \ + statfs fstatfs \ umask chmod fchmod mkdir \ open close read write lseek access euidaccess \ fcntl flock lockf \ diff --git a/io/sys/statfs.h b/io/sys/statfs.h new file mode 100644 index 0000000000..84ff1f9188 --- /dev/null +++ b/io/sys/statfs.h @@ -0,0 +1,41 @@ +/* Definitions for getting information about a filesystem. +Copyright (C) 1996 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 +modify it under the terms of the GNU Library General Public License as +published by the Free Software Foundation; either version 2 of the +License, or (at your option) any later version. + +The GNU C Library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public +License along with the GNU C Library; see the file COPYING.LIB. If +not, write to the Free Software Foundation, Inc., 675 Mass Ave, +Cambridge, MA 02139, USA. */ + +#ifndef _SYS_STATFS_H + +#define _SYS_STATFS_H 1 +#include <features.h> + +/* Get the system-specific definition of `struct statfs'. */ +#include <statfsbuf.h> + +__BEGIN_DECLS + +/* Return information about the filesystem on which FILE resides. */ +extern int __statfs __P ((__const char *__file, struct statfs *__buf)); +extern int statfs __P ((__const char *__file, struct statfs *__buf)); + +/* Return information about the filesystem containing the file FILDES + refers to. */ +extern int __fstatfs __P ((int __fildes, struct statfs *__buf)); +extern int fstatfs __P ((int __fildes, struct statfs *__buf)); + +__END_DECLS + +#endif /* sys/statfs.h */ diff --git a/po/SYS_libc.pot b/po/SYS_libc.pot index b99589d214..02cf7f1bf2 100644 --- a/po/SYS_libc.pot +++ b/po/SYS_libc.pot @@ -1,826 +1,1130 @@ -msgid "%s%s%s:%u: %s%sAssertion `%s' failed.\n" -msgstr "" - -msgid "%s%s%s:%u: %s%sUnexpected error: %s.\n" -msgstr "" - +# GNU libc message catalog of translations +# Copyright (C) 1996 Free Software Foundation, Inc. +# Automatically generated; contact <bug-glibc@prep.ai.mit.edu> +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: libc \n" +"PO-Revision-Date: 1996-04-22 0:05\n" +"Last-Translator: GNU libc maintainers <bug-glibc@prep.ai.mit.edu>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8-bit\n" +#: sunrpc/rpc_main.c:80 #, c-format -msgid "%s%sUnknown signal %d\n" -msgstr "" - -msgid "block freed twice" -msgstr "" - -msgid "bogus mcheck_status, library is buggy" -msgstr "" - -msgid "memory clobbered before allocated block" +msgid " %s [-c | -h | -l | -m] [-o outfile] [infile]\n" msgstr "" -msgid "memory clobbered past end of allocated block" +#: sunrpc/rpc_main.c:83 +#, c-format +msgid " %s [-s udp|tcp]* [-o outfile] [infile]\n" msgstr "" -msgid "memory is consistent, library is buggy" +#: assert/assert.c:48 +#, c-format +msgid "%s%s%s:%u: %s%sAssertion `%s' failed.\n" msgstr "" -msgid "Error in unknown error system: " +#: assert/assert-perr.c:46 +#, c-format +msgid "%s%s%s:%u: %s%sUnexpected error: %s.\n" msgstr "" -msgid "Unknown error " +#: stdio-common/psignal.c:48 +#, c-format +msgid "%s%sUnknown signal %d\n" msgstr "" +#: sunrpc/rpc_util.c:258 #, c-format -msgid "Unknown signal %d" +msgid "%s, line %d: " msgstr "" +#: posix/getopt.c:673 #, c-format msgid "%s: illegal option -- %c\n" msgstr "" +#: posix/getopt.c:676 #, c-format msgid "%s: invalid option -- %c\n" msgstr "" +#: posix/getopt.c:597 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "" +#: posix/getopt.c:568 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "" +#: posix/getopt.c:614 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "" +#: posix/getopt.c:592 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "" +#: posix/getopt.c:712 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "" +#: sunrpc/rpc_main.c:146 +#, c-format +msgid "%s: output would overwrite %s\n" +msgstr "" + +#: sunrpc/rpc_main.c:152 +#, c-format +msgid "%s: unable to open " +msgstr "" + +#: posix/getopt.c:647 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "" +#: posix/getopt.c:643 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "" -msgid "Invalid back reference" +#: sunrpc/clnt_perr.c:125 +#, c-format +msgid "(unknown authentication error - %d)" msgstr "" -msgid "Invalid character class name" +#: inet/rcmd.c:325 +msgid ".rhosts fstat failed" msgstr "" -msgid "Invalid collation character" +#: inet/rcmd.c:321 +msgid ".rhosts lstat failed" msgstr "" -msgid "Invalid content of \\{\\}" +#: inet/rcmd.c:323 +msgid ".rhosts not regular file" msgstr "" -msgid "Invalid preceding regular expression" +#: inet/rcmd.c:329 +msgid ".rhosts writeable by other than owner" msgstr "" -msgid "Invalid range end" +#: clnt_perr.c:133 sunrpc/clnt_perr.c:112 +#, c-format +msgid "; low version = %lu, high version = %lu" msgstr "" -msgid "Invalid regular expression" +#: sunrpc/clnt_perr.c:119 +msgid "; why = " msgstr "" -msgid "Memory exhausted" +#: sysdeps/mach/hurd/errlist.c:112 +msgid "?" msgstr "" -msgid "No match" +#: sysdeps/mach/hurd/errlist.c:58 +msgid "Address already in use" msgstr "" -msgid "No previous regular expression" +#: sysdeps/mach/hurd/errlist.c:57 +msgid "Address family not supported by protocol family" msgstr "" -msgid "Premature end of regular expression" +#: i486-linux/siglist.c:22 +msgid "Alarm clock" msgstr "" -msgid "Regular expression too big" +#: sysdeps/mach/hurd/errlist.c:17 +msgid "Argument list too long" msgstr "" -msgid "Success" +#: sunrpc/clnt_perr.c:276 +msgid "Authentication OK" msgstr "" -msgid "Trailing backslash" +#: sysdeps/mach/hurd/errlist.c:90 +msgid "Authentication error" msgstr "" -msgid "Unmatched ( or \\(" +#: sysdeps/mach/hurd/errlist.c:24 +msgid "Bad address" msgstr "" -msgid "Unmatched ) or \\)" +#: sysdeps/mach/hurd/errlist.c:19 +msgid "Bad file descriptor" msgstr "" -msgid "Unmatched [ or [^" +#: sysdeps/mach/hurd/errlist.c:25 +msgid "Block device required" msgstr "" -msgid "Unmatched \\{" +#: sunrpc/pmap_rmt.c:336 +msgid "Broadcast select problem" msgstr "" -msgid "Unknown system error" +#: i486-linux/siglist.c:21 sysdeps/mach/hurd/errlist.c:42 +msgid "Broken pipe" msgstr "" -msgid ".rhosts fstat failed" +#: i486-linux/siglist.c:15 +msgid "Bus error" msgstr "" -msgid ".rhosts lstat failed" +#: i486-linux/siglist.c:32 +msgid "CPU time limit exceeded" msgstr "" -msgid ".rhosts not regular file" +#: sysdeps/mach/hurd/errlist.c:59 +msgid "Can't assign requested address" msgstr "" -msgid ".rhosts writeable by other than owner" +#: sysdeps/mach/hurd/errlist.c:68 +msgid "Can't send after socket shutdown" msgstr "" -msgid "Trying %s...\n" +#: sysdeps/mach/hurd/errlist.c:22 +msgid "Cannot allocate memory" msgstr "" -msgid "bad .rhosts owner" +#: sunrpc/pmap_rmt.c:254 +msgid "Cannot create socket for broadcast rpc" msgstr "" -msgid "connect to address %s: " +#: sunrpc/pmap_rmt.c:348 +msgid "Cannot receive reply to broadcast" msgstr "" -msgid "rcmd: select (setting up stderr): %s\n" +#: sunrpc/pmap_clnt.c:79 +msgid "Cannot register service" msgstr "" -msgid "rcmd: socket: All ports in use\n" +#: sunrpc/pmap_rmt.c:312 +msgid "Cannot send broadcast packet" msgstr "" -msgid "rcmd: write (setting up stderr): %s\n" +#: sunrpc/pmap_rmt.c:260 +msgid "Cannot set socket option SO_BROADCAST" msgstr "" -msgid "select: protocol failure in circuit setup\n" +#: i486-linux/siglist.c:25 +msgid "Child exited" msgstr "" -msgid "socket: protocol failure in circuit setup.\n" +#: sunrpc/clnt_perr.c:286 +msgid "Client credential too weak" msgstr "" -msgid "Host name lookup failure" +#: sysdeps/mach/hurd/errlist.c:114 +msgid "Computer bought the farm" msgstr "" -msgid "No address associated with name" +#: sysdeps/mach/hurd/errlist.c:71 +msgid "Connection refused" msgstr "" -msgid "Resolver Error 0 (no error)" +#: sysdeps/mach/hurd/errlist.c:64 +msgid "Connection reset by peer" msgstr "" -msgid "Resolver internal error" +#: sysdeps/mach/hurd/errlist.c:70 +msgid "Connection timed out" msgstr "" -msgid "Unknown host" +#: i486-linux/siglist.c:26 +msgid "Continued" msgstr "" -msgid "Unknown resolver error" +#: sysdeps/mach/hurd/errlist.c:49 +msgid "Destination address required" msgstr "" -msgid "Unknown server error" +#: sysdeps/mach/hurd/errlist.c:26 +msgid "Device busy" msgstr "" -msgid " %s [-c | -h | -l | -m] [-o outfile] [infile]\n" +#: sysdeps/mach/hurd/errlist.c:16 +msgid "Device not configured" msgstr "" -msgid " %s [-s udp|tcp]* [-o outfile] [infile]\n" +#: sysdeps/mach/hurd/errlist.c:76 +msgid "Directory not empty" msgstr "" -msgid "%s, line %d: " +#: sysdeps/mach/hurd/errlist.c:79 +msgid "Disc quota exceeded" msgstr "" -msgid "%s: output would overwrite %s\n" +#: sunrpc/clnt_perr.c:254 +#, c-format +msgid "Error %d" msgstr "" -msgid "%s: unable to open " +#: string/../sysdeps/mach/_strerror.c:43 +msgid "Error in unknown error system: " msgstr "" -msgid "(unknown authentication error - %d)" +#: sysdeps/mach/hurd/errlist.c:18 +msgid "Exec format error" msgstr "" -msgid "; low version = %lu, high version = %lu" +#: sunrpc/clnt_perr.c:290 +msgid "Failed (unspecified error)" msgstr "" -msgid "; why = " +#: sysdeps/mach/hurd/errlist.c:27 +msgid "File exists" msgstr "" -msgid "Authentication OK" +#: sysdeps/mach/hurd/errlist.c:73 +msgid "File name too long" msgstr "" -msgid "Broadcast select problem" +#: i486-linux/siglist.c:33 +msgid "File size limit exceeded" msgstr "" -msgid "Cannot create socket for broadcast rpc" +#: sysdeps/mach/hurd/errlist.c:37 +msgid "File too large" msgstr "" -msgid "Cannot receive reply to broadcast" +#: i486-linux/siglist.c:16 +msgid "Floating point exception" msgstr "" -msgid "Cannot register service" +#: sysdeps/mach/hurd/errlist.c:88 +msgid "Function not implemented" msgstr "" -msgid "Cannot send broadcast packet" +#: sysdeps/mach/hurd/errlist.c:115 +msgid "Gratuitous error" msgstr "" -msgid "Cannot set socket option SO_BROADCAST" +#: i486-linux/siglist.c:9 +msgid "Hangup" msgstr "" -msgid "Client credential too weak" +#: sysdeps/mach/hurd/errlist.c:74 +msgid "Host is down" msgstr "" -msgid "Error %d" +#: resolv/herror.c:74 +msgid "Host name lookup failure" msgstr "" -msgid "Failed (unspecified error)" +#: i486-linux/siglist.c:37 +msgid "I/O possible" msgstr "" -msgid "Invalid client credential" +#: i486-linux/siglist.c:14 +msgid "IOT trap" msgstr "" -msgid "Invalid client verifier" +#: i486-linux/siglist.c:12 +msgid "Illegal Instruction" msgstr "" -msgid "Invalid server verifier" +#: sysdeps/mach/hurd/errlist.c:39 +msgid "Illegal seek" msgstr "" -msgid "RPC: (unknown error code)" +#: sysdeps/mach/hurd/errlist.c:89 +msgid "Inappropriate file type or format" msgstr "" -msgid "RPC: Authentication error" +#: sysdeps/mach/hurd/errlist.c:35 +msgid "Inappropriate ioctl for device" msgstr "" -msgid "RPC: Can't decode result" +#: sysdeps/mach/hurd/errlist.c:110 +msgid "Inappropriate operation for background process" msgstr "" -msgid "RPC: Can't encode arguments" +#: sysdeps/mach/hurd/errlist.c:15 +msgid "Input/output error" msgstr "" -msgid "RPC: Failed (unspecified error)" +#: i486-linux/siglist.c:10 +msgid "Interrupt" msgstr "" -msgid "RPC: Incompatible versions of RPC" +#: sysdeps/mach/hurd/errlist.c:14 +msgid "Interrupted system call" msgstr "" -msgid "RPC: Port mapper failure" +#: sysdeps/mach/hurd/errlist.c:32 +msgid "Invalid argument" msgstr "" -msgid "RPC: Procedure unavailable" +#: posix/regex.c:946 +msgid "Invalid back reference" msgstr "" -msgid "RPC: Program not registered" +#: posix/regex.c:944 +msgid "Invalid character class name" msgstr "" -msgid "RPC: Program unavailable" +#: sunrpc/clnt_perr.c:278 +msgid "Invalid client credential" msgstr "" -msgid "RPC: Program/version mismatch" +#: sunrpc/clnt_perr.c:282 +msgid "Invalid client verifier" msgstr "" -msgid "RPC: Remote system error" +#: posix/regex.c:943 +msgid "Invalid collation character" msgstr "" -msgid "RPC: Server can't decode arguments" +#: posix/regex.c:950 +msgid "Invalid content of \\{\\}" msgstr "" -msgid "RPC: Success" +#: sysdeps/mach/hurd/errlist.c:28 +msgid "Invalid cross-device link" msgstr "" -msgid "RPC: Timed out" +#: posix/regex.c:953 +msgid "Invalid preceding regular expression" msgstr "" -msgid "RPC: Unable to receive" +#: posix/regex.c:951 +msgid "Invalid range end" msgstr "" -msgid "RPC: Unable to send" +#: posix/regex.c:942 +msgid "Invalid regular expression" msgstr "" -msgid "RPC: Unknown host" +#: sunrpc/clnt_perr.c:288 +msgid "Invalid server verifier" msgstr "" -msgid "RPC: Unknown protocol" +#: sysdeps/mach/hurd/errlist.c:31 +msgid "Is a directory" msgstr "" -msgid "Server rejected credential" +#: i486-linux/siglist.c:17 +msgid "Killed" msgstr "" -msgid "Server rejected verifier" +#: posix/regex.c:952 +msgid "Memory exhausted" msgstr "" -msgid "array declaration expected" +#: sysdeps/mach/hurd/errlist.c:50 +msgid "Message too long" msgstr "" -msgid "auth_none.c - Fatal marshalling problem" +#: sysdeps/mach/hurd/errlist.c:91 +msgid "Need authenticator" msgstr "" -msgid "broadcast: ioctl (get interface configuration)" +#: sysdeps/mach/hurd/errlist.c:62 +msgid "Network dropped connection on reset" msgstr "" -msgid "broadcast: ioctl (get interface flags)" +#: sysdeps/mach/hurd/errlist.c:60 +msgid "Network is down" msgstr "" -msgid "cache_set: victim not found" +#: sysdeps/mach/hurd/errlist.c:61 +msgid "Network is unreachable" msgstr "" -msgid "can't reassign procedure number %d\n" +#: resolv/herror.c:76 +msgid "No address associated with name" msgstr "" -msgid "clnt_raw.c - Fatal header serialization error." +#: sysdeps/mach/hurd/errlist.c:65 +msgid "No buffer space available" msgstr "" -msgid "constant or identifier expected" +#: sysdeps/mach/hurd/errlist.c:20 +msgid "No child processes" msgstr "" -msgid "couldn't create an rpc server\n" +#: sysdeps/mach/hurd/errlist.c:87 +msgid "No locks available" msgstr "" |
