update from main archive 961116
Sun Nov 17 03:13:57 1996 Ulrich Drepper <drepper@cygnus.com> * db/makedb.c: Update and reformat copyright. * elf/Makefile: Likewise. * elf/dl-close.c: Likewise. * elf/dl-debug.c: Likewise. * elf/dl-deps.c: Likewise. * elf/dl-error.c: Likewise. * elf/dl-fini.c: Likewise. * elf/dl-init.c: Likewise. * elf/dl-load.c: Likewise. * elf/dl-lookup.c: Likewise. * elf/dl-minimal.c: Likewise. * elf/dl-object.c: Likewise. * elf/dl-open.c: Likewise. * elf/dl-reloc.c: Likewise. * elf/dl-runtime.c: Likewise. * elf/dl-support.c: Likewise. * elf/dl-symbol.c: Likewise. * elf/dladdr.c: Likewise. * elf/dlclose.c: Likewise. * elf/dlerror.c: Likewise. * elf/dlopen.c: Likewise. * elf/dlsym.c: Likewise. * elf/do-rel.h: Likewise. * elf/dynamic-link.h: Likewise. * elf/eval.c: Likewise. * elf/rtld.c: Likewise. * inet/ether_hton.c: Likewise. * inet/ether_ntoh.c: Likewise. * inet/ether_line.c: Likewise. * inet/getnetgrent_r.c: Likewise. * inet/Makefile (+gccwarn): Remove definition. Instead set CFLAGS-rcmd.c, CFLAGS-rexec.c, and CFLAGS-ruserpass.c to `-w'. * inet/aliases.h: Add C++ protection. * inet/ether_hton.c: Add prototype for __nss_ethers_lookup. (ether_hostton): Remove unused variable result. * inet/ether_ntoh.c: Likewise. * inet/ether_line.c: Include <ctype.h> and <string.h>. * inet/getnetgrent_r.c: Include <stdlib.h>. Use casts to prevent warnings. (innetgr): Initialize `known' and `needed'. * inet/inet_net.c: Make local variable `i' of type u_int32_t. * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)) [NEED__RES]: Don't return NULL. Instead set *RESULT to NULL and return -1. * nss/getXXent_r.c (INTERNAL (REENTRANT_GETNAME)): Likewise. (SETFUNC_NAME, ENDFUNC_NAME) [NEED__RES]: Don't return anything. * nss/nss_files/files-alias.c: Debug function. I didn't worked at all before. Sat Nov 16 15:25:34 1996 Ulrich Drepper <drepper@cygnus.com> * sysdeps/posix/readv.c: Don't use PTR anymore. * sysdeps/posix/writev.c: Likewise. * version.h (VERSION): Bump to 1.98. * nss/db-Makefile: Generate lines for getXXXent iteration. * sysdeps/alpha/Dist: Don't distribute removed files divlu.S, divqu.S, remlu.S, and remqu.S. Fri Nov 15 08:55:54 1996 Andreas Jaeger <aj@arthur.pfalz.de> * posix/unistd.h: Correct typo in documentation. Thu Nov 14 18:08:14 1996 a sun <asun@zoology.washington.edu> * inet/netinet/tcp.h: Use __ protected versions instead of BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN directly. Sat Nov 16 13:44:55 1996 Ulrich Drepper <drepper@cygnus.com> * intl/loadmsgcat.c (_nl_msg_cat_cntr): Initialize so that references in libc.so are not anymore undefined. Sat Nov 16 18:17:36 1996 NIIBE Yutaka <gniibe@mri.co.jp> * io/utime.h: Rename second parameter for utime to prevent warning for -Wshadow. * dirent/dirent.h: Same here for scandir prototype. * math/mathcalls.h: Likewise for frexp and ldexp. * sysdeps/unix/sysv/linux/netinet/in.h: Likewise for bindresvport. Sat Nov 16 03:49:27 1996 Ulrich Drepper <drepper@cygnus.com> * stdlib/tst-strtod.c: Add test for error case below. Sat Nov 16 03:48:39 1996 Wolfram Gloger <Wolfram.Gloger@dent.med.uni-muenchen.de> * stdlib/strtod.c: Recognize numbers like 0e-19. Fri Nov 15 08:38:43 1996 Andreas Jaeger <aj@arthur.pfalz.de> * time/Makefile ($(installed-localtime-file)): Fix path to rellns-sh. * Makefile: Don't generate and install gnu/lib-names.h if $(build-shared) is not `yes'. Thu Nov 14 09:23:58 1996 H.J. Lu (hjl@gnu.ai.mit.edu) * sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Depend on $(..)posix/posix1_lim.h, not ../posix/posix1_lim.h. * Makerules (REAL_MAKE_VERSION): New, use it instead of MAKE_VERSION. Thu Nov 14 22:10:43 1996 Ulrich Drepper <drepper@cygnus.com> * nss/nss_files/files-XXX.x (_nss_files_get,ENTNAME_r): Fix typo. * nss/getXXent_r.c: Fix typo. Set correct return value when no further service is available. Thu Nov 14 17:48:13 1996 Ulrich Drepper <drepper@cygnus.com> * db/recno/rec_put.c: Add cast to avoid warning. * db/recno/rec_close.c: Likewise. * db/mpool/mpool.c: Likewise. * db/hash/hash_bigkey.h: Likewise. * db/hash/hash.c: Likewise. * db/btree/bt_split.c: Likewise. * db/btree/bt_put.c: Likewise. Thu Nov 14 14:11:44 1996 Ulrich Drepper <drepper@cygnus.com> * dirent/dirent.h: Update copyright. * elf/elf.h: Likewise. * elf/link.h: Likewise. * gmon/sys/gmon_out.h: Likewise. * gnu-versions.h: Likewise. * intl/libintl.h: Likewise. * io/fcntl.h: Likewise. * io/ftw.h: Likewise. * io/sys/statfs.h: Likewise. * io/utime.h: Likewise. * locale/langinfo.h: Likewise. * malloc/malloc.h: Likewise. * malloc/obstack.h: Likewise. * misc/ar.h: Likewise. * misc/error.h: Likewise. * misc/mntent.h: Likewise. * misc/sgtty.h: Likewise. * misc/sys/cdefs.h: Likewise. * misc/sys/dir.h: Likewise. * misc/sys/file.h: Likewise. * misc/sys/ioctl.h: Likewise. * misc/sys/ustat.h: Likewise. * posix/fnmatch.h: Likewise. * posix/getopt.h: Likewise. * posix/glob.h: Likewise. * posix/posix2_lim.h: Likewise. * posix/regex.h: Likewise. * posix/sys/times.h: Likewise. * posix/sys/types.h: Likewise. * posix/sys/utsname.h: Likewise. * posix/tar.h: Likewise. * posix/wordexp.h: Likewise. * resource/sys/resource.h: Likewise. * resource/sys/vlimit.h: Likewise. * resource/sys/vtimes.h: Likewise. * socket/sys/socket.h: Likewise. * socket/sys/un.h: Likewise. * stdio-common/printf.h: Likewise. * stdlib/alloca.h: Likewise. * string/argz.h: Likewise. * string/endian.h: Likewise. * string/envz.h: Likewise. * string/memory.h: Likewise. * string/strings.h: Likewise. * sysdeps/generic/crypt.h: Likewise. * sysdeps/generic/direntry.h: Likewise. * sysdeps/generic/gnu/types.h: Likewise. * sysdeps/generic/ioctl-types.h: Likewise. * sysdeps/generic/netinet/in.h: Likewise. * sysdeps/generic/resourcebits.h: Likewise. * sysdeps/generic/sigset.h: Likewise. * sysdeps/generic/sockaddrcom.h: Likewise. * sysdeps/generic/sys/mman.h: Likewise. * sysdeps/generic/sys/ptrace.h: Likewise. * sysdeps/generic/termbits.h: Likewise. * sysdeps/generic/waitstatus.h: Likewise. * sysdeps/ieee754/huge_val.h: Likewise. * sysdeps/ieee754/nan.h: Likewise. * sysdeps/mach/hurd/local_lim.h: Likewise. * sysdeps/mach/hurd/statbuf.h: Likewise. * sysdeps/stub/huge_val.h: Likewise. * sysdeps/stub/libc-lock.h: Likewise. * sysdeps/stub/signum.h: Likewise. * sysdeps/stub/statbuf.h: Likewise. * sysdeps/stub/waitflags.h: Likewise. * sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: Likewise. * sysdeps/unix/bsd/osf/alpha/statbuf.h: Likewise. * sysdeps/unix/bsd/osf/sys/mman.h: Likewise. * sysdeps/unix/bsd/signum.h: Likewise. * sysdeps/unix/bsd/statbuf.h: Likewise. * sysdeps/unix/bsd/sun/signum.h: Likewise. * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Likewise. * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise. * sysdeps/unix/bsd/sun/sunos4/termbits.h: Likewise. * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise. * sysdeps/unix/bsd/waitflags.h: Likewise. * sysdeps/unix/sysv/irix4/signum.h: Likewise. * sysdeps/unix/sysv/irix4/statbuf.h: Likewise. * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise. * sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise. * sysdeps/unix/sysv/linux/alpha/sys/io.h: Likewise. * sysdeps/unix/sysv/linux/direntry.h: Likewise. * sysdeps/unix/sysv/linux/gnu/types.h: Likewise. * sysdeps/unix/sysv/linux/ioctl-types.h: Likewise. * sysdeps/unix/sysv/linux/local_lim.h: Likewise. * sysdeps/unix/sysv/linux/netinet/in.h: Likewise. * sysdeps/unix/sysv/linux/resourcebits.h: Likewise. * sysdeps/unix/sysv/linux/signum.h: Likewise. * sysdeps/unix/sysv/linux/statbuf.h: Likewise. * sysdeps/unix/sysv/linux/sys/io.h: Likewise. * sysdeps/unix/sysv/linux/sys/klog.h: Likewise. * sysdeps/unix/sysv/linux/sys/mman.h: Likewise. * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise. * sysdeps/unix/sysv/linux/syscall.h: Likewise. * sysdeps/unix/sysv/linux/termbits.h: Likewise. * sysdeps/unix/sysv/local_lim.h: Likewise. * sysdeps/unix/sysv/sco3.2.4/syscall.h: Likewise. * sysdeps/unix/sysv/sco3.2/local_lim.h: Likewise. * sysdeps/unix/sysv/signum.h: Likewise. * sysdeps/unix/sysv/sysv4/i386/statbuf.h: Likewise. * sysdeps/unix/sysv/sysv4/signum.h: Likewise. * sysdeps/unix/sysv/sysv4/sigset.h: Likewise. * sysdeps/unix/sysv/sysv4/solaris2/signum.h: Likewise. * sysdeps/unix/sysv/sysv4/solaris2/statbuf.h: Likewise. * sysdeps/unix/sysv/sysv4/waitflags.h: Likewise. * sysdeps/vax/huge_val.h: Likewise. * values.h: Likewise. Thu Nov 14 04:22:41 1996 Ulrich Drepper <drepper@cygnus.com> * malloc/obstack.h: Use memcpy instead of bcopy and define a macro `memcpy' using bcopy if memcpy is not available. * manual/stdio.texi: Correct description of printf customization. The argument info function is not optional anymore and the interface for `printf_function' also changed. * manual/examples/rprintf.c: Define and use argument info function. * stdio-common/printf.h (struct printf_info): Change type for field `pad' to wchar_t. Correct comment for `register_printf_function'. * nss/getXXbyYY.c [NEED_H_ERRNO]: Don't pass pointer to h_errno to reentrant function. Instead use temporary variable and set h_errno if an error occured. Reported by NIIBE Yutaka. are no bits set in the masks. Reported by baldazzi@csr.unibo.it.
This commit is contained in:
parent
3a3df4c78a
commit
afd4eb3759
258
ChangeLog
258
ChangeLog
|
@ -1,3 +1,259 @@
|
|||
Sun Nov 17 03:13:57 1996 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* db/makedb.c: Update and reformat copyright.
|
||||
* elf/Makefile: Likewise.
|
||||
* elf/dl-close.c: Likewise.
|
||||
* elf/dl-debug.c: Likewise.
|
||||
* elf/dl-deps.c: Likewise.
|
||||
* elf/dl-error.c: Likewise.
|
||||
* elf/dl-fini.c: Likewise.
|
||||
* elf/dl-init.c: Likewise.
|
||||
* elf/dl-load.c: Likewise.
|
||||
* elf/dl-lookup.c: Likewise.
|
||||
* elf/dl-minimal.c: Likewise.
|
||||
* elf/dl-object.c: Likewise.
|
||||
* elf/dl-open.c: Likewise.
|
||||
* elf/dl-reloc.c: Likewise.
|
||||
* elf/dl-runtime.c: Likewise.
|
||||
* elf/dl-support.c: Likewise.
|
||||
* elf/dl-symbol.c: Likewise.
|
||||
* elf/dladdr.c: Likewise.
|
||||
* elf/dlclose.c: Likewise.
|
||||
* elf/dlerror.c: Likewise.
|
||||
* elf/dlopen.c: Likewise.
|
||||
* elf/dlsym.c: Likewise.
|
||||
* elf/do-rel.h: Likewise.
|
||||
* elf/dynamic-link.h: Likewise.
|
||||
* elf/eval.c: Likewise.
|
||||
* elf/rtld.c: Likewise.
|
||||
* inet/ether_hton.c: Likewise.
|
||||
* inet/ether_ntoh.c: Likewise.
|
||||
* inet/ether_line.c: Likewise.
|
||||
* inet/getnetgrent_r.c: Likewise.
|
||||
|
||||
* inet/Makefile (+gccwarn): Remove definition.
|
||||
Instead set CFLAGS-rcmd.c, CFLAGS-rexec.c, and CFLAGS-ruserpass.c
|
||||
to `-w'.
|
||||
* inet/aliases.h: Add C++ protection.
|
||||
* inet/ether_hton.c: Add prototype for __nss_ethers_lookup.
|
||||
(ether_hostton): Remove unused variable result.
|
||||
* inet/ether_ntoh.c: Likewise.
|
||||
* inet/ether_line.c: Include <ctype.h> and <string.h>.
|
||||
* inet/getnetgrent_r.c: Include <stdlib.h>.
|
||||
Use casts to prevent warnings.
|
||||
(innetgr): Initialize `known' and `needed'.
|
||||
* inet/inet_net.c: Make local variable `i' of type u_int32_t.
|
||||
* nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)) [NEED__RES]: Don't
|
||||
return NULL. Instead set *RESULT to NULL and return -1.
|
||||
* nss/getXXent_r.c (INTERNAL (REENTRANT_GETNAME)): Likewise.
|
||||
(SETFUNC_NAME, ENDFUNC_NAME) [NEED__RES]: Don't return anything.
|
||||
|
||||
* nss/nss_files/files-alias.c: Debug function. I didn't worked at
|
||||
all before.
|
||||
|
||||
Sat Nov 16 15:25:34 1996 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* sysdeps/posix/readv.c: Don't use PTR anymore.
|
||||
* sysdeps/posix/writev.c: Likewise.
|
||||
|
||||
* version.h (VERSION): Bump to 1.98.
|
||||
|
||||
* nss/db-Makefile: Generate lines for getXXXent iteration.
|
||||
|
||||
* sysdeps/alpha/Dist: Don't distribute removed files divlu.S,
|
||||
divqu.S, remlu.S, and remqu.S.
|
||||
|
||||
Fri Nov 15 08:55:54 1996 Andreas Jaeger <aj@arthur.pfalz.de>
|
||||
|
||||
* posix/unistd.h: Correct typo in documentation.
|
||||
|
||||
Thu Nov 14 18:08:14 1996 a sun <asun@zoology.washington.edu>
|
||||
|
||||
* inet/netinet/tcp.h: Use __ protected versions instead of
|
||||
BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN directly.
|
||||
|
||||
Sat Nov 16 13:44:55 1996 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* intl/loadmsgcat.c (_nl_msg_cat_cntr): Initialize so that
|
||||
references in libc.so are not anymore undefined.
|
||||
|
||||
Sat Nov 16 18:17:36 1996 NIIBE Yutaka <gniibe@mri.co.jp>
|
||||
|
||||
* io/utime.h: Rename second parameter for utime to prevent warning
|
||||
for -Wshadow.
|
||||
* dirent/dirent.h: Same here for scandir prototype.
|
||||
* math/mathcalls.h: Likewise for frexp and ldexp.
|
||||
* sysdeps/unix/sysv/linux/netinet/in.h: Likewise for bindresvport.
|
||||
|
||||
Sat Nov 16 03:49:27 1996 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* stdlib/tst-strtod.c: Add test for error case below.
|
||||
|
||||
Sat Nov 16 03:48:39 1996 Wolfram Gloger <Wolfram.Gloger@dent.med.uni-muenchen.de>
|
||||
|
||||
* stdlib/strtod.c: Recognize numbers like 0e-19.
|
||||
|
||||
Fri Nov 15 08:38:43 1996 Andreas Jaeger <aj@arthur.pfalz.de>
|
||||
|
||||
* time/Makefile ($(installed-localtime-file)): Fix path to
|
||||
rellns-sh.
|
||||
|
||||
* Makefile: Don't generate and install gnu/lib-names.h if
|
||||
$(build-shared) is not `yes'.
|
||||
|
||||
Thu Nov 14 09:23:58 1996 H.J. Lu (hjl@gnu.ai.mit.edu)
|
||||
|
||||
* sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Depend
|
||||
on $(..)posix/posix1_lim.h, not ../posix/posix1_lim.h.
|
||||
|
||||
* Makerules (REAL_MAKE_VERSION): New, use it instead of
|
||||
MAKE_VERSION.
|
||||
|
||||
Thu Nov 14 22:10:43 1996 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* nss/nss_files/files-XXX.x (_nss_files_get,ENTNAME_r): Fix typo.
|
||||
* nss/getXXent_r.c: Fix typo. Set correct return value when
|
||||
no further service is available.
|
||||
|
||||
Thu Nov 14 17:48:13 1996 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* db/recno/rec_put.c: Add cast to avoid warning.
|
||||
* db/recno/rec_close.c: Likewise.
|
||||
* db/mpool/mpool.c: Likewise.
|
||||
* db/hash/hash_bigkey.h: Likewise.
|
||||
* db/hash/hash.c: Likewise.
|
||||
* db/btree/bt_split.c: Likewise.
|
||||
* db/btree/bt_put.c: Likewise.
|
||||
|
||||
Thu Nov 14 14:11:44 1996 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* dirent/dirent.h: Update copyright.
|
||||
* elf/elf.h: Likewise.
|
||||
* elf/link.h: Likewise.
|
||||
* gmon/sys/gmon_out.h: Likewise.
|
||||
* gnu-versions.h: Likewise.
|
||||
* intl/libintl.h: Likewise.
|
||||
* io/fcntl.h: Likewise.
|
||||
* io/ftw.h: Likewise.
|
||||
* io/sys/statfs.h: Likewise.
|
||||
* io/utime.h: Likewise.
|
||||
* locale/langinfo.h: Likewise.
|
||||
* malloc/malloc.h: Likewise.
|
||||
* malloc/obstack.h: Likewise.
|
||||
* misc/ar.h: Likewise.
|
||||
* misc/error.h: Likewise.
|
||||
* misc/mntent.h: Likewise.
|
||||
* misc/sgtty.h: Likewise.
|
||||
* misc/sys/cdefs.h: Likewise.
|
||||
* misc/sys/dir.h: Likewise.
|
||||
* misc/sys/file.h: Likewise.
|
||||
* misc/sys/ioctl.h: Likewise.
|
||||
* misc/sys/ustat.h: Likewise.
|
||||
* posix/fnmatch.h: Likewise.
|
||||
* posix/getopt.h: Likewise.
|
||||
* posix/glob.h: Likewise.
|
||||
* posix/posix2_lim.h: Likewise.
|
||||
* posix/regex.h: Likewise.
|
||||
* posix/sys/times.h: Likewise.
|
||||
* posix/sys/types.h: Likewise.
|
||||
* posix/sys/utsname.h: Likewise.
|
||||
* posix/tar.h: Likewise.
|
||||
* posix/wordexp.h: Likewise.
|
||||
* resource/sys/resource.h: Likewise.
|
||||
* resource/sys/vlimit.h: Likewise.
|
||||
* resource/sys/vtimes.h: Likewise.
|
||||
* socket/sys/socket.h: Likewise.
|
||||
* socket/sys/un.h: Likewise.
|
||||
* stdio-common/printf.h: Likewise.
|
||||
* stdlib/alloca.h: Likewise.
|
||||
* string/argz.h: Likewise.
|
||||
* string/endian.h: Likewise.
|
||||
* string/envz.h: Likewise.
|
||||
* string/memory.h: Likewise.
|
||||
* string/strings.h: Likewise.
|
||||
* sysdeps/generic/crypt.h: Likewise.
|
||||
* sysdeps/generic/direntry.h: Likewise.
|
||||
* sysdeps/generic/gnu/types.h: Likewise.
|
||||
* sysdeps/generic/ioctl-types.h: Likewise.
|
||||
* sysdeps/generic/netinet/in.h: Likewise.
|
||||
* sysdeps/generic/resourcebits.h: Likewise.
|
||||
* sysdeps/generic/sigset.h: Likewise.
|
||||
* sysdeps/generic/sockaddrcom.h: Likewise.
|
||||
* sysdeps/generic/sys/mman.h: Likewise.
|
||||
* sysdeps/generic/sys/ptrace.h: Likewise.
|
||||
* sysdeps/generic/termbits.h: Likewise.
|
||||
* sysdeps/generic/waitstatus.h: Likewise.
|
||||
* sysdeps/ieee754/huge_val.h: Likewise.
|
||||
* sysdeps/ieee754/nan.h: Likewise.
|
||||
* sysdeps/mach/hurd/local_lim.h: Likewise.
|
||||
* sysdeps/mach/hurd/statbuf.h: Likewise.
|
||||
* sysdeps/stub/huge_val.h: Likewise.
|
||||
* sysdeps/stub/libc-lock.h: Likewise.
|
||||
* sysdeps/stub/signum.h: Likewise.
|
||||
* sysdeps/stub/statbuf.h: Likewise.
|
||||
* sysdeps/stub/waitflags.h: Likewise.
|
||||
* sysdeps/unix/bsd/bsd4.4/sockaddrcom.h: Likewise.
|
||||
* sysdeps/unix/bsd/osf/alpha/statbuf.h: Likewise.
|
||||
* sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
|
||||
* sysdeps/unix/bsd/signum.h: Likewise.
|
||||
* sysdeps/unix/bsd/statbuf.h: Likewise.
|
||||
* sysdeps/unix/bsd/sun/signum.h: Likewise.
|
||||
* sysdeps/unix/bsd/sun/sunos4/resourcebits.h: Likewise.
|
||||
* sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
|
||||
* sysdeps/unix/bsd/sun/sunos4/termbits.h: Likewise.
|
||||
* sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
|
||||
* sysdeps/unix/bsd/waitflags.h: Likewise.
|
||||
* sysdeps/unix/sysv/irix4/signum.h: Likewise.
|
||||
* sysdeps/unix/sysv/irix4/statbuf.h: Likewise.
|
||||
* sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
|
||||
* sysdeps/unix/sysv/linux/alpha/statbuf.h: Likewise.
|
||||
* sysdeps/unix/sysv/linux/alpha/sys/io.h: Likewise.
|
||||
* sysdeps/unix/sysv/linux/direntry.h: Likewise.
|
||||
* sysdeps/unix/sysv/linux/gnu/types.h: Likewise.
|
||||
* sysdeps/unix/sysv/linux/ioctl-types.h: Likewise.
|
||||
* sysdeps/unix/sysv/linux/local_lim.h: Likewise.
|
||||
* sysdeps/unix/sysv/linux/netinet/in.h: Likewise.
|
||||
* sysdeps/unix/sysv/linux/resourcebits.h: Likewise.
|
||||
* sysdeps/unix/sysv/linux/signum.h: Likewise.
|
||||
* sysdeps/unix/sysv/linux/statbuf.h: Likewise.
|
||||
* sysdeps/unix/sysv/linux/sys/io.h: Likewise.
|
||||
* sysdeps/unix/sysv/linux/sys/klog.h: Likewise.
|
||||
* sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
|
||||
* sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
|
||||
* sysdeps/unix/sysv/linux/syscall.h: Likewise.
|
||||
* sysdeps/unix/sysv/linux/termbits.h: Likewise.
|
||||
* sysdeps/unix/sysv/local_lim.h: Likewise.
|
||||
* sysdeps/unix/sysv/sco3.2.4/syscall.h: Likewise.
|
||||
* sysdeps/unix/sysv/sco3.2/local_lim.h: Likewise.
|
||||
* sysdeps/unix/sysv/signum.h: Likewise.
|
||||
* sysdeps/unix/sysv/sysv4/i386/statbuf.h: Likewise.
|
||||
* sysdeps/unix/sysv/sysv4/signum.h: Likewise.
|
||||
* sysdeps/unix/sysv/sysv4/sigset.h: Likewise.
|
||||
* sysdeps/unix/sysv/sysv4/solaris2/signum.h: Likewise.
|
||||
* sysdeps/unix/sysv/sysv4/solaris2/statbuf.h: Likewise.
|
||||
* sysdeps/unix/sysv/sysv4/waitflags.h: Likewise.
|
||||
* sysdeps/vax/huge_val.h: Likewise.
|
||||
* values.h: Likewise.
|
||||
|
||||
Thu Nov 14 04:22:41 1996 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* malloc/obstack.h: Use memcpy instead of bcopy and define a macro
|
||||
`memcpy' using bcopy if memcpy is not available.
|
||||
|
||||
* manual/stdio.texi: Correct description of printf customization.
|
||||
The argument info function is not optional anymore and the
|
||||
interface for `printf_function' also changed.
|
||||
* manual/examples/rprintf.c: Define and use argument info function.
|
||||
|
||||
* stdio-common/printf.h (struct printf_info): Change type for field
|
||||
`pad' to wchar_t.
|
||||
Correct comment for `register_printf_function'.
|
||||
|
||||
* nss/getXXbyYY.c [NEED_H_ERRNO]: Don't pass pointer to h_errno
|
||||
to reentrant function. Instead use temporary variable and set
|
||||
h_errno if an error occured.
|
||||
Reported by NIIBE Yutaka.
|
||||
|
||||
Fri Nov 15 12:27:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
|
||||
|
||||
* sysdeps/mach/hurd/statbuf.h (S_IPTRANS, S_IATRANS, S_IROOT,
|
||||
|
@ -29,7 +285,7 @@ Thu Nov 14 12:53:16 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
|
|||
prototyped definition.
|
||||
|
||||
* sysdeps/mach/hurd/select.c (__select): Deal properly when there
|
||||
are no bits set in the masks. Reported by baldazzi@csr.unibo.it.
|
||||
are no bits set in the masks. Reported by baldazzi@csr.unibo.it.
|
||||
|
||||
Thu Nov 14 02:00:33 1996 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
|
|
7
Makefile
7
Makefile
|
@ -89,7 +89,7 @@ before-compile = $(objpfx)version-info.h
|
|||
echo-headers: subdir_echo-headers
|
||||
|
||||
# What to install.
|
||||
install-others = $(includedir)/stubs.h $(includedir)/gnu/lib-names.h
|
||||
install-others = $(includedir)/stubs.h
|
||||
|
||||
ifeq (yes,$(gnu-ld))
|
||||
libc-init = set-init
|
||||
|
@ -176,6 +176,8 @@ $(includedir)/stubs.h: subdir_install
|
|||
else $(INSTALL_DATA) $(objpfx)stubs.h $@; fi
|
||||
rm -f $(objpfx)stubs.h
|
||||
|
||||
ifeq (yes, $(build-shared))
|
||||
|
||||
# Like stubs.h the gnu/lib-names.h header is not used while building the
|
||||
# libc itself. So we generate it while installing.
|
||||
$(includedir)/gnu/lib-names.h: $(common-objpfx)soversions.mk
|
||||
|
@ -198,6 +200,9 @@ $(includedir)/gnu/lib-names.h: $(common-objpfx)soversions.mk
|
|||
then echo 'gnu/lib-names.h unchanged'; \
|
||||
else $(INSTALL_DATA) $(objpfx)lib-names.h $@; fi
|
||||
rm -f $(objpfx)lib-names.h
|
||||
|
||||
install-others += $(includedir)/gnu/lib-names.h
|
||||
endif
|
||||
|
||||
# This makes the Info or DVI file of the documentation from the Texinfo source.
|
||||
.PHONY: info dvi
|
||||
|
|
30
db/makedb.c
30
db/makedb.c
|
@ -1,22 +1,22 @@
|
|||
/* makedb -- create simple DB database from textual input.
|
||||
Copyright (C) 1996 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
||||
Copyright (C) 1996 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
||||
|
||||
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 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.
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <db.h>
|
||||
#include <ctype.h>
|
||||
|
|
|
@ -157,13 +157,13 @@ extern void seekdir __P ((DIR *__dirp, __off_t __pos));
|
|||
/* Return the current position of DIRP. */
|
||||
extern __off_t telldir __P ((DIR *__dirp));
|
||||
|
||||
/* Scan the directory DIR, calling SELECT on each directory entry.
|
||||
/* Scan the directory DIR, calling SELECTOR on each directory entry.
|
||||
Entries for which SELECT returns nonzero are individually malloc'd,
|
||||
sorted using qsort with CMP, and collected in a malloc'd array in
|
||||
*NAMELIST. Returns the number of entries selected, or -1 on error. */
|
||||
extern int scandir __P ((__const char *__dir,
|
||||
struct dirent ***__namelist,
|
||||
int (*__select) __P ((struct dirent *)),
|
||||
int (*__selector) __P ((struct dirent *)),
|
||||
int (*__cmp) __P ((__const __ptr_t,
|
||||
__const __ptr_t))));
|
||||
|
||||
|
|
|
@ -14,9 +14,9 @@
|
|||
# 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.
|
||||
# License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||
# write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
# Boston, MA 02111-1307, USA.
|
||||
|
||||
subdir := elf
|
||||
|
||||
|
@ -85,7 +85,7 @@ endef
|
|||
CFLAGS-dl-support.c = -D'DEFAULT_RPATH="$(default-rpath)"'
|
||||
|
||||
ifneq (ld.so, $(rtld-installed-name))
|
||||
# Make sure ld-gnu.so.1 exists in the build directory so we can link
|
||||
# Make sure ld.so.1 exists in the build directory so we can link
|
||||
# against it.
|
||||
$(objpfx)$(rtld-installed-name): $(objpfx)ld.so
|
||||
rm -f $@
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
/* _dl_close -- Close a shared object opened by `_dl_open'.
|
||||
Copyright (C) 1996 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
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 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.
|
||||
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. */
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <link.h>
|
||||
#include <dlfcn.h>
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
/* Communicate dynamic linker state to the debugger at runtime.
|
||||
Copyright (C) 1996 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
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 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.
|
||||
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. */
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <link.h>
|
||||
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
/* Load the dependencies of a mapped object.
|
||||
Copyright (C) 1996 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
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 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.
|
||||
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. */
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <link.h>
|
||||
#include <errno.h>
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
/* Error handling for runtime dynamic linker.
|
||||
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Copyright (C) 1995, 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 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.
|
||||
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. */
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <stddef.h>
|
||||
#include <link.h>
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
/* Call the termination functions of loaded shared objects.
|
||||
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Copyright (C) 1995, 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 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.
|
||||
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. */
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <link.h>
|
||||
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
/* Return the next shared object initializer function not yet run.
|
||||
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Copyright (C) 1995, 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 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.
|
||||
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. */
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <stddef.h>
|
||||
#include <link.h>
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
/* _dl_map_object -- Map in a shared object's segments from the file.
|
||||
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Copyright (C) 1995, 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 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.
|
||||
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. */
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <link.h>
|
||||
#include <sys/types.h>
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
/* Look up a symbol in the loaded objects.
|
||||
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Copyright (C) 1995, 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 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.
|
||||
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. */
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <stddef.h>
|
||||
#include <link.h>
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
/* Minimal replacements for basic facilities used in the dynamic linker.
|
||||
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Copyright (C) 1995, 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 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.
|
||||
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. */
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/mman.h>
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
/* Storage management for the chain of loaded shared objects.
|
||||
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Copyright (C) 1995, 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 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.
|
||||
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. */
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <link.h>
|
||||
#include <assert.h>
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
/* Load a shared object at runtime, relocate it, and run its initializer.
|
||||
Copyright (C) 1996 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
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 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.
|
||||
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. */
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <link.h>
|
||||
#include <dlfcn.h>
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
/* Relocate a shared object and resolve its references to other loaded objects.
|
||||
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Copyright (C) 1995, 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 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.
|
||||
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. */
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <link.h>
|
||||
#include <sys/types.h>
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
/* On-demand PLT fixup for shared objects.
|
||||
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Copyright (C) 1995, 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 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.
|
||||
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. */
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <link.h>
|
||||
#include <stddef.h>
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
/* Support for dynamic linking code in static libc.
|
||||
Copyright (C) 1996 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
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 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.
|
||||
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. */
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <assert.h>
|
||||
#include <fcntl.h>
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
/* Look up a symbol's run-time value in the scope of a loaded object.
|
||||
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Copyright (C) 1995, 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 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.
|
||||
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. */
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <stddef.h>
|
||||
#include <link.h>
|
||||
|
|
29
elf/dladdr.c
29
elf/dladdr.c
|
@ -1,21 +1,21 @@
|
|||
/* dladdr -- Locate the shared object symbol nearest a given address.
|
||||
Copyright (C) 1996 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
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 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.
|
||||
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. */
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <stddef.h>
|
||||
#include <link.h>
|
||||
|
@ -83,4 +83,3 @@ dladdr (void *address, Dl_info *info)
|
|||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
/* dlclose -- Close a handle opened by `dlopen'.
|
||||
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Copyright (C) 1995, 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 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.
|
||||
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. */
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <link.h>
|
||||
#include <dlfcn.h>
|
||||
|
@ -30,4 +30,3 @@ dlclose (void *handle)
|
|||
|
||||
return _dlerror_run (doit) ? -1 : 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
/* dlerror -- Return error detail for failing <dlfcn.h> functions.
|
||||
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Copyright (C) 1995, 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 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.
|
||||
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. */
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <link.h>
|
||||
#include <dlfcn.h>
|
||||
|
|
28
elf/dlopen.c
28
elf/dlopen.c
|
@ -1,21 +1,21 @@
|
|||
/* dlopen -- Load a shared object at run time.
|
||||
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Copyright (C) 1995, 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 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.
|
||||
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. */
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <stddef.h>
|
||||
#include <link.h>
|
||||
|
|
28
elf/dlsym.c
28
elf/dlsym.c
|
@ -1,21 +1,21 @@
|
|||
/* dlsym -- Look up a symbol in a shared object loaded by `dlopen'.
|
||||
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Copyright (C) 1995, 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 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.
|
||||
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. */
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <stddef.h>
|
||||
#include <link.h>
|
||||
|
|
28
elf/do-rel.h
28
elf/do-rel.h
|
@ -1,21 +1,21 @@
|
|||
/* Do relocations for ELF dynamic linking.
|
||||
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Copyright (C) 1995, 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 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.
|
||||
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. */
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
/* This file may be included twice, to define both
|
||||
`elf_dynamic_do_rel' and `elf_dynamic_do_rela'. */
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
/* Inline functions for dynamic linking.
|
||||
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Copyright (C) 1995, 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 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.
|
||||
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. */
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <elf.h>
|
||||
#include <dl-machine.h>
|
||||
|
|
28
elf/eval.c
28
elf/eval.c
|
@ -1,21 +1,21 @@
|
|||
/* You don't really want to know what this hack is for.
|
||||
Copyright (C) 1996 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
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 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.
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <ctype.h>
|
||||
|
|
28
elf/rtld.c
28
elf/rtld.c
|
@ -1,21 +1,21 @@
|
|||
/* Run time dynamic linker.
|
||||
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Copyright (C) 1995, 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 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.
|
||||
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. */
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <link.h>
|
||||
#include <stddef.h>
|
||||
|
|
|
@ -46,6 +46,8 @@ routines := ntohl ntohs htonl htons \
|
|||
getaliasent_r getaliasent getaliasname getaliasname_r
|
||||
|
||||
# No warnings about losing BSD code.
|
||||
override +gccwarn := -w
|
||||
CFLAGS-rcmd.c = -w
|
||||
CFLAGS-rexec.c = -w
|
||||
CFLAGS-ruserpass.c = -w
|
||||
|
||||
include ../Rules
|
||||
|
|
|
@ -24,6 +24,8 @@
|
|||
#include <sys/types.h>
|
||||
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
/* Structure to represent one entry of the alias data base. */
|
||||
struct aliasent
|
||||
{
|
||||
|
@ -57,5 +59,6 @@ extern int getaliasbyname_r __P ((__const char *__name,
|
|||
struct aliasent **__result));
|
||||
#endif /* reentrant */
|
||||
|
||||
__END_DECLS
|
||||
|
||||
#endif /* aliases.h */
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
/* Copyright (C) 1996 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
||||
|
||||
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 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.
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <netinet/ether.h>
|
||||
#include <netinet/if_ether.h>
|
||||
|
@ -35,6 +35,10 @@ struct etherent
|
|||
/* Type of the lookup function we need here. */
|
||||
typedef int (*lookup_function) (const char *, struct etherent *, char *, int);
|
||||
|
||||
/* The lookup function for the first entry of this service. */
|
||||
extern int __nss_ethers_lookup (service_user **nip, const char *name,
|
||||
void **fctp);
|
||||
|
||||
|
||||
int
|
||||
ether_hostton (const char *hostname, struct ether_addr *addr)
|
||||
|
@ -44,7 +48,6 @@ ether_hostton (const char *hostname, struct ether_addr *addr)
|
|||
service_user *nip;
|
||||
lookup_function fct;
|
||||
int no_more;
|
||||
int result;
|
||||
enum nss_status status = NSS_STATUS_UNAVAIL;
|
||||
struct etherent etherent;
|
||||
|
||||
|
|
|
@ -1,22 +1,24 @@
|
|||
/* Copyright (C) 1996 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
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 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.
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <ctype.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <netinet/ether.h>
|
||||
#include <netinet/if_ether.h>
|
||||
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
/* Copyright (C) 1996 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
||||
|
||||
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 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.
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <netinet/ether.h>
|
||||
#include <netinet/if_ether.h>
|
||||
|
@ -36,6 +36,10 @@ struct etherent
|
|||
typedef int (*lookup_function) (const struct ether_addr *, struct etherent *,
|
||||
char *, int);
|
||||
|
||||
/* The lookup function for the first entry of this service. */
|
||||
extern int __nss_ethers_lookup (service_user **nip, const char *name,
|
||||
void **fctp);
|
||||
|
||||
|
||||
int
|
||||
ether_ntohost (char *hostname, const struct ether_addr *addr)
|
||||
|
@ -45,7 +49,6 @@ ether_ntohost (char *hostname, const struct ether_addr *addr)
|
|||
service_user *nip;
|
||||
lookup_function fct;
|
||||
int no_more;
|
||||
int result;
|
||||
enum nss_status status = NSS_STATUS_UNAVAIL;
|
||||
struct etherent etherent;
|
||||
|
||||
|
|
|
@ -1,23 +1,24 @@
|
|||
/* Copyright (C) 1996 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
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 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.
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <libc-lock.h>
|
||||
#include <netdb.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "netgroup.h"
|
||||
#include "nsswitch.h"
|
||||
|
@ -34,11 +35,11 @@ static service_user *nip;
|
|||
kept in this structure. */
|
||||
static struct __netgrent dataset;
|
||||
|
||||
|
||||
/* The lookup function for the first entry of this service. */
|
||||
extern int __nss_netgroup_lookup (service_user **nip, const char *name,
|
||||
void **fctp);
|
||||
|
||||
|
||||
/* Set up NIP to run through the services. If ALL is zero, use NIP's
|
||||
current location if it's not nil. Return nonzero if there are no
|
||||
services (left). */
|
||||
|
@ -76,7 +77,7 @@ free_memory (struct __netgrent *data)
|
|||
{
|
||||
struct name_list *tmp = data->known_groups;
|
||||
data->known_groups = data->known_groups->next;
|
||||
free (tmp->name);
|
||||
free ((void *) tmp->name);
|
||||
free (tmp);
|
||||
}
|
||||
|
||||
|
@ -84,7 +85,7 @@ free_memory (struct __netgrent *data)
|
|||
{
|
||||
struct name_list *tmp = data->needed_groups;
|
||||
data->needed_groups = data->needed_groups->next;
|
||||
free (tmp->name);
|
||||
free ((void *) tmp->name);
|
||||
free (tmp);
|
||||
}
|
||||
}
|
||||
|
@ -113,7 +114,7 @@ __internal_setnetgrent_reuse (const char *group, struct __netgrent *datap)
|
|||
{
|
||||
if (new_elem != NULL)
|
||||
free (new_elem);
|
||||
status == NSS_STATUS_UNAVAIL;
|
||||
status = NSS_STATUS_UNAVAIL;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -260,9 +261,9 @@ __internal_getnetgrent (char **hostp, char **userp, char **domainp,
|
|||
|
||||
if (status == NSS_STATUS_SUCCESS)
|
||||
{
|
||||
*hostp = datap->val.triple.host;
|
||||
*userp = datap->val.triple.user;
|
||||
*domainp = datap->val.triple.domain;
|
||||
*hostp = (char *) datap->val.triple.host;
|
||||
*userp = (char *) datap->val.triple.user;
|
||||
*domainp = (char *) datap->val.triple.domain;
|
||||
}
|
||||
|
||||
return status == NSS_STATUS_SUCCESS ? 1 : 0;
|
||||
|
@ -294,8 +295,8 @@ innetgr (const char *netgroup, const char *host, const char *user,
|
|||
int (*setfct) (const char *, struct __netgrent *);
|
||||
void (*endfct) (struct __netgrent *);
|
||||
int (*getfct) (struct __netgrent *, char *, size_t);
|
||||
struct name_list *known;
|
||||
struct name_list *needed;
|
||||
struct name_list *known = NULL;
|
||||
struct name_list *needed = NULL;
|
||||
int result = 0;
|
||||
int no_more;
|
||||
const char *current_group = netgroup;
|
||||
|
@ -407,14 +408,14 @@ innetgr (const char *netgroup, const char *host, const char *user,
|
|||
{
|
||||
struct name_list *tmp = known;
|
||||
known = known->next;
|
||||
free (tmp->name);
|
||||
free ((void *) tmp->name);
|
||||
free (tmp);
|
||||
}
|
||||
while (needed != NULL)
|
||||
{
|
||||
struct name_list *tmp = needed;
|
||||
needed = needed->next;
|
||||
free (tmp->name);
|
||||
free ((void *) tmp->name);
|
||||
free (tmp);
|
||||
}
|
||||
|
||||
|
|
|
@ -49,10 +49,9 @@ u_int32_t
|
|||
inet_network(cp)
|
||||
register const char *cp;
|
||||
{
|
||||
register u_int32_t val, base, n;
|
||||
register u_int32_t val, base, n, i;
|
||||
register char c;
|
||||
u_int32_t parts[4], *pp = parts;
|
||||
register int i;
|
||||
|
||||
again:
|
||||
val = 0; base = 10;
|
||||
|
|
|
@ -43,11 +43,11 @@ struct tcphdr {
|
|||
u_short th_dport; /* destination port */
|
||||
tcp_seq th_seq; /* sequence number */
|
||||
tcp_seq th_ack; /* acknowledgement number */
|
||||
#if BYTE_ORDER == LITTLE_ENDIAN
|
||||
#if __BYTE_ORDER == __LITTLE_ENDIAN
|
||||
u_char th_x2:4, /* (unused) */
|
||||
th_off:4; /* data offset */
|
||||
#endif
|
||||
#if BYTE_ORDER == BIG_ENDIAN
|
||||
#if __BYTE_ORDER == __BIG_ENDIAN
|
||||
u_char th_off:4, /* data offset */
|
||||
th_x2:4; /* (unused) */
|
||||
#endif
|
||||
|
|
|
@ -59,7 +59,7 @@ Cambridge, MA 02139, USA. */
|
|||
/* We need a sign, whether a new catalog was loaded, which can be associated
|
||||
with all translations. This is important if the translations are
|
||||
cached by one of GCC's features. */
|
||||
int _nl_msg_cat_cntr;
|
||||
int _nl_msg_cat_cntr = 0;
|
||||
|
||||
|
||||
/* Load the message catalogs specified by FILENAME. If it is no valid
|
||||
|
|
|
@ -39,10 +39,10 @@ struct utimbuf
|
|||
__time_t modtime; /* Modification time. */
|
||||
};
|
||||
|
||||
/* Set the access and modification times of FILE to those given in TIMES.
|
||||
If TIMES is NULL, set them to the current time. */
|
||||
/* Set the access and modification times of FILE to those given in
|
||||
*FILE_TIMES. If FILE_TIMES is NULL, set them to the current time. */
|
||||
extern int utime __P ((__const char *__file,
|
||||
__const struct utimbuf *__times));
|
||||
__const struct utimbuf *__file_times));
|
||||
|
||||
__END_DECLS
|
||||
|
||||
|
|
|
@ -88,10 +88,10 @@ __MATHCALL (atanh,, (_Mdouble_ __x));
|
|||
__MATHCALL (exp,, (_Mdouble_ __x));
|
||||
|
||||
/* Break VALUE into a normalized fraction and an integral power of 2. */
|
||||
__MATHCALL (frexp,, (_Mdouble_ __value, int *__exp));
|
||||
__MATHCALL (frexp,, (_Mdouble_ __x, int *__exponent));
|
||||
|
||||
/* X times (two to the EXP power). */
|
||||
__MATHCALL (ldexp,, (_Mdouble_ __x, int __exp));
|
||||
__MATHCALL (ldexp,, (_Mdouble_ __x, int __exponent));
|
||||
|
||||
/* Natural logarithm of X. */
|
||||
__MATHCALL (log,, (_Mdouble_ __x));
|
||||
|
@ -111,7 +111,7 @@ __MATHCALL (logb,, (_Mdouble_ __x));
|
|||
#endif
|
||||
|
||||
/* Break VALUE into integral and fractional parts. */
|
||||
__MATHCALL (modf,, (_Mdouble_ __value, _Mdouble_ *__iptr));
|
||||
__MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr));
|
||||
|
||||
|
||||
/* Power functions. */
|
||||
|
|
|
@ -11,7 +11,8 @@ all: $(patsubst %,$(VAR_DB)/%.db,$(notdir $(DATABASES)))
|
|||
|
||||
$(VAR_DB)/passwd.db: /etc/passwd
|
||||
@echo -n "$(patsubst %.db,%,$(@F))... "
|
||||
@$(AWK) 'BEGIN { FS=":"; OFS=":" } \
|
||||
@$(AWK) 'BEGIN { FS=":"; OFS=":"; cnt=0 } \
|
||||
{ printf "0%u ", cnt++; print } \
|
||||
/^[^#]/ { printf ".%s ", $$1; print; \
|
||||
if (!uids[$$3]++) \
|
||||
{ printf "=%s ", $$3; print } }' $^ | \
|
||||
|
@ -20,7 +21,8 @@ $(VAR_DB)/passwd.db: /etc/passwd
|
|||
|
||||
$(VAR_DB)/group.db: /etc/group
|
||||
@echo -n "$(patsubst %.db,%,$(@F))... "
|
||||
@$(AWK) 'BEGIN { FS=":"; OFS=":" } \
|
||||
@$(AWK) 'BEGIN { FS=":"; OFS=":"; cnt=0 } \
|
||||
{ printf "0%u ", cnt++; print } \
|
||||
/^[^#]/ { printf ".%s ", $$1; print; \
|
||||
printf "=%s ", $$3; print }' $^ | \
|
||||
$(MAKEDB) -o $@ -
|
||||
|
@ -28,14 +30,18 @@ $(VAR_DB)/group.db: /etc/group
|
|||
|
||||
$(VAR_DB)/ethers.db: /etc/ethers
|
||||
@echo -n "$(patsubst %.db,%,$(@F))... "
|
||||
@$(AWK) '/^[^#]/ { printf ".%s ", $$1; print; \
|
||||
@$(AWK) 'BEGIN { cnt=0 } \
|
||||
{ printf "0%u ", cnt++; print } \
|
||||
/^[^#]/ { printf ".%s ", $$1; print; \
|
||||
printf "=%s ", $$2; print }' $^ | \
|
||||
$(MAKEDB) -o $@ -
|
||||
@echo "done."
|
||||
|
||||
$(VAR_DB)/protocols.db: /etc/protocols
|
||||
@echo -n "$(patsubst %.db,%,$(@F))... "
|
||||
@$(AWK) '/^[^#]/ { printf ".%s ", $$1; print; \
|
||||
@$(AWK) 'BEGIN { cnt=0 } \
|
||||
{ printf "0%u ", cnt++; print } \
|
||||
/^[^#]/ { printf ".%s ", $$1; print; \
|
||||
printf "=%s ", $$2; print; \
|
||||
for (i = 3; i <= NF && !($$i ~ /^#/); ++i) \
|
||||
{ printf ".%s ", $$i; print } }' $^ | \
|
||||
|
@ -44,7 +50,9 @@ $(VAR_DB)/protocols.db: /etc/protocols
|
|||
|
||||
$(VAR_DB)/rpc.db: /etc/rpc
|
||||
@echo -n "$(patsubst %.db,%,$(@F))... "
|
||||
@$(AWK) '/^[^#]/ { printf ".%s ", $$1; print; \
|
||||
@$(AWK) 'BEGIN { cnt=0 } \
|
||||
{ printf "0%u ", cnt++; print } \
|
||||
/^[^#]/ { printf ".%s ", $$1; print; \
|
||||
printf "=%s ", $$2; print; \
|
||||
for (i = 3; i <= NF && !($$i ~ /^#/); ++i) \
|
||||
{ printf ".%s ", $$i; print } }' $^ | \
|
||||
|
@ -53,7 +61,8 @@ $(VAR_DB)/rpc.db: /etc/rpc
|
|||
|
||||
$(VAR_DB)/services.db: /etc/services
|
||||
@echo -n "$(patsubst %.db,%,$(@F))... "
|
||||
@$(AWK) 'BEGIN { FS="[ \t/]+" } \
|
||||
@$(AWK) 'BEGIN { FS="[ \t/]+"; cnt=0 } \
|
||||
{ printf "0%u ", cnt++; print } \
|
||||
/^[^#]/ { printf ".%s/%s ", $$1, $$3; print; \
|
||||
printf "=%s/%s ", $$2, $$3; print; \
|
||||
for (i = 4; i <= NF && !($$i ~ /^#/); ++i) \
|
||||
|
@ -63,14 +72,17 @@ $(VAR_DB)/services.db: /etc/services
|
|||
|
||||
$(VAR_DB)/shadow.db: /etc/shadow
|
||||
@echo -n "$(patsubst %.db,%,$(@F))... "
|
||||
@$(AWK) 'BEGIN { FS=":"; OFS=":" } \
|
||||
@$(AWK) 'BEGIN { FS=":"; OFS=":"; cnt=0 } \
|
||||
{ printf "0%u ", cnt++; print } \
|
||||
/^[^#]/ { printf ".%s ", $$1; print }' $^ | \
|
||||
$(MAKEDB) -o $@ -
|
||||
@echo "done."
|
||||
|
||||
$(VAR_DB)/netgroup.db: /etc/netgroup
|
||||
@echo -n "$(patsubst %.db,%,$(@F))... "
|
||||
@$(AWK) '/^[^#]/ { end=sub(/\\/, " "); \
|
||||
@$(AWK) 'BEGIN { cnt=0 } \
|
||||
{ printf "0%u ", cnt++; print } \
|
||||
/^[^#]/ { end=sub(/\\/, " "); \
|
||||
gsub(/[ \t]+/, " "); \
|
||||
if(end == 1) printf "%s", $$0; else print }' $^ | \
|
||||
$(MAKEDB) -o $@ -
|
||||
|
|
|
@ -109,7 +109,8 @@ INTERNAL (REENTRANT_NAME) (ADD_PARAMS, LOOKUP_TYPE *resbuf, char *buffer,
|
|||
if ((_res.options & RES_INIT) == 0 && res_init () == -1)
|
||||
{
|
||||
*h_errnop = NETDB_INTERNAL;
|
||||
return NULL;
|
||||
*result = NULL;
|
||||
return -1;
|
||||
}
|
||||
#endif /* need _res */
|
||||
}
|
||||
|
|
|
@ -150,7 +150,7 @@ SETFUNC_NAME (STAYOPEN)
|
|||
if ((_res.options & RES_INIT) == 0 && res_init () == -1)
|
||||
{
|
||||
__set_h_errno (NETDB_INTERNAL);
|
||||
return NULL;
|
||||
return;
|
||||
}
|
||||
#endif /* need _res */
|
||||
|
||||
|
@ -188,7 +188,7 @@ ENDFUNC_NAME (void)
|
|||
if ((_res.options & RES_INIT) == 0 && res_init () == -1)
|
||||
{
|
||||
__set_h_errno (NETDB_INTERNAL);
|
||||
return NULL;
|
||||
return;
|
||||
}
|
||||
#endif /* need _res */
|
||||
|
||||
|
@ -225,7 +225,8 @@ INTERNAL (REENTRANT_GETNAME) (LOOKUP_TYPE *resbuf, char *buffer, size_t buflen,
|
|||
if ((_res.options & RES_INIT) == 0 && res_init () == -1)
|
||||
{
|
||||
__set_h_errno (NETDB_INTERNAL);
|
||||
return NULL;
|
||||
*result = NULL;
|
||||
return -1;
|
||||
}
|
||||
#endif /* need _res */
|
||||
|
||||
|
|
|
@ -149,7 +149,7 @@ get_next_alias (const char *match, struct aliasent *result,
|
|||
/* If we are in IGNORE mode and the first character in the
|
||||
line is a white space we ignore the line and start
|
||||
reading the next. */
|
||||
if (ignore && isspace (first_unused))
|
||||
if (ignore && isspace (*first_unused))
|
||||
continue;
|
||||
|
||||
/* Terminate the line for any case. */
|
||||
|
@ -179,7 +179,7 @@ get_next_alias (const char *match, struct aliasent *result,
|
|||
looking for. If it does not match we simply ignore all
|
||||
lines until the next line containing the start of a new
|
||||
alias is found. */
|
||||
ignore = match != NULL && strcmp (result->alias_name, match) == 0;
|
||||
ignore = match != NULL && strcmp (result->alias_name, match) != 0;
|
||||
|
||||
while (! ignore)
|
||||
{
|
||||
|
@ -192,16 +192,11 @@ get_next_alias (const char *match, struct aliasent *result,
|
|||
|
||||
if (first_unused != cp)
|
||||
{
|
||||
/* OK, we can have a regular entry or an include
|
||||
request. */
|
||||
if (*line != '\0')
|
||||
{
|
||||
/* OK, we can have a regular entry or an include
|
||||
request. */
|
||||
*first_unused++ = '\0';
|
||||
++line;
|
||||
}
|
||||
else
|
||||
++first_unused;
|
||||
|
||||
++line;
|
||||
*first_unused++ = '\0';
|
||||
|
||||
if (strncmp (cp, ":include:", 9) != 0)
|
||||
{
|
||||
|
@ -295,10 +290,8 @@ get_next_alias (const char *match, struct aliasent *result,
|
|||
just read character. */
|
||||
int ch;
|
||||
|
||||
first_unused[room_left - 1] = '\0';
|
||||
line = first_unused;
|
||||
ch = fgetc (stream);
|
||||
if (ch == EOF || !isspace (ch))
|
||||
if (ch == EOF || ch == '\n' || !isspace (ch))
|
||||
{
|
||||
size_t cnt;
|
||||
|
||||
|
@ -329,6 +322,10 @@ get_next_alias (const char *match, struct aliasent *result,
|
|||
|
||||
/* The just read character is a white space and so
|
||||
can be ignored. */
|
||||
first_unused[room_left - 1] = '\0';
|
||||
line = fgets (first_unused, room_left, stream);
|
||||
if (first_unused[room_left - 1] != '\0')
|
||||
goto no_more_room;
|
||||
cp = strpbrk (line, "#\n");
|
||||
if (cp != NULL)
|
||||
*cp = '\0';
|
||||
|
@ -419,6 +416,8 @@ _nss_files_getaliasbyname_r (const char *name, struct aliasent *result,
|
|||
while (status == NSS_STATUS_RETURN);
|
||||
}
|
||||
|
||||
internal_endent ();
|
||||
|
||||
__libc_lock_unlock (lock);
|
||||
|
||||
return status;
|
||||
|
|
|
@ -72,7 +72,7 @@ __BEGIN_DECLS
|
|||
/* Encryption is present. */
|
||||
#define _XOPEN_CRYPT 1
|
||||
|
||||
/* The enchanced internationalization capabilities according to XPG4.2
|
||||
/* The enhanced internationalization capabilities according to XPG4.2
|
||||
are present. */
|
||||
#define _XOPEN_ENH_I18N 1
|
||||
|
||||
|
|
|
@ -445,7 +445,7 @@ INTERNAL (STRTOF) (nptr, endptr, group)
|
|||
|
||||
/* If no other digit but a '0' is found the result is 0.0.
|
||||
Return current read pointer. */
|
||||
if ((c < L_('0') || c > L_('9')) && (wint_t) c != decimal)
|
||||
if ((c < L_('0') || c > L_('9')) && (wint_t) c != decimal && !TOLOWER (c))
|
||||
{
|
||||
tp = correctly_grouped_prefix (start_of_digits, cp, thousands, grouping);
|
||||
/* If TP is at the start of the digits, there was no correctly
|
||||
|
|
|
@ -1,22 +1,21 @@
|
|||
/* Copyright (C) 1991 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
/* Copyright (C) 1991, 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 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.
|
||||
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. */
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <ansidecl.h>
|
||||
#include <ctype.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -25,27 +24,28 @@ Cambridge, MA 02139, USA. */
|
|||
|
||||
struct ltest
|
||||
{
|
||||
CONST char *str; /* Convert this. */
|
||||
const char *str; /* Convert this. */
|
||||
double expect; /* To get this. */
|
||||
char left; /* With this left over. */
|
||||
int err; /* And this in errno. */
|
||||
};
|
||||
static CONST struct ltest tests[] =
|
||||
static const struct ltest tests[] =
|
||||
{
|
||||
{ "12.345", 12.345, '\0', 0 },
|
||||
{ "12.345e19", 12.345e19, '\0', 0 },
|
||||
{ "-.1e+9", -.1e+9, '\0', 0 },
|
||||
{ ".125", .125, '\0', 0 },
|
||||
{ "1e20", 1e20, '\0', 0 },
|
||||
{ "0e-19", 0, '\0', 0 },
|
||||
{ NULL, 0, '\0', 0 }
|
||||
};
|
||||
|
||||
static void EXFUN(expand, (char *dst, int c));
|
||||
static void expand __P ((char *dst, int c));
|
||||
|
||||
int
|
||||
DEFUN_VOID(main)
|
||||
main ()
|
||||
{
|
||||
register CONST struct ltest *lt;
|
||||
register const struct ltest *lt;
|
||||
char *ep;
|
||||
int status = 0;
|
||||
|
||||
|
@ -82,7 +82,9 @@ DEFUN_VOID(main)
|
|||
}
|
||||
|
||||
static void
|
||||
DEFUN(expand, (dst, c), register char *dst AND register int c)
|
||||
expand (dst, c)
|
||||
char *dst;
|
||||
register int c;
|
||||
{
|
||||
if (isprint(c))
|
||||
{
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
setjmp_aux.c
|
||||
DEFS.h
|
||||
divrem.h
|
||||
divl.S divlu.S divq.S divqu.S reml.S remlu.S remq.S remqu.S
|
||||
divl.S divq.S reml.S remq.S
|
||||
_mcount.S
|
||||
stxcpy.S
|
||||
stxncpy.S
|
||||
|
|
|
@ -605,17 +605,53 @@ TRANS Go home and have a glass of warm, dairy-fresh milk. */
|
|||
TRANS This error code has no purpose. */
|
||||
[EGRATUITOUS] = N_("Gratuitous error"),
|
||||
#endif
|
||||
#ifdef ERESTART
|
||||
#ifdef EBADMSG
|
||||
/* */
|
||||
[ERESTART] = N_("Interrupted system call should be restarted"),
|
||||
[EBADMSG] = N_("Bad message"),
|
||||
#endif
|
||||
#ifdef EIDRM
|
||||
/* */
|
||||
[EIDRM] = N_("Identifier removed"),
|
||||
#endif
|
||||
#ifdef EMULTIHOP
|
||||
/* */
|
||||
[EMULTIHOP] = N_("Multihop attempted"),
|
||||
#endif
|
||||
#ifdef ENODATA
|
||||
/* */
|
||||
[ENODATA] = N_("No data available"),
|
||||
#endif
|
||||
#ifdef ENOLINK
|
||||
/* */
|
||||
[ENOLINK] = N_("Link has been severed"),
|
||||
#endif
|
||||
#ifdef ENOMSG
|
||||
/* */
|
||||
[ENOMSG] = N_("No message of desired type"),
|
||||
#endif
|
||||
#ifdef EIDRM
|
||||
#ifdef ENOSR
|
||||
/* */
|
||||
[EIDRM] = N_("Identifier removed"),
|
||||
[ENOSR] = N_("Out of streams resources"),
|
||||
#endif
|
||||
#ifdef ENOSTR
|
||||
/* */
|
||||
[ENOSTR] = N_("Device not a stream"),
|
||||
#endif
|
||||
#ifdef EOVERFLOW
|
||||
/* */
|
||||
[EOVERFLOW] = N_("Value too large for defined data type"),
|
||||
#endif
|
||||
#ifdef EPROTO
|
||||
/* */
|
||||
[EPROTO] = N_("Protocol error"),
|
||||
#endif
|
||||
#ifdef ETIME
|
||||
/* */
|
||||
[ETIME] = N_("Timer expired"),
|
||||
#endif
|
||||
#ifdef ERESTART
|
||||
/* */
|
||||
[ERESTART] = N_("Interrupted system call should be restarted"),
|
||||
#endif
|
||||
#ifdef ECHRNG
|
||||
/* */
|
||||
|
@ -681,22 +717,6 @@ TRANS This error code has no purpose. */
|
|||
/* */
|
||||
[EBFONT] = N_("Bad font file format"),
|
||||
#endif
|
||||
#ifdef ENOSTR
|
||||
/* */
|
||||
[ENOSTR] = N_("Device not a stream"),
|
||||
#endif
|
||||
#ifdef ENODATA
|
||||
/* */
|
||||
[ENODATA] = N_("No data available"),
|
||||
#endif
|
||||
#ifdef ETIME
|
||||
/* */
|
||||
[ETIME] = N_("Timer expired"),
|
||||
#endif
|
||||
#ifdef ENOSR
|
||||
/* */
|
||||
[ENOSR] = N_("Out of streams resources"),
|
||||
#endif
|
||||
#ifdef ENONET
|
||||
/* */
|
||||
[ENONET] = N_("Machine is not on the network"),
|
||||
|
@ -705,10 +725,6 @@ TRANS This error code has no purpose. */
|
|||
/* */
|
||||
[ENOPKG] = N_("Package not installed"),
|
||||
#endif
|
||||
#ifdef ENOLINK
|
||||
/* */
|
||||
[ENOLINK] = N_("Link has been severed"),
|
||||
#endif
|
||||
#ifdef EADV
|
||||
/* */
|
||||
[EADV] = N_("Advertise error"),
|
||||
|
@ -721,26 +737,10 @@ TRANS This error code has no purpose. */
|
|||
/* */
|
||||
[ECOMM] = N_("Communication error on send"),
|
||||
#endif
|
||||
#ifdef EPROTO
|
||||
/* */
|
||||
[EPROTO] = N_("Protocol error"),
|
||||
#endif
|
||||
#ifdef EMULTIHOP
|
||||
/* */
|
||||
[EMULTIHOP] = N_("Multihop attempted"),
|
||||
#endif
|
||||
#ifdef EDOTDOT
|
||||
/* */
|
||||
[EDOTDOT] = N_("RFS specific error"),
|
||||
#endif
|
||||
#ifdef EBADMSG
|
||||
/* */
|
||||
[EBADMSG] = N_("Not a data message"),
|
||||
#endif
|
||||
#ifdef EOVERFLOW
|
||||
/* */
|
||||
[EOVERFLOW] = N_("Value too large for defined data type"),
|
||||
#endif
|
||||
#ifdef ENOTUNIQ
|
||||
/* */
|
||||
[ENOTUNIQ] = N_("Name not unique on network"),
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
/* Copyright (C) 1991, 1992, 1996 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
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 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.
|
||||
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. */
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
@ -43,10 +43,10 @@ readv (fd, vector, count)
|
|||
bytes += vector[i].iov_len;
|
||||
|
||||
/* Allocate a temporary buffer to hold the data. */
|
||||
buffer = (char *) __alloca(bytes);
|
||||
buffer = (char *) __alloca (bytes);
|
||||
|
||||
/* Read the data. */
|
||||
bytes_read = read(fd, buffer, bytes);
|
||||
bytes_read = read (fd, buffer, bytes);
|
||||
if (bytes_read <= 0)
|
||||
return -1;
|
||||
|
||||
|
@ -55,9 +55,9 @@ readv (fd, vector, count)
|
|||
for (i = 0; i < count; ++i)
|
||||
{
|
||||
#define min(a, b) ((a) > (b) ? (b) : (a))
|
||||
size_t copy = min(vector[i].iov_len, bytes);
|
||||
size_t copy = min (vector[i].iov_len, bytes);
|
||||
|
||||
(void) memcpy((PTR) vector[i].iov_base, (PTR) buffer, copy);
|
||||
(void) memcpy ((void *) vector[i].iov_base, (void *) buffer, copy);
|
||||
|
||||
buffer += copy;
|
||||
bytes -= copy;
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
/* Copyright (C) 1991, 1992, 1996 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
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 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.
|
||||
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. */
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
@ -43,7 +43,7 @@ writev (fd, vector, count)
|
|||
bytes += vector[i].iov_len;
|
||||
|
||||
/* Allocate a temporary buffer to hold the data. */
|
||||
buffer = (char *) __alloca(bytes);
|
||||
buffer = (char *) __alloca (bytes);
|
||||
|
||||
/* Copy the data into BUFFER. */
|
||||
to_copy = bytes;
|
||||
|
@ -51,9 +51,9 @@ writev (fd, vector, count)
|
|||
for (i = 0; i < count; ++i)
|
||||
{
|
||||
#define min(a, b) ((a) > (b) ? (b) : (a))
|
||||
size_t copy = min(vector[i].iov_len, to_copy);
|
||||
size_t copy = min (vector[i].iov_len, to_copy);
|
||||
|
||||
(void) memcpy((PTR) bp, (PTR) vector[i].iov_base, copy);
|
||||
(void) memcpy ((void *) bp, (void *) vector[i].iov_base, copy);
|
||||
|
||||
bp += copy;
|
||||
to_copy -= copy;
|
||||
|
@ -61,5 +61,5 @@ writev (fd, vector, count)
|
|||
break;
|
||||
}
|
||||
|
||||
return write(fd, buffer, bytes);
|
||||
return write (fd, buffer, bytes);
|
||||
}
|
||||
|
|
|
@ -24,7 +24,10 @@
|
|||
#include <sys/socket.h>
|
||||
#include <linux/in.h>
|
||||
|
||||
/* Standard well-known ports. */
|
||||
/* Standard well-known ports. The use of these constants is
|
||||
deprecated. Instead use the contents of the file `/etc/services'
|
||||
or similar databases by using the function getservbyname and
|
||||
getservbyport. */
|
||||
enum
|
||||
{
|
||||
IPPORT_ECHO = 7, /* Echo service. */
|
||||
|
@ -86,13 +89,13 @@ __BEGIN_DECLS
|
|||
|
||||
/* Functions to convert between host and network byte order. */
|
||||
|
||||
extern unsigned long int ntohl __P ((unsigned long int));
|
||||
extern unsigned short int ntohs __P ((unsigned short int));
|
||||
extern unsigned long int htonl __P ((unsigned long int));
|
||||
extern unsigned short int htons __P ((unsigned short int));
|
||||
extern unsigned long int ntohl __P ((unsigned long int __long_word));
|
||||
extern unsigned short int ntohs __P ((unsigned short int __short_word));
|
||||
extern unsigned long int htonl __P ((unsigned long int __long_word));
|
||||
extern unsigned short int htons __P ((unsigned short int __short_word));
|
||||
|
||||
/* Bind socket FD to a privileged IP address SIN. */
|
||||
extern int bindresvport __P ((int __fd, struct sockaddr_in * __sin));
|
||||
extern int bindresvport __P ((int __fd, struct sockaddr_in * __sock_in));
|
||||
|
||||
__END_DECLS
|
||||
|
||||
|
@ -101,14 +104,14 @@ __END_DECLS
|
|||
#if __BYTE_ORDER == __BIG_ENDIAN
|
||||
/* The host byte order is the same as network byte order,
|
||||
so these functions are all just identity. */
|
||||
#undef ntohl
|
||||
#define ntohl(x) (x)
|
||||
#undef ntohs
|
||||
#define ntohs(x) (x)
|
||||
#undef htonl
|
||||
#define htonl(x) (x)
|
||||
#undef htons
|
||||
#define htons(x) (x)
|
||||
# undef ntohl
|
||||
# define ntohl(x) (x)
|
||||
# undef ntohs
|
||||
# define ntohs(x) (x)
|
||||
# undef htonl
|
||||
# define htonl(x) (x)
|
||||
# undef htons
|
||||
# define htons(x) (x)
|
||||
#endif
|
||||
|
||||
#endif /* netinet/in.h */
|
||||
|
|
|
@ -125,7 +125,7 @@ $(installed-localtime-file): $(zonedir)/$(localtime) $(objpfx)zic
|
|||
echo Site timezone NOT reset to Factory.; \
|
||||
else \
|
||||
rm -f $@T; \
|
||||
$(SHELL) $(common-objpfx)$(..)rellns-sh $< $@T; \
|
||||
$(SHELL) $(top_absdir)/rellns-sh $< $@T; \
|
||||
mv -f $@T $@; \
|
||||
fi
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue