mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
6d52618b15
Thu Dec 19 23:28:33 1996 Ulrich Drepper <drepper@cygnus.com> * resolv/resolv.h: Update from BIND 4.9.5-P1. * resolv/res_comp.c: Likewise. * resolv/res_debug.c: Likewise. * resolv/Banner: Update version number. Thu Dec 19 20:58:53 1996 Ulrich Drepper <drepper@cygnus.com> * elf/dlfcn.h: Add extern "C" wrapper. * io/utime.h: Don't define NULL since this isn't allowed in POSIX. * io/sys/stat.h: Declare `lstat' only if __USE_BSD || __USE_XOPEN_EXTENDED. * locale/locale.h: Define NULL. * math/math.c: Don't include <errno.h> to define math errors. * stdlib/stdlib.h: Likewise. * posix/unistd.h: Don't declare environ. * posix/sys/utsname.h (struct utsname): Declare member domainname as __domainname is !__USE_GNU. * signal/signal.h: Declare size_t only if __USE_BSD || __USE_XOPEN_EXTENDED. * stdio/stdio.h: Don't declare cuserid when __USE_POSIX, but instead when __USE_XOPEN. * string/string.h: Define strndup only if __USE_GNU. * sysdeps/unix/sysv/linux/clock.c: New file. * sysdeps/unix/sysv/linux/timebits.h: Define CLOCKS_PER_SEC as 1000000 per X/Open standard. * features.h: Add code to recognize _POSIX_C_SOURCE value 199309. Define __USE_POSIX199309. * posix/unistd.h: Declare fdatasync only if __USE_POSIX199309. * time/time.c: Declare nanosleep only if __USE_POSIX199309. Patches by Rüdiger Helsch <rh@unifix.de>. * locale/locale.h: Add declaration of newlocale and freelocale. * new-malloc/Makefile (distibute): Add mtrace.awk. (dist-routines): Add mcheck and mtrace. (install-lib, non-lib.a): Define as libmcheck.a. * new-malloc/malloc.h: Add declaration of __malloc_initialized. * new-malloc/mcheck.c: New file. * new-malloc/mcheck.h: New file. * new-malloc/mtrace.c: New file. * new-malloc/mtrace.awk: New file. * posix/unistd.h: Correct prototype for usleep. * sysdeps/unix/bsd/usleep.c: De-ANSI-declfy. Correct return type. * sysdeps/unix/sysv/linux/usleep.c: Real implementation based on nanosleep. * signal/signal.h: Change protoype of __sigpause to take two arguments. Remove prototype for sigpause. Add two different macros named sigpause selected when __USE_BSD or __USE_XOPEN are defined. This is necessary since the old BSD definition of theis function collides with the X/Open definition. * sysdeps/posix/sigpause.c: Change function definition to also fit X/Open definition. * sysdeps/libm-i387/e_exp.S: Make sure stack is empty when the function is left. * sysdeps/libm-i387/e_expl.S: Likewise. Patch by HJ Lu. 1996-12-17 Paul Eggert <eggert@twinsun.com> * many, many files: Spelling corrections. * catgets/catgetsinfo.h (mmapped): Renamed from mmaped (in struct catalog_info.status). * mach/err_kern.sub (err_codes_unix), string/stratcliff.c (main): Fix spelling in message. * po/libc.pot: Fix spelling in message for `zic'; this anticipates a fix in the tzcode distribution. Wed Dec 18 15:48:02 1996 Ulrich Drepper <drepper@cygnus.com> * time/strftime.c: Implement ^ flag to cause output be converted to use upper case characters. * time/zic.c: Update from ADO tzcode1996n. Wed Dec 18 14:29:24 1996 Erik Naggum <erik@naggum.no> * time/strftime.c (add): Don't change global `i' until all is over. Define NULL is not already defined. Tue Dec 17 09:49:03 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * libio/iovsprintf.c (_IO_vsprintf): Change `&sf' to `&sf._sbf._f' to avoid the need for a cast. * libio/iovsscanf.c (_IO_vsscanf): Likewise. * sunrpc/rpc/xdr.h: Add prototype for xdr_free.
195 lines
5.9 KiB
Plaintext
195 lines
5.9 KiB
Plaintext
/*
|
|
* Mach Operating System
|
|
* Copyright (c) 1991,1990,1989 Carnegie Mellon University
|
|
* All Rights Reserved.
|
|
*
|
|
* Permission to use, copy, modify and distribute this software and its
|
|
* documentation is hereby granted, provided that both the copyright
|
|
* notice and this permission notice appear in all copies of the
|
|
* software, derivative works or modified versions, and any portions
|
|
* thereof, and that both notices appear in supporting documentation.
|
|
*
|
|
* CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS
|
|
* CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
|
|
* ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
|
|
*
|
|
* Carnegie Mellon requests users of this software to return to
|
|
*
|
|
* Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
|
|
* School of Computer Science
|
|
* Carnegie Mellon University
|
|
* Pittsburgh PA 15213-3890
|
|
*
|
|
* any improvements or extensions that they make and grant Carnegie the
|
|
* rights to redistribute these changes.
|
|
*/
|
|
/*
|
|
* HISTORY
|
|
* $Log$
|
|
* Revision 1.5 1996/12/20 01:32:34 drepper
|
|
* Update from main archive 961219
|
|
*
|
|
* Revision 1.5 1996/12/19 20:23:39 drepper
|
|
* Spelling corrections.
|
|
*
|
|
* Revision 1.4 1993/12/17 06:14:52 mib
|
|
* entered into RCS
|
|
*
|
|
* Revision 2.3 92/04/01 19:38:02 rpd
|
|
* Added err_codes_device.
|
|
* [92/03/09 rpd]
|
|
*
|
|
* Revision 2.2 92/01/16 00:08:50 rpd
|
|
* Moved from user collection to mk collection.
|
|
*
|
|
* Revision 2.3 91/08/29 15:51:22 rpd
|
|
* Updated err_codes_kern.
|
|
* [91/08/15 rpd]
|
|
*
|
|
* Revision 2.2 91/03/27 16:05:27 mrt
|
|
* First checkin
|
|
*
|
|
*/
|
|
/*
|
|
* File: err_kern.sub
|
|
* Author: Douglas Orr, Carnegie Mellon University
|
|
* Date: Mar, 1988
|
|
*
|
|
* error codes for Mach and Unix kernels
|
|
*/
|
|
|
|
static char * err_codes_kern[] = {
|
|
"(os/kern) successful",
|
|
"(os/kern) invalid address",
|
|
"(os/kern) protection failure",
|
|
"(os/kern) no space available",
|
|
"(os/kern) invalid argument",
|
|
"(os/kern) failure",
|
|
"(os/kern) resource shortage",
|
|
"(os/kern) not receiver",
|
|
"(os/kern) no access",
|
|
"(os/kern) memory failure",
|
|
"(os/kern) memory error",
|
|
"(os/kern) already in set",
|
|
"(os/kern) not in set",
|
|
"(os/kern) name exists",
|
|
"(os/kern) aborted",
|
|
"(os/kern) invalid name",
|
|
"(os/kern) invalid task",
|
|
"(os/kern) invalid right",
|
|
"(os/kern) invalid value",
|
|
"(os/kern) urefs overflow",
|
|
"(os/kern) invalid capability",
|
|
"(os/kern) right exists",
|
|
"(os/kern) invalid host",
|
|
"(os/kern) memory present",
|
|
};
|
|
|
|
static char * err_codes_device[] = {
|
|
"(os/device) hardware IO error",
|
|
"(os/device) operation would block",
|
|
"(os/device) no such device",
|
|
"(os/device) device already open",
|
|
"(os/device) device is shut down",
|
|
"(os/device) invalid operation",
|
|
"(os/device) invalid record number",
|
|
"(os/device) invalid IO size",
|
|
"(os/device) memory allocation failure",
|
|
"(os/device) read only",
|
|
};
|
|
|
|
static char * err_codes_unix[] = {
|
|
NO_SUCH_ERROR,
|
|
"(os/unix) no rights to object",
|
|
"(os/unix) file or directory does not exist",
|
|
"(os/unix) no such process",
|
|
"(os/unix) interrupted system call",
|
|
"(os/unix) i/o error",
|
|
"(os/unix) device does not exist",
|
|
"(os/unix) argument list is too long",
|
|
"(os/unix) invalid executable object format",
|
|
"(os/unix) bad file descriptor number",
|
|
"(os/unix) no child processes are present",
|
|
"(os/unix) no more processes are available",
|
|
"(os/unix) insufficient memory",
|
|
"(os/unix) access denied",
|
|
"(os/unix) memory access fault",
|
|
"(os/unix) block device required for operation",
|
|
"(os/unix) mount device busy",
|
|
"(os/unix) file already exists",
|
|
"(os/unix) cross device link",
|
|
"(os/unix) device does not exist",
|
|
"(os/unix) object is not a directory",
|
|
"(os/unix) object is a directory",
|
|
"(os/unix) invalid argument",
|
|
"(os/unix) internal file table overflow",
|
|
"(os/unix) maximum number of open files reached",
|
|
"(os/unix) object is not a tty-like device",
|
|
"(os/unix) executable object is in use",
|
|
"(os/unix) file is too large",
|
|
"(os/unix) no space is left on device",
|
|
"(os/unix) illegal seek attempt",
|
|
"(os/unix) read-only file system",
|
|
"(os/unix) too many links",
|
|
"(os/unix) broken pipe",
|
|
"(os/unix) argument is too large",
|
|
"(os/unix) result is out of range",
|
|
"(os/unix) operation on device would block",
|
|
"(os/unix) operation is now in progress",
|
|
"(os/unix) operation is already in progress",
|
|
"(os/unix) socket operation attempted on non-socket object",
|
|
"(os/unix) destination address is required",
|
|
"(os/unix) message is too long",
|
|
"(os/unix) protocol type is incorrect for socket",
|
|
"(os/unix) protocol type is not available",
|
|
"(os/unix) protocol type is not supported",
|
|
"(os/unix) socket type is not supported",
|
|
"(os/unix) operation is not supported on sockets",
|
|
"(os/unix) protocol family is not supported",
|
|
"(os/unix) address family is not supported by protocol family",
|
|
"(os/unix) address is already in use",
|
|
"(os/unix) can't assign requested address",
|
|
"(os/unix) network is down",
|
|
"(os/unix) network is unreachable",
|
|
"(os/unix) network dropped connection on reset",
|
|
"(os/unix) software aborted connection",
|
|
"(os/unix) connection reset by peer",
|
|
"(os/unix) no buffer space is available",
|
|
"(os/unix) socket is already connected",
|
|
"(os/unix) socket is not connected",
|
|
"(os/unix) can't send after socket shutdown",
|
|
"(os/unix) too many references; can't splice",
|
|
"(os/unix) connection timed out",
|
|
"(os/unix) connection was refused",
|
|
"(os/unix) too many levels of symbolic links",
|
|
"(os/unix) file name exceeds system maximum limit",
|
|
"(os/unix) host is down",
|
|
"(os/unix) there is no route to host",
|
|
"(os/unix) directory is not empty",
|
|
"(os/unix) quota on number of processes exceeded",
|
|
"(os/unix) quota on number of users exceeded",
|
|
"(os/unix) quota on available disk space exceeded",
|
|
};
|
|
|
|
static struct error_subsystem err_kern_sub[] = {
|
|
{
|
|
"(os/kern)",
|
|
errlib_count(err_codes_kern),
|
|
err_codes_kern,
|
|
},
|
|
{
|
|
"(os/device)",
|
|
errlib_count(err_codes_device),
|
|
err_codes_device,
|
|
},
|
|
{
|
|
"(os/?)",
|
|
0,
|
|
},
|
|
{
|
|
"(os/unix)",
|
|
errlib_count(err_codes_unix),
|
|
err_codes_unix,
|
|
},
|
|
};
|