glibc/scripts/rellns-sh

78 lines
1.9 KiB
Plaintext
Raw Normal View History

#!/bin/sh
update from main archive 961101 Sat Nov 2 01:48:47 1996 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/errnos.h: Move declaration of errno and __errno_location to correct position. Thu Oct 31 22:51:25 1996 Ulrich Drepper <drepper@cygnus.com> * Makefile (distribute): Add rellns-sh. * rellns-sh: New file. * Makerules (make-link): Use rellns-sh. * time/Makefile ($(installed-localtime-file)): Likewise. Thu Oct 31 11:33:01 1996 Ulrich Drepper <drepper@cygnus.com> * elf/Makefile ($objpfx)ldd) Substitute $(version) for @VERSION@. (distribute): Add ldd.bash.in. * elf/ldd.sh.in: Process --help and --version parameter. Correct comments. * elf/ldd.bash.in: New file. * stdlib/stdlib.h: Add prototype for clearenv. * sysdeps/generic/setenv.c: Add implementation of clearenv. (setenv): Handle __environ == NULL correctly. * sysdeps/stub/setenv.c: Add stub definition for unsetenv and clearenv. * sysdeps/generic/putenv.c: Correct layout to fit in libit. * sysdeps/generic/setenv.c: Likewise. * stdlib/strtol.h: Likewise. * time/sys/time.h: Define __need_timeval and include <timebits.h>. Remove definition of struct timeval. * sysdeps/stub/timebits.h [__need_timeval]: Define struct timeval using `time_t' for members. * sysdeps/unix/sysv/linux/timebits.h [__need_timeval]: Likewise. * sysdeps/unix/sysv/linux/alpha/timebits.h: New file. Same as old Linux specific version. * string/argz.h: Use __const in definitions. * inet/herrno.c: Don't define __h_errno, only h_errno otherwise the __syscall_error defined. TRACE_MODE. Craig Metz. arithmetic. buggy and more competent people work on a usable version which is distributed separately. `finitel'. better message if it is not available. whether read failed. PSEUDO_END macro. Especially on the currently supported ELF systems the nlist function comes with the libelf. "$(i18ndir)/charmaps". net/if_arp.h, and net/route.h. version. EXTERN_PARSER is defined. set errno (to ENOMEM). nothing is found. This guarantees all subsequent calls behave the same. the file even if no `era's are specified. pointers. _llseek to _llseek (not llseek). Initialize `result'. end_alt_digits. __libc_force_cancel_wrapper when compiling reentrant version. a weak alias. make tcdrain a weak alias. lseek, open, read, and write to have __libc_ prefix and make old names a weak alias. to fpathconf. __libc_setlocale_lock. ld.so.preload. Suggested by David Engel <david@elo.ods.com>. on the same device as the password file. variable. to lock when passing it to __libc_lock_init macro. sysdep.h to the top outside of #ifndef PIC. Don't include errnos.h. Use the ENTRY macro. 9th field. and sys/vt.h. `_dl_start' so that linking fails if this file should ever be used in ld.so. RMS' last standard revision. (sysdep_headers): Remove sys/sysinfo.h. match files in the sysdeps hierachy (welcome back, sys/syscall.h!). categories which succeeded to load after a wrong or missing data file was observed. _IO_flockfile and _IO_funlockfile resp. all three versions of the math function. non-trivial inline functions. rpath-link so that running the check finds the new library. daylight saving, timezone by time zone. syscall_error handler for reentrant libc. warning. _IO_getc_unlocked. in version information banner. clearerr_u, feof_u, ferror_u, fputc_u, getc_u, getchar_u, iofflush_u, putc_u, putchar_u, ioflockfile. using __errno_location function. syscall_error handler for reentrant libc. definition of function itself. funlockfile. _malloc_loc. but _POSIX_THREAD_DESTRUCTOR_ITERATIONS. Add macro `errno' to get thread specific variable. __errno_location function. * malloc/free.c (free): __lib_malloc_lock -> __libc_malloc_lock. case, so don't prepend uppercase `ISO' for only numeric arg. call to __libc_lock_lock. sys/sysmacros.h. Reported by Curtiss <1CMC3466@IBM.MTSAC.EDU>. stamp file. generating stamp file. implementation. `decimal' char is 0. noexpr to "^[nN]"; this conforms to POSIX.2. conform to POSIX.2. mon_grouping, int_frac_digits, frac_digits, p_cs_precedes, p_sep_by_space, n_cs_precedes, n_sep_by_space, p_sign_posn, and n_sign_posn to CHAR_MAX, as required by the POSIX Standard. variable. this changes the global state for `localtime' and `gmtime'. Use `__localtime_r'/`__gmtime_r' instead. state. getutid_r() fails with ESRCH. Reported by Miquel van Smoorenburg. for "Jensen" so _bus_base() returns 0 on that platform. Use _bus_base_sparse() to determine base address of sparse memory. are now in $P/stdio-common.pot. script at run time, not configure time. warning. sorted. inet_net_pton, inet_net. value of sprintf. functions instead of BSD `b*' functions. $(objpfx)/mach-syscalls.mk. <marcus@sysc.pdx.edu> for the patch.) before returning. Reported by Miles Bader. __BEGIN_DECLS/__END_DECLS up so ntohl() et al are bracketed as well. This is not a gross hack, after all---for compatibility, getlogin() really should check fd 0 only and not try to base its operation on the controlling tty. change utmp_data from static to auto. _IO_file_flags. It's the same as _flags. call is only a stub. Mikasa. pointer as __const. segfault when called with an N that is not a multiple of four and src[N-1]=='\0'. try again with SOCK_STREAM (the Linux syslogd uses a socket of the latter type). terminator as a record-delimiter. If __send(LogFile) fails, `getutline_r'. `setutline_r'. of `vscanf'. name a weak alias. typo. initialized in init-first.c. Some actions in the libc work different when libc is static or dynamic. `__libc_is_static' variable to determine whether call to `personality' and `setfpucw' is necessary. When done set variable to +-1 depending on library type. `__libc_enable_secure' instead of calling `get{,e}{g,u}id()' to determine whether it's a SET[UG]ID program. (open_file): New function, contents mostly from __open. LD_TRACE_LOADED_OBJECTS is set. n)' equivalent to `strncpy (d, s, n), d += strnlen (d, n)'. from the USA any software that even makes it easy to drop in an encryption module of foreign origin. old code would have failed on a big-endian 64-bit architecture). Remove gratitous parentheses around return expressions. not int. ustatbits.h. alphabetically correct place. Mention ustat. record always gets appended at end of file (wtmp is a log file, after all). Set ut_type to DEAD_PROCESS if name is empty. ut_line matches and type is either USER_PROCESS or LOGIN_PROCESS. avoid duplicate declarations. word extends right up to rmargin. point_col ssize_t. to fiddle __put_limit in conjunction with __linebuf_active. of, not the ones he is _not_ a member of. instead of a local function. The latter are difficult to debug and slow to execute on certain platforms. place of sizeof (dev). The size of a literal string includes the NUL byte. entry. Return 1 on error, not -1. shift amount for Jensen must be 5 not 4. for send and connect syscalls. signed<->unsigned warnings. variable name, so new a libc with new requirements won't fail to notice an insufficient Linux version. PENDIN, NOFLSH): Undefine these at start if they are already defined to avoid collision with termbits.h. error is 0. The "placeholder" entries recently added to memcpy for possibly overlapping strings. instead of weak_symbol (NAME) after the defn. necessary using current implementation of memcpy, but...). Move struct timespec defn outside [_TIME_H] so it can be got with #define __need_timespec. __connect instead of connect to avoid name-space collisions (e.g., with psgetty). function ctype_is_charmap to ctype_is_charconv. charconv. charconv. lables according to this. warnings. actually do something. sysdeps/unix/sysv/linux/m68k/init-first.h, sysdeps/unix/sysv/linux/i386/init-first.h: New files. init-first.h to make abstract machine dependent parts of typo/extraneous whitespace. check-for-pending signals code, release _hurd_siglock before jumping to deliver_pending. size_t. soname of a loaded object, use that object. if libnss_dns.so module for DNS name lookup in NSS service. guessing to not assume p_vaddr of first load cmd is zero. only for ?s, not for *s. Fix from Chet Ramey. about currently used character set. name `MAX_IOVEC'. Instead use standard name `UIO_MAXIOV'. (xdrrec_getlong), sunrpc/xdr_mem.c (xdrmem_getlong): Make sure appropriate sign-extension is performed on machines with sizeof(long) > 4. sizeof(int)<sizeof(long), we need to go through a temporary variable. in efect. volatile to avoid "might get clobbered by longjmp" warning. unless _LOOSE_KERNEL_NAMES is in effect (which, with high probability is a sure loser). sysdeps/unix/sysv/linux/alpha/brk.S, sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S, sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S, sysdeps/unix/sysv/linux/alpha/llseek.S, sysdeps/unix/sysv/linux/alpha/sigsuspend.S, sysdeps/unix/sysv/linux/alpha/syscall.S: Rename syscall_error to __syscall_error to avoid intruding application name space. sysdeps/unix/geteuid.S, sysdeps/unix/getppid.S, sysdeps/unix/execve.S, sysdeps/unix/fork.S, sysdeps/unix/syscall.S: Terminate syscall with PSEUDO_END. (PSEUDO_END): Rename END() to PSEUDO_END(). to PSEUDO_END to improve branch-prediction. Include .frame directive to make syscalls debugabble. sysdeps/unix/sysv/linux/alpha/brk.S: Use ldiq instead of ldi since latter is illegal under DEC Unix. as well. EWOULDBLOCK -> EAGAIN mapping was unnecessary since EWOULDBLOCK==EAGAIN under DEC Unix and Linux/Alpha). address register in the .frame directive. avoid RPC definitions of INADDR_LOOPBACK and/or MAXHOSTNAMELEN. compilable under c++. as unsigned long, not as int (to avoid incorrect int->long promotion).
1996-11-02 02:28:01 +01:00
# rellns-sh - Simplified ln program to generate relative symbolic link.
# Copyright (C) 1996-2022 Free Software Foundation, Inc.
update from main archive 961101 Sat Nov 2 01:48:47 1996 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/errnos.h: Move declaration of errno and __errno_location to correct position. Thu Oct 31 22:51:25 1996 Ulrich Drepper <drepper@cygnus.com> * Makefile (distribute): Add rellns-sh. * rellns-sh: New file. * Makerules (make-link): Use rellns-sh. * time/Makefile ($(installed-localtime-file)): Likewise. Thu Oct 31 11:33:01 1996 Ulrich Drepper <drepper@cygnus.com> * elf/Makefile ($objpfx)ldd) Substitute $(version) for @VERSION@. (distribute): Add ldd.bash.in. * elf/ldd.sh.in: Process --help and --version parameter. Correct comments. * elf/ldd.bash.in: New file. * stdlib/stdlib.h: Add prototype for clearenv. * sysdeps/generic/setenv.c: Add implementation of clearenv. (setenv): Handle __environ == NULL correctly. * sysdeps/stub/setenv.c: Add stub definition for unsetenv and clearenv. * sysdeps/generic/putenv.c: Correct layout to fit in libit. * sysdeps/generic/setenv.c: Likewise. * stdlib/strtol.h: Likewise. * time/sys/time.h: Define __need_timeval and include <timebits.h>. Remove definition of struct timeval. * sysdeps/stub/timebits.h [__need_timeval]: Define struct timeval using `time_t' for members. * sysdeps/unix/sysv/linux/timebits.h [__need_timeval]: Likewise. * sysdeps/unix/sysv/linux/alpha/timebits.h: New file. Same as old Linux specific version. * string/argz.h: Use __const in definitions. * inet/herrno.c: Don't define __h_errno, only h_errno otherwise the __syscall_error defined. TRACE_MODE. Craig Metz. arithmetic. buggy and more competent people work on a usable version which is distributed separately. `finitel'. better message if it is not available. whether read failed. PSEUDO_END macro. Especially on the currently supported ELF systems the nlist function comes with the libelf. "$(i18ndir)/charmaps". net/if_arp.h, and net/route.h. version. EXTERN_PARSER is defined. set errno (to ENOMEM). nothing is found. This guarantees all subsequent calls behave the same. the file even if no `era's are specified. pointers. _llseek to _llseek (not llseek). Initialize `result'. end_alt_digits. __libc_force_cancel_wrapper when compiling reentrant version. a weak alias. make tcdrain a weak alias. lseek, open, read, and write to have __libc_ prefix and make old names a weak alias. to fpathconf. __libc_setlocale_lock. ld.so.preload. Suggested by David Engel <david@elo.ods.com>. on the same device as the password file. variable. to lock when passing it to __libc_lock_init macro. sysdep.h to the top outside of #ifndef PIC. Don't include errnos.h. Use the ENTRY macro. 9th field. and sys/vt.h. `_dl_start' so that linking fails if this file should ever be used in ld.so. RMS' last standard revision. (sysdep_headers): Remove sys/sysinfo.h. match files in the sysdeps hierachy (welcome back, sys/syscall.h!). categories which succeeded to load after a wrong or missing data file was observed. _IO_flockfile and _IO_funlockfile resp. all three versions of the math function. non-trivial inline functions. rpath-link so that running the check finds the new library. daylight saving, timezone by time zone. syscall_error handler for reentrant libc. warning. _IO_getc_unlocked. in version information banner. clearerr_u, feof_u, ferror_u, fputc_u, getc_u, getchar_u, iofflush_u, putc_u, putchar_u, ioflockfile. using __errno_location function. syscall_error handler for reentrant libc. definition of function itself. funlockfile. _malloc_loc. but _POSIX_THREAD_DESTRUCTOR_ITERATIONS. Add macro `errno' to get thread specific variable. __errno_location function. * malloc/free.c (free): __lib_malloc_lock -> __libc_malloc_lock. case, so don't prepend uppercase `ISO' for only numeric arg. call to __libc_lock_lock. sys/sysmacros.h. Reported by Curtiss <1CMC3466@IBM.MTSAC.EDU>. stamp file. generating stamp file. implementation. `decimal' char is 0. noexpr to "^[nN]"; this conforms to POSIX.2. conform to POSIX.2. mon_grouping, int_frac_digits, frac_digits, p_cs_precedes, p_sep_by_space, n_cs_precedes, n_sep_by_space, p_sign_posn, and n_sign_posn to CHAR_MAX, as required by the POSIX Standard. variable. this changes the global state for `localtime' and `gmtime'. Use `__localtime_r'/`__gmtime_r' instead. state. getutid_r() fails with ESRCH. Reported by Miquel van Smoorenburg. for "Jensen" so _bus_base() returns 0 on that platform. Use _bus_base_sparse() to determine base address of sparse memory. are now in $P/stdio-common.pot. script at run time, not configure time. warning. sorted. inet_net_pton, inet_net. value of sprintf. functions instead of BSD `b*' functions. $(objpfx)/mach-syscalls.mk. <marcus@sysc.pdx.edu> for the patch.) before returning. Reported by Miles Bader. __BEGIN_DECLS/__END_DECLS up so ntohl() et al are bracketed as well. This is not a gross hack, after all---for compatibility, getlogin() really should check fd 0 only and not try to base its operation on the controlling tty. change utmp_data from static to auto. _IO_file_flags. It's the same as _flags. call is only a stub. Mikasa. pointer as __const. segfault when called with an N that is not a multiple of four and src[N-1]=='\0'. try again with SOCK_STREAM (the Linux syslogd uses a socket of the latter type). terminator as a record-delimiter. If __send(LogFile) fails, `getutline_r'. `setutline_r'. of `vscanf'. name a weak alias. typo. initialized in init-first.c. Some actions in the libc work different when libc is static or dynamic. `__libc_is_static' variable to determine whether call to `personality' and `setfpucw' is necessary. When done set variable to +-1 depending on library type. `__libc_enable_secure' instead of calling `get{,e}{g,u}id()' to determine whether it's a SET[UG]ID program. (open_file): New function, contents mostly from __open. LD_TRACE_LOADED_OBJECTS is set. n)' equivalent to `strncpy (d, s, n), d += strnlen (d, n)'. from the USA any software that even makes it easy to drop in an encryption module of foreign origin. old code would have failed on a big-endian 64-bit architecture). Remove gratitous parentheses around return expressions. not int. ustatbits.h. alphabetically correct place. Mention ustat. record always gets appended at end of file (wtmp is a log file, after all). Set ut_type to DEAD_PROCESS if name is empty. ut_line matches and type is either USER_PROCESS or LOGIN_PROCESS. avoid duplicate declarations. word extends right up to rmargin. point_col ssize_t. to fiddle __put_limit in conjunction with __linebuf_active. of, not the ones he is _not_ a member of. instead of a local function. The latter are difficult to debug and slow to execute on certain platforms. place of sizeof (dev). The size of a literal string includes the NUL byte. entry. Return 1 on error, not -1. shift amount for Jensen must be 5 not 4. for send and connect syscalls. signed<->unsigned warnings. variable name, so new a libc with new requirements won't fail to notice an insufficient Linux version. PENDIN, NOFLSH): Undefine these at start if they are already defined to avoid collision with termbits.h. error is 0. The "placeholder" entries recently added to memcpy for possibly overlapping strings. instead of weak_symbol (NAME) after the defn. necessary using current implementation of memcpy, but...). Move struct timespec defn outside [_TIME_H] so it can be got with #define __need_timespec. __connect instead of connect to avoid name-space collisions (e.g., with psgetty). function ctype_is_charmap to ctype_is_charconv. charconv. charconv. lables according to this. warnings. actually do something. sysdeps/unix/sysv/linux/m68k/init-first.h, sysdeps/unix/sysv/linux/i386/init-first.h: New files. init-first.h to make abstract machine dependent parts of typo/extraneous whitespace. check-for-pending signals code, release _hurd_siglock before jumping to deliver_pending. size_t. soname of a loaded object, use that object. if libnss_dns.so module for DNS name lookup in NSS service. guessing to not assume p_vaddr of first load cmd is zero. only for ?s, not for *s. Fix from Chet Ramey. about currently used character set. name `MAX_IOVEC'. Instead use standard name `UIO_MAXIOV'. (xdrrec_getlong), sunrpc/xdr_mem.c (xdrmem_getlong): Make sure appropriate sign-extension is performed on machines with sizeof(long) > 4. sizeof(int)<sizeof(long), we need to go through a temporary variable. in efect. volatile to avoid "might get clobbered by longjmp" warning. unless _LOOSE_KERNEL_NAMES is in effect (which, with high probability is a sure loser). sysdeps/unix/sysv/linux/alpha/brk.S, sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S, sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S, sysdeps/unix/sysv/linux/alpha/llseek.S, sysdeps/unix/sysv/linux/alpha/sigsuspend.S, sysdeps/unix/sysv/linux/alpha/syscall.S: Rename syscall_error to __syscall_error to avoid intruding application name space. sysdeps/unix/geteuid.S, sysdeps/unix/getppid.S, sysdeps/unix/execve.S, sysdeps/unix/fork.S, sysdeps/unix/syscall.S: Terminate syscall with PSEUDO_END. (PSEUDO_END): Rename END() to PSEUDO_END(). to PSEUDO_END to improve branch-prediction. Include .frame directive to make syscalls debugabble. sysdeps/unix/sysv/linux/alpha/brk.S: Use ldiq instead of ldi since latter is illegal under DEC Unix. as well. EWOULDBLOCK -> EAGAIN mapping was unnecessary since EWOULDBLOCK==EAGAIN under DEC Unix and Linux/Alpha). address register in the .frame directive. avoid RPC definitions of INADDR_LOOPBACK and/or MAXHOSTNAMELEN. compilable under c++. as unsigned long, not as int (to avoid incorrect int->long promotion).
1996-11-02 02:28:01 +01:00
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
Prefer https to http for gnu.org and fsf.org URLs Also, change sources.redhat.com to sourceware.org. This patch was automatically generated by running the following shell script, which uses GNU sed, and which avoids modifying files imported from upstream: sed -ri ' s,(http|ftp)(://(.*\.)?(gnu|fsf|sourceware)\.org($|[^.]|\.[^a-z])),https\2,g s,(http|ftp)(://(.*\.)?)sources\.redhat\.com($|[^.]|\.[^a-z]),https\2sourceware.org\4,g ' \ $(find $(git ls-files) -prune -type f \ ! -name '*.po' \ ! -name 'ChangeLog*' \ ! -path COPYING ! -path COPYING.LIB \ ! -path manual/fdl-1.3.texi ! -path manual/lgpl-2.1.texi \ ! -path manual/texinfo.tex ! -path scripts/config.guess \ ! -path scripts/config.sub ! -path scripts/install-sh \ ! -path scripts/mkinstalldirs ! -path scripts/move-if-change \ ! -path INSTALL ! -path locale/programs/charmap-kw.h \ ! -path po/libc.pot ! -path sysdeps/gnu/errlist.c \ ! '(' -name configure \ -execdir test -f configure.ac -o -f configure.in ';' ')' \ ! '(' -name preconfigure \ -execdir test -f preconfigure.ac ';' ')' \ -print) and then by running 'make dist-prepare' to regenerate files built from the altered files, and then executing the following to cleanup: chmod a+x sysdeps/unix/sysv/linux/riscv/configure # Omit irrelevant whitespace and comment-only changes, # perhaps from a slightly-different Autoconf version. git checkout -f \ sysdeps/csky/configure \ sysdeps/hppa/configure \ sysdeps/riscv/configure \ sysdeps/unix/sysv/linux/csky/configure # Omit changes that caused a pre-commit check to fail like this: # remote: *** error: sysdeps/powerpc/powerpc64/ppc-mcount.S: trailing lines git checkout -f \ sysdeps/powerpc/powerpc64/ppc-mcount.S \ sysdeps/unix/sysv/linux/s390/s390-64/syscall.S # Omit change that caused a pre-commit check to fail like this: # remote: *** error: sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: last line does not end in newline git checkout -f sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S
2019-09-07 07:40:42 +02:00
# along with this program; if not, see <https://www.gnu.org/licenses/>.
update from main archive 961101 Sat Nov 2 01:48:47 1996 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/errnos.h: Move declaration of errno and __errno_location to correct position. Thu Oct 31 22:51:25 1996 Ulrich Drepper <drepper@cygnus.com> * Makefile (distribute): Add rellns-sh. * rellns-sh: New file. * Makerules (make-link): Use rellns-sh. * time/Makefile ($(installed-localtime-file)): Likewise. Thu Oct 31 11:33:01 1996 Ulrich Drepper <drepper@cygnus.com> * elf/Makefile ($objpfx)ldd) Substitute $(version) for @VERSION@. (distribute): Add ldd.bash.in. * elf/ldd.sh.in: Process --help and --version parameter. Correct comments. * elf/ldd.bash.in: New file. * stdlib/stdlib.h: Add prototype for clearenv. * sysdeps/generic/setenv.c: Add implementation of clearenv. (setenv): Handle __environ == NULL correctly. * sysdeps/stub/setenv.c: Add stub definition for unsetenv and clearenv. * sysdeps/generic/putenv.c: Correct layout to fit in libit. * sysdeps/generic/setenv.c: Likewise. * stdlib/strtol.h: Likewise. * time/sys/time.h: Define __need_timeval and include <timebits.h>. Remove definition of struct timeval. * sysdeps/stub/timebits.h [__need_timeval]: Define struct timeval using `time_t' for members. * sysdeps/unix/sysv/linux/timebits.h [__need_timeval]: Likewise. * sysdeps/unix/sysv/linux/alpha/timebits.h: New file. Same as old Linux specific version. * string/argz.h: Use __const in definitions. * inet/herrno.c: Don't define __h_errno, only h_errno otherwise the __syscall_error defined. TRACE_MODE. Craig Metz. arithmetic. buggy and more competent people work on a usable version which is distributed separately. `finitel'. better message if it is not available. whether read failed. PSEUDO_END macro. Especially on the currently supported ELF systems the nlist function comes with the libelf. "$(i18ndir)/charmaps". net/if_arp.h, and net/route.h. version. EXTERN_PARSER is defined. set errno (to ENOMEM). nothing is found. This guarantees all subsequent calls behave the same. the file even if no `era's are specified. pointers. _llseek to _llseek (not llseek). Initialize `result'. end_alt_digits. __libc_force_cancel_wrapper when compiling reentrant version. a weak alias. make tcdrain a weak alias. lseek, open, read, and write to have __libc_ prefix and make old names a weak alias. to fpathconf. __libc_setlocale_lock. ld.so.preload. Suggested by David Engel <david@elo.ods.com>. on the same device as the password file. variable. to lock when passing it to __libc_lock_init macro. sysdep.h to the top outside of #ifndef PIC. Don't include errnos.h. Use the ENTRY macro. 9th field. and sys/vt.h. `_dl_start' so that linking fails if this file should ever be used in ld.so. RMS' last standard revision. (sysdep_headers): Remove sys/sysinfo.h. match files in the sysdeps hierachy (welcome back, sys/syscall.h!). categories which succeeded to load after a wrong or missing data file was observed. _IO_flockfile and _IO_funlockfile resp. all three versions of the math function. non-trivial inline functions. rpath-link so that running the check finds the new library. daylight saving, timezone by time zone. syscall_error handler for reentrant libc. warning. _IO_getc_unlocked. in version information banner. clearerr_u, feof_u, ferror_u, fputc_u, getc_u, getchar_u, iofflush_u, putc_u, putchar_u, ioflockfile. using __errno_location function. syscall_error handler for reentrant libc. definition of function itself. funlockfile. _malloc_loc. but _POSIX_THREAD_DESTRUCTOR_ITERATIONS. Add macro `errno' to get thread specific variable. __errno_location function. * malloc/free.c (free): __lib_malloc_lock -> __libc_malloc_lock. case, so don't prepend uppercase `ISO' for only numeric arg. call to __libc_lock_lock. sys/sysmacros.h. Reported by Curtiss <1CMC3466@IBM.MTSAC.EDU>. stamp file. generating stamp file. implementation. `decimal' char is 0. noexpr to "^[nN]"; this conforms to POSIX.2. conform to POSIX.2. mon_grouping, int_frac_digits, frac_digits, p_cs_precedes, p_sep_by_space, n_cs_precedes, n_sep_by_space, p_sign_posn, and n_sign_posn to CHAR_MAX, as required by the POSIX Standard. variable. this changes the global state for `localtime' and `gmtime'. Use `__localtime_r'/`__gmtime_r' instead. state. getutid_r() fails with ESRCH. Reported by Miquel van Smoorenburg. for "Jensen" so _bus_base() returns 0 on that platform. Use _bus_base_sparse() to determine base address of sparse memory. are now in $P/stdio-common.pot. script at run time, not configure time. warning. sorted. inet_net_pton, inet_net. value of sprintf. functions instead of BSD `b*' functions. $(objpfx)/mach-syscalls.mk. <marcus@sysc.pdx.edu> for the patch.) before returning. Reported by Miles Bader. __BEGIN_DECLS/__END_DECLS up so ntohl() et al are bracketed as well. This is not a gross hack, after all---for compatibility, getlogin() really should check fd 0 only and not try to base its operation on the controlling tty. change utmp_data from static to auto. _IO_file_flags. It's the same as _flags. call is only a stub. Mikasa. pointer as __const. segfault when called with an N that is not a multiple of four and src[N-1]=='\0'. try again with SOCK_STREAM (the Linux syslogd uses a socket of the latter type). terminator as a record-delimiter. If __send(LogFile) fails, `getutline_r'. `setutline_r'. of `vscanf'. name a weak alias. typo. initialized in init-first.c. Some actions in the libc work different when libc is static or dynamic. `__libc_is_static' variable to determine whether call to `personality' and `setfpucw' is necessary. When done set variable to +-1 depending on library type. `__libc_enable_secure' instead of calling `get{,e}{g,u}id()' to determine whether it's a SET[UG]ID program. (open_file): New function, contents mostly from __open. LD_TRACE_LOADED_OBJECTS is set. n)' equivalent to `strncpy (d, s, n), d += strnlen (d, n)'. from the USA any software that even makes it easy to drop in an encryption module of foreign origin. old code would have failed on a big-endian 64-bit architecture). Remove gratitous parentheses around return expressions. not int. ustatbits.h. alphabetically correct place. Mention ustat. record always gets appended at end of file (wtmp is a log file, after all). Set ut_type to DEAD_PROCESS if name is empty. ut_line matches and type is either USER_PROCESS or LOGIN_PROCESS. avoid duplicate declarations. word extends right up to rmargin. point_col ssize_t. to fiddle __put_limit in conjunction with __linebuf_active. of, not the ones he is _not_ a member of. instead of a local function. The latter are difficult to debug and slow to execute on certain platforms. place of sizeof (dev). The size of a literal string includes the NUL byte. entry. Return 1 on error, not -1. shift amount for Jensen must be 5 not 4. for send and connect syscalls. signed<->unsigned warnings. variable name, so new a libc with new requirements won't fail to notice an insufficient Linux version. PENDIN, NOFLSH): Undefine these at start if they are already defined to avoid collision with termbits.h. error is 0. The "placeholder" entries recently added to memcpy for possibly overlapping strings. instead of weak_symbol (NAME) after the defn. necessary using current implementation of memcpy, but...). Move struct timespec defn outside [_TIME_H] so it can be got with #define __need_timespec. __connect instead of connect to avoid name-space collisions (e.g., with psgetty). function ctype_is_charmap to ctype_is_charconv. charconv. charconv. lables according to this. warnings. actually do something. sysdeps/unix/sysv/linux/m68k/init-first.h, sysdeps/unix/sysv/linux/i386/init-first.h: New files. init-first.h to make abstract machine dependent parts of typo/extraneous whitespace. check-for-pending signals code, release _hurd_siglock before jumping to deliver_pending. size_t. soname of a loaded object, use that object. if libnss_dns.so module for DNS name lookup in NSS service. guessing to not assume p_vaddr of first load cmd is zero. only for ?s, not for *s. Fix from Chet Ramey. about currently used character set. name `MAX_IOVEC'. Instead use standard name `UIO_MAXIOV'. (xdrrec_getlong), sunrpc/xdr_mem.c (xdrmem_getlong): Make sure appropriate sign-extension is performed on machines with sizeof(long) > 4. sizeof(int)<sizeof(long), we need to go through a temporary variable. in efect. volatile to avoid "might get clobbered by longjmp" warning. unless _LOOSE_KERNEL_NAMES is in effect (which, with high probability is a sure loser). sysdeps/unix/sysv/linux/alpha/brk.S, sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S, sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S, sysdeps/unix/sysv/linux/alpha/llseek.S, sysdeps/unix/sysv/linux/alpha/sigsuspend.S, sysdeps/unix/sysv/linux/alpha/syscall.S: Rename syscall_error to __syscall_error to avoid intruding application name space. sysdeps/unix/geteuid.S, sysdeps/unix/getppid.S, sysdeps/unix/execve.S, sysdeps/unix/fork.S, sysdeps/unix/syscall.S: Terminate syscall with PSEUDO_END. (PSEUDO_END): Rename END() to PSEUDO_END(). to PSEUDO_END to improve branch-prediction. Include .frame directive to make syscalls debugabble. sysdeps/unix/sysv/linux/alpha/brk.S: Use ldiq instead of ldi since latter is illegal under DEC Unix. as well. EWOULDBLOCK -> EAGAIN mapping was unnecessary since EWOULDBLOCK==EAGAIN under DEC Unix and Linux/Alpha). address register in the .frame directive. avoid RPC definitions of INADDR_LOOPBACK and/or MAXHOSTNAMELEN. compilable under c++. as unsigned long, not as int (to avoid incorrect int->long promotion).
1996-11-02 02:28:01 +01:00
# With -p, instead of creating the link print the computed relative link
# name.
do_print=false
case $1 in
-p)
do_print=true
shift
;;
esac
update from main archive 961101 Sat Nov 2 01:48:47 1996 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/errnos.h: Move declaration of errno and __errno_location to correct position. Thu Oct 31 22:51:25 1996 Ulrich Drepper <drepper@cygnus.com> * Makefile (distribute): Add rellns-sh. * rellns-sh: New file. * Makerules (make-link): Use rellns-sh. * time/Makefile ($(installed-localtime-file)): Likewise. Thu Oct 31 11:33:01 1996 Ulrich Drepper <drepper@cygnus.com> * elf/Makefile ($objpfx)ldd) Substitute $(version) for @VERSION@. (distribute): Add ldd.bash.in. * elf/ldd.sh.in: Process --help and --version parameter. Correct comments. * elf/ldd.bash.in: New file. * stdlib/stdlib.h: Add prototype for clearenv. * sysdeps/generic/setenv.c: Add implementation of clearenv. (setenv): Handle __environ == NULL correctly. * sysdeps/stub/setenv.c: Add stub definition for unsetenv and clearenv. * sysdeps/generic/putenv.c: Correct layout to fit in libit. * sysdeps/generic/setenv.c: Likewise. * stdlib/strtol.h: Likewise. * time/sys/time.h: Define __need_timeval and include <timebits.h>. Remove definition of struct timeval. * sysdeps/stub/timebits.h [__need_timeval]: Define struct timeval using `time_t' for members. * sysdeps/unix/sysv/linux/timebits.h [__need_timeval]: Likewise. * sysdeps/unix/sysv/linux/alpha/timebits.h: New file. Same as old Linux specific version. * string/argz.h: Use __const in definitions. * inet/herrno.c: Don't define __h_errno, only h_errno otherwise the __syscall_error defined. TRACE_MODE. Craig Metz. arithmetic. buggy and more competent people work on a usable version which is distributed separately. `finitel'. better message if it is not available. whether read failed. PSEUDO_END macro. Especially on the currently supported ELF systems the nlist function comes with the libelf. "$(i18ndir)/charmaps". net/if_arp.h, and net/route.h. version. EXTERN_PARSER is defined. set errno (to ENOMEM). nothing is found. This guarantees all subsequent calls behave the same. the file even if no `era's are specified. pointers. _llseek to _llseek (not llseek). Initialize `result'. end_alt_digits. __libc_force_cancel_wrapper when compiling reentrant version. a weak alias. make tcdrain a weak alias. lseek, open, read, and write to have __libc_ prefix and make old names a weak alias. to fpathconf. __libc_setlocale_lock. ld.so.preload. Suggested by David Engel <david@elo.ods.com>. on the same device as the password file. variable. to lock when passing it to __libc_lock_init macro. sysdep.h to the top outside of #ifndef PIC. Don't include errnos.h. Use the ENTRY macro. 9th field. and sys/vt.h. `_dl_start' so that linking fails if this file should ever be used in ld.so. RMS' last standard revision. (sysdep_headers): Remove sys/sysinfo.h. match files in the sysdeps hierachy (welcome back, sys/syscall.h!). categories which succeeded to load after a wrong or missing data file was observed. _IO_flockfile and _IO_funlockfile resp. all three versions of the math function. non-trivial inline functions. rpath-link so that running the check finds the new library. daylight saving, timezone by time zone. syscall_error handler for reentrant libc. warning. _IO_getc_unlocked. in version information banner. clearerr_u, feof_u, ferror_u, fputc_u, getc_u, getchar_u, iofflush_u, putc_u, putchar_u, ioflockfile. using __errno_location function. syscall_error handler for reentrant libc. definition of function itself. funlockfile. _malloc_loc. but _POSIX_THREAD_DESTRUCTOR_ITERATIONS. Add macro `errno' to get thread specific variable. __errno_location function. * malloc/free.c (free): __lib_malloc_lock -> __libc_malloc_lock. case, so don't prepend uppercase `ISO' for only numeric arg. call to __libc_lock_lock. sys/sysmacros.h. Reported by Curtiss <1CMC3466@IBM.MTSAC.EDU>. stamp file. generating stamp file. implementation. `decimal' char is 0. noexpr to "^[nN]"; this conforms to POSIX.2. conform to POSIX.2. mon_grouping, int_frac_digits, frac_digits, p_cs_precedes, p_sep_by_space, n_cs_precedes, n_sep_by_space, p_sign_posn, and n_sign_posn to CHAR_MAX, as required by the POSIX Standard. variable. this changes the global state for `localtime' and `gmtime'. Use `__localtime_r'/`__gmtime_r' instead. state. getutid_r() fails with ESRCH. Reported by Miquel van Smoorenburg. for "Jensen" so _bus_base() returns 0 on that platform. Use _bus_base_sparse() to determine base address of sparse memory. are now in $P/stdio-common.pot. script at run time, not configure time. warning. sorted. inet_net_pton, inet_net. value of sprintf. functions instead of BSD `b*' functions. $(objpfx)/mach-syscalls.mk. <marcus@sysc.pdx.edu> for the patch.) before returning. Reported by Miles Bader. __BEGIN_DECLS/__END_DECLS up so ntohl() et al are bracketed as well. This is not a gross hack, after all---for compatibility, getlogin() really should check fd 0 only and not try to base its operation on the controlling tty. change utmp_data from static to auto. _IO_file_flags. It's the same as _flags. call is only a stub. Mikasa. pointer as __const. segfault when called with an N that is not a multiple of four and src[N-1]=='\0'. try again with SOCK_STREAM (the Linux syslogd uses a socket of the latter type). terminator as a record-delimiter. If __send(LogFile) fails, `getutline_r'. `setutline_r'. of `vscanf'. name a weak alias. typo. initialized in init-first.c. Some actions in the libc work different when libc is static or dynamic. `__libc_is_static' variable to determine whether call to `personality' and `setfpucw' is necessary. When done set variable to +-1 depending on library type. `__libc_enable_secure' instead of calling `get{,e}{g,u}id()' to determine whether it's a SET[UG]ID program. (open_file): New function, contents mostly from __open. LD_TRACE_LOADED_OBJECTS is set. n)' equivalent to `strncpy (d, s, n), d += strnlen (d, n)'. from the USA any software that even makes it easy to drop in an encryption module of foreign origin. old code would have failed on a big-endian 64-bit architecture). Remove gratitous parentheses around return expressions. not int. ustatbits.h. alphabetically correct place. Mention ustat. record always gets appended at end of file (wtmp is a log file, after all). Set ut_type to DEAD_PROCESS if name is empty. ut_line matches and type is either USER_PROCESS or LOGIN_PROCESS. avoid duplicate declarations. word extends right up to rmargin. point_col ssize_t. to fiddle __put_limit in conjunction with __linebuf_active. of, not the ones he is _not_ a member of. instead of a local function. The latter are difficult to debug and slow to execute on certain platforms. place of sizeof (dev). The size of a literal string includes the NUL byte. entry. Return 1 on error, not -1. shift amount for Jensen must be 5 not 4. for send and connect syscalls. signed<->unsigned warnings. variable name, so new a libc with new requirements won't fail to notice an insufficient Linux version. PENDIN, NOFLSH): Undefine these at start if they are already defined to avoid collision with termbits.h. error is 0. The "placeholder" entries recently added to memcpy for possibly overlapping strings. instead of weak_symbol (NAME) after the defn. necessary using current implementation of memcpy, but...). Move struct timespec defn outside [_TIME_H] so it can be got with #define __need_timespec. __connect instead of connect to avoid name-space collisions (e.g., with psgetty). function ctype_is_charmap to ctype_is_charconv. charconv. charconv. lables according to this. warnings. actually do something. sysdeps/unix/sysv/linux/m68k/init-first.h, sysdeps/unix/sysv/linux/i386/init-first.h: New files. init-first.h to make abstract machine dependent parts of typo/extraneous whitespace. check-for-pending signals code, release _hurd_siglock before jumping to deliver_pending. size_t. soname of a loaded object, use that object. if libnss_dns.so module for DNS name lookup in NSS service. guessing to not assume p_vaddr of first load cmd is zero. only for ?s, not for *s. Fix from Chet Ramey. about currently used character set. name `MAX_IOVEC'. Instead use standard name `UIO_MAXIOV'. (xdrrec_getlong), sunrpc/xdr_mem.c (xdrmem_getlong): Make sure appropriate sign-extension is performed on machines with sizeof(long) > 4. sizeof(int)<sizeof(long), we need to go through a temporary variable. in efect. volatile to avoid "might get clobbered by longjmp" warning. unless _LOOSE_KERNEL_NAMES is in effect (which, with high probability is a sure loser). sysdeps/unix/sysv/linux/alpha/brk.S, sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S, sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S, sysdeps/unix/sysv/linux/alpha/llseek.S, sysdeps/unix/sysv/linux/alpha/sigsuspend.S, sysdeps/unix/sysv/linux/alpha/syscall.S: Rename syscall_error to __syscall_error to avoid intruding application name space. sysdeps/unix/geteuid.S, sysdeps/unix/getppid.S, sysdeps/unix/execve.S, sysdeps/unix/fork.S, sysdeps/unix/syscall.S: Terminate syscall with PSEUDO_END. (PSEUDO_END): Rename END() to PSEUDO_END(). to PSEUDO_END to improve branch-prediction. Include .frame directive to make syscalls debugabble. sysdeps/unix/sysv/linux/alpha/brk.S: Use ldiq instead of ldi since latter is illegal under DEC Unix. as well. EWOULDBLOCK -> EAGAIN mapping was unnecessary since EWOULDBLOCK==EAGAIN under DEC Unix and Linux/Alpha). address register in the .frame directive. avoid RPC definitions of INADDR_LOOPBACK and/or MAXHOSTNAMELEN. compilable under c++. as unsigned long, not as int (to avoid incorrect int->long promotion).
1996-11-02 02:28:01 +01:00
if test $# -ne 2; then
echo "Usage: rellns [-p] SOURCE DEST" >&2
update from main archive 961214 Sun Dec 15 01:53:20 1996 Ulrich Drepper <drepper@cygnus.com> * Makefile (subdirs): Change crypt to md5-crypt. * crypt/Makefile, crypt/md5-crypt.c, crypt/md5.c, crypt/md5.h, crypt/md5c-test.c, crypt/md5test.c: Move to new directory md5-crypt. * sysdeps/unix/sysv/linux/configure.in: Refer to linuxthreads and crypt instead of LinuxThreads and des-crypt. * Makefile (subdirs): Add nss back. * sysdeps/unix/inet/Subdirs: Move nis to end of file to fulfill dependencies. * libio/iofclose.c: Implement fclose(NULL) as closing all streams. * stdio-common/Makefile (routines): Add fcloseall. * stdio-common/fcloseall.c: New file. * sysdeps/generic/abort.c: Make implementation POSIX.1 compatible. * sysdeps/mach/libc-lock.h: Add definition of __libc_lock_trylock. * sysdeps/stub/libc-lock.h: Define __libc_lock_trylock to always return 0. * stdio-common/printf.h: Define MIN and MAX only if not already defined. * stdio-common/vfprintf.c: Set errno to EBADF if stream does not allow writing. Required by POSIX.1. * libio/libioP.h (CHECK_FILE): Use MAYBE_SET_EINVAL instead of assignment. * interp.c: Update copyright. * libio/clearerr.c: Likewise. * libio/ioseekoff.c: Likewise. * libio/ioseekpos.c: Likewise. * stdio/fclose.c: Likewise. * stdio/fflus.c: Likewise. * libio/libio.h [!_IO_MTSAFE_IO]: Define _IO_cleanup_region_start and _IO_cleanup_region_end as empty. * libio/fgetc.c: Use _IO_cleanup_region_start and _IO_cleanup_region_end instead of __libc_cleanup_region_start and __libc_cleanup_region_end. * libio/fputc.c: Likewise. * libio/freopen.c: Likewise. * libio/fseek.c: Likewise. * libio/getc.c: Likewise. * libio/getchar.c: Likewise. * libio/iofclose.c: Likewise. * libio/iofflush.c: Likewise. * libio/iofgetpos.c: Likewise. * libio/iofgets.c: Likewise. * libio/iofputs.c: Likewise. * libio/iofread.c: Likewise. * libio/iofsetpos.c: Likewise. * libio/ioftell.c: Likewise. * libio/iofwrite.c: Likewise. * libio/iogetdelim.c: Likewise. * libio/iogets.c: Likewise. * libio/ioputs.c: Likewise. * libio/iosetbuffer.c: Likewise. * libio/iosetvbuf.c: Likewise. * libio/ioungetc.c: Likewise. * libio/iovspintf.c: Use cleanup handler to make sure no dangling locks can stay over. * libio/iovsscanf.c: Likewise. * libio/genops.c: Use _IO_lock_init_recursive and _IO_lock_fini instead of __libc_lock_init_recursive and __libc_lock_fini. * libio/filedoalloc.c: Only use __isatty when compiling GNU libc. Otherwise use isatty. * libio/fileops.c: Likewise for __open and open. * login/utmp_file.c (getutent_r_file): Use fcntl instead of flock. * nis/ypclnt.h: Add more casts to prevent warnings. * nss/Makefile (services): Remove dns. (libnss_dns, libnss_dns-inhibit-o): Remove definition. ($(objpfx)libnss_dns.so): Removed. * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Moved to... * resolv/nss_dns: ...here. * resolv/Makefile (extra-libs): Add libnss_dns. (libnss_dns-routines, libnss_dns-inhibit-o): Define as in nss/Makefile. * nss/XXX-lookup.c: Call __nss_database_lookup with new argument specifying alternate name for entry in /etc/nsswitch.conf * nss/nsswitch.c: If no entry with primary name is found in /etc/nsswitch.conf try alternate name if given. * nss/nsswitch.h: Add new parameter in prototype for __nss_database_lookup. * nss/spwd-lookup.c: Provide alternative entry name to look for. This makes our NSS compatible with Solaris' nsswitch.conf files. * string/tst-strlen.c: Change all counting variables to type size_t to prevent warnings. * sysdeps/posix/fpathconf.c: Update copyright. * sysdeps/posix/pathconf.c: Don't call fpathconf to do the work. Opening the file at this path may fail if it is a FIFO or pipe. These changes make the time implementation POSIX.1 compliant. * time/localtime.c (__localtime_r): Always call __tzset not only if __tzset_run is zero. * time/strftime.c: Add definition of memset_space to help to reduce for systems which have memset. (strftime): Don't use tm_zone member of argument for zone name. Instead always use tzname[]. Call tzset() as required by POSIX.1 before any action. * time/tzset.c (tzset): Set tzname[] as required by POSIX.1. Remove global variable __tzset_run. __tzset is now called always when a dependent function is used. (__tzset): Caching happens based on the contents of the environment variable TZ. Fri Dec 13 01:06:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/unix/sysv/linux/paths.h: Add _PATH_KLOG. Thu Dec 12 09:16:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * rellns-sh: Correctly handle a relative source file name. Wed Dec 11 19:18:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * login/utmp_file.c (setutent_file): Seek back to beginning of the file if resetting. Thu Dec 12 16:39:12 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * hurd/hurdinit.c (map0): Delete function. Don't do this on _hurd_preinit_hook. * hurd/hurdstartup.c (_hurd_startup): Map page zero redzone here.
1996-12-15 03:15:29 +01:00
exit 1
fi
Update. 1997-04-09 01:24 Ulrich Drepper <drepper@cygnus.com> * rellns-sh: Rewrite to work also in presence of symlinks. * arpg/argp-fmtstream.c: Add casts to prevent warnings. * argp/argp-fmtstream.h: Likewise. * argp/argp-help.c: Likewise. * elf/dl-minimal.c: Add definition of calloc. * elf/version.c: Add casts to prevent warnings. (_dl_check_map_versions): Use calloc instead of malloc+memset. * locale/setlocale.c (_nl_current): Add element with index LC_ALL. Reported by Greg McGary <gkm@eng.ascend.com>. * manual/libc.texinfo: Update malloc documentation for new malloc. * manual/memory.texi: Likewise. Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>. * math/libm-test.c (check_long): New function. (check_longlong): New function. (rinttol_test): New function. (rinttoll_test): New function. * nis/nss_compat/compat-grp.c (in_blacklist): Improve a bit. * nis/nss_compat/compat-pwd.c: Likewise. * nis/nss_compat/compat-spwd.c: Likewise. * stdlib/erand48_r.c (erand48_r): Build double value using ieee754_double union and use random bits in different order to increase effect of seed. Reported by David Mosberger-Tang <davidm@AZStarNet.com>. * sunrpc/svc_auth.c: Moved to ... * sysdeps/generic/svc_auth.c: ...here. * time/time.h: Pretty print. 1997-04-08 07:19 H.J. Lu <hjl@gnu.ai.mit.edu> * libio/genops.c (_IO_flush_all_linebuffered): don't flush on a read-only stream. 1997-04-09 01:19 Ulrich Drepper <drepper@cygnus.com> * malloc/malloc.c (mALLOC_STATs) [MALLOC_DEBUG>1]: Put declaration in correct place. Patch by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>. 1997-04-07 15:34 Ulrich Drepper <drepper@cygnus.com> * stdio-common/Makefile (tests): Add tst-ferror. * stdio-common/tst-ferror.c: New file. Some tests for error indicator of streams. * stdio-common/tst-ferror.input: New file. * isomac.c: Let tests not fail because the compiler defines itself symbols which violate the name space rules. gcc defines symbols for the architecture which are not protected by an underscore character. * math/Makefile (libm-support): Add s_rinttol and s_rinttoll. (libm-calls): Add s_clog. * sysdeps/libm-ieee754/s_clog.c: New file. Implementation of logarithm of complex value. * sysdeps/libm-ieee754/s_clogf.c: New file. * sysdeps/libm-ieee754/s_clogl.c: New file. * math/libm-test.c (clog_test): Compile this function. Fix a few typos. (main): Call clog_test. * sysdeps/libm-ieee754/s_rinttol.c: New file. Round long double value to long int. * sysdeps/libm-i387/s_rinttol.S: New file. * sysdeps/libm-ieee754/s_rinttoll.c: new file. Round long double value to long long int. * sysdeps/libm-i387/s_rinttoll.S: New file. * sysdeps/libm-ieee754/s_rintl.c: Many corrections. The previous version was full of errors. * math/math.h (rinttol): Argument is of type `long double' not `double'. (rinttoll): Likewise. (roundtol): Likewise. (roundtoll): Likewise. 1997-04-06 11:32 H.J. Lu <hjl@gnu.ai.mit.edu> * posix/getopt.c (_getopt_initialize): Preserve optind. (_getopt_internal): Set optind to 1 if optind == 0 before calling _getopt_initialize (). 1997-04-05 16:45 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> * nis/rpcsvc/nislib.h: Change const nis_name to new type const_nis_name. * nis/nis_intern.c: Likewise. * nis/nis_intern.h: Likewise. * nis/nis_server.c: Likewise. * nis/nis_subr.c: Likewise. * nis/nis_table.c: Likewise. * nis/nis_names.c: Likewise. Fill out ns_request structure in nis_add(). * nis/nss_compat/compat-pwd.c: Use reentrant netgroup functions. * nis/nss_compat/compat-spwd.c: Likewise. 1997-03-27 07:37 H.J. Lu <hjl@gnu.ai.mit.edu> * libio/fileops.c (_IO_file_overflow): Set error when try to write on a read-only stream. * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol. (ut_time): Define it only if _NO_UT_TIME is not defined. 1997-04-06 00:42 Ulrich Drepper <drepper@cygnus.com> * misc/tst-tsearch.c: Include <string.h>. Define _GNU_SOURCE only if not already defined. 1997-04-05 16:14 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/netatalk/at.h: Include <sys/socket.h> to get definition of sa_family_t for <linux/atalk.h>. Reported by a sun <asun@zoology.washington.edu>. * malloc/malloc.c (cALLOc): Little optimization.
1997-04-09 01:42:08 +02:00
# Make both paths absolute.
if test -d $1; then
to=`cd $1 && pwd -P`
Update. 1997-04-09 01:24 Ulrich Drepper <drepper@cygnus.com> * rellns-sh: Rewrite to work also in presence of symlinks. * arpg/argp-fmtstream.c: Add casts to prevent warnings. * argp/argp-fmtstream.h: Likewise. * argp/argp-help.c: Likewise. * elf/dl-minimal.c: Add definition of calloc. * elf/version.c: Add casts to prevent warnings. (_dl_check_map_versions): Use calloc instead of malloc+memset. * locale/setlocale.c (_nl_current): Add element with index LC_ALL. Reported by Greg McGary <gkm@eng.ascend.com>. * manual/libc.texinfo: Update malloc documentation for new malloc. * manual/memory.texi: Likewise. Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>. * math/libm-test.c (check_long): New function. (check_longlong): New function. (rinttol_test): New function. (rinttoll_test): New function. * nis/nss_compat/compat-grp.c (in_blacklist): Improve a bit. * nis/nss_compat/compat-pwd.c: Likewise. * nis/nss_compat/compat-spwd.c: Likewise. * stdlib/erand48_r.c (erand48_r): Build double value using ieee754_double union and use random bits in different order to increase effect of seed. Reported by David Mosberger-Tang <davidm@AZStarNet.com>. * sunrpc/svc_auth.c: Moved to ... * sysdeps/generic/svc_auth.c: ...here. * time/time.h: Pretty print. 1997-04-08 07:19 H.J. Lu <hjl@gnu.ai.mit.edu> * libio/genops.c (_IO_flush_all_linebuffered): don't flush on a read-only stream. 1997-04-09 01:19 Ulrich Drepper <drepper@cygnus.com> * malloc/malloc.c (mALLOC_STATs) [MALLOC_DEBUG>1]: Put declaration in correct place. Patch by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>. 1997-04-07 15:34 Ulrich Drepper <drepper@cygnus.com> * stdio-common/Makefile (tests): Add tst-ferror. * stdio-common/tst-ferror.c: New file. Some tests for error indicator of streams. * stdio-common/tst-ferror.input: New file. * isomac.c: Let tests not fail because the compiler defines itself symbols which violate the name space rules. gcc defines symbols for the architecture which are not protected by an underscore character. * math/Makefile (libm-support): Add s_rinttol and s_rinttoll. (libm-calls): Add s_clog. * sysdeps/libm-ieee754/s_clog.c: New file. Implementation of logarithm of complex value. * sysdeps/libm-ieee754/s_clogf.c: New file. * sysdeps/libm-ieee754/s_clogl.c: New file. * math/libm-test.c (clog_test): Compile this function. Fix a few typos. (main): Call clog_test. * sysdeps/libm-ieee754/s_rinttol.c: New file. Round long double value to long int. * sysdeps/libm-i387/s_rinttol.S: New file. * sysdeps/libm-ieee754/s_rinttoll.c: new file. Round long double value to long long int. * sysdeps/libm-i387/s_rinttoll.S: New file. * sysdeps/libm-ieee754/s_rintl.c: Many corrections. The previous version was full of errors. * math/math.h (rinttol): Argument is of type `long double' not `double'. (rinttoll): Likewise. (roundtol): Likewise. (roundtoll): Likewise. 1997-04-06 11:32 H.J. Lu <hjl@gnu.ai.mit.edu> * posix/getopt.c (_getopt_initialize): Preserve optind. (_getopt_internal): Set optind to 1 if optind == 0 before calling _getopt_initialize (). 1997-04-05 16:45 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> * nis/rpcsvc/nislib.h: Change const nis_name to new type const_nis_name. * nis/nis_intern.c: Likewise. * nis/nis_intern.h: Likewise. * nis/nis_server.c: Likewise. * nis/nis_subr.c: Likewise. * nis/nis_table.c: Likewise. * nis/nis_names.c: Likewise. Fill out ns_request structure in nis_add(). * nis/nss_compat/compat-pwd.c: Use reentrant netgroup functions. * nis/nss_compat/compat-spwd.c: Likewise. 1997-03-27 07:37 H.J. Lu <hjl@gnu.ai.mit.edu> * libio/fileops.c (_IO_file_overflow): Set error when try to write on a read-only stream. * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol. (ut_time): Define it only if _NO_UT_TIME is not defined. 1997-04-06 00:42 Ulrich Drepper <drepper@cygnus.com> * misc/tst-tsearch.c: Include <string.h>. Define _GNU_SOURCE only if not already defined. 1997-04-05 16:14 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/netatalk/at.h: Include <sys/socket.h> to get definition of sa_family_t for <linux/atalk.h>. Reported by a sun <asun@zoology.washington.edu>. * malloc/malloc.c (cALLOc): Little optimization.
1997-04-09 01:42:08 +02:00
else
temp=`echo $1 | sed 's%/*[^/]*$%%'`
Update. 1997-04-21 13:25 Ulrich Drepper <drepper@cygnus.com> * manual/arith.texi: Add description for INFINITY, _Imaginary_I, fpclassify & friends, and complex number operations. Update various other math functions for ISO C 9X. * manual/math.texi: Update various entries for ISO C 9X. Add description for complex number functions. Add description of rand48 function family. * manual/string.h: Add description of a64l and l64a. * math/cmathcalls.h: Fix typo. * stdlib/a64l.c: Pretty printing. * stdlib/seed48_r.c: Also reset `a' and `c' to default values. * stdlib/srand48_r.c: Likewise. * stdlib/stdlib.h: Pretty printing. * sysdeps/i386/fpu/__math.h: Fix typo. * sysdeps/libm-ieee754/s_nearbyintf.c: Correctly name function. * sysdeps/libm-ieee754/s_nearbyintl.c: Likewise. 1997-04-19 22:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/m68k/fpu/e_pow.c: Rewrite handling of integral exponent. 1997-04-18 19:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/m68k/fpu/__math.h: Define optimized versions of isgreater, isgreaterequal, isless, islessequal, islessgreater, and isunordered. 1997-04-20 01:28 Richard Henderson <rth@tamu.edu> * rellns-sh: Handle files in the same directory correctly. 1997-04-20 11:22 Ulrich Drepper <drepper@cygnus.com> * csu/initfini.c: Place ALIGN instruction at correct positions. Patch by Richard Henderson <richard@twiddle.rth.home>. 1997-04-19 17:12 Ulrich Drepper <drepper@cygnus.com> * Make-dist: Don't automatically ignore .c files if the .S or .s file is ignored. * csu/Makefile (distribute): Add defs.awk. 1997-04-19 15:39 Ulrich Drepper <drepper@cygnus.com> * sysdeps/stub/shmat.c: Update to XPG4.2 interface. * sysdeps/stub/shmdt.c: Likewise. Reported by Thomas Bushnell, n/BSG. 1997-04-19 13:22 Ulrich Drepper <drepper@cygnus.com> * manual/stdio.texi: Add description of printf_size and printf_size_info. Partly based on the documentation by Larry McVoy. 1997-04-19 02:21 Ulrich Drepper <drepper@cygnus.com> * stdio-common/printf_size.c (printf_size): Correct values for `units'. Report by Larry McVoy <lm@neteng.engr.sgi.com>. * stdio-common/tst-printfsz.c: New file. * stdio-common/Makefile (tests): Add tst-printfsz.c. (CFLAGS-tst-printfsz.c): Define to prevent warnings about format strings. 1997-04-18 15:48 Ulrich Drepper <drepper@cygnus.com> * login/utmp.h: Add prototype for updwtmp. * login/logwtmp.c: Add new function updwtmp which allows to write a complete record to the wtmp file. Patch by Miquel van Smoorenburg <miquels@cistron.nl>. 1997-04-17 17:57 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * math/Makefile (headers): Add mathbits.h. 1997-04-16 21:20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/m68k/fpu/__math.h: Add inlined sincos{,l,f}. * sysdeps/m68k/fpu/s_sincos.c: New file. * sysdeps/m68k/fpu/s_sincosf.c: New file. * sysdeps/m68k/fpu/s_sincosl.c: New file. * sysdeps/libm-ieee754/e_scalb.c: Use internal names of the functions. * sysdeps/libm-ieee754/e_scalbl.c: Likewise. * sysdeps/libm-ieee754/s_ctanh.c: Use isfinite instead of finite. * sysdeps/libm-ieee754/s_ctanhf.c: Likewise. * sysdeps/libm-ieee754/s_ctanhl.c: Likewise. * sysdeps/libm-ieee754/s_ctan.c: Likewise. * sysdeps/libm-ieee754/s_ctanf.c: Likewise. * sysdeps/libm-ieee754/s_ctanl.c: Likewise. Fix type of `res'. 1997-04-18 11:21 Ulrich Drepper <drepper@cygnus.com> * shadow/fgetspent_r.c: Set *RESULT to NULL before returning error. Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
1997-04-21 13:38:46 +02:00
if test -z "$temp"; then
to=`pwd -P`
Update. 1997-04-21 13:25 Ulrich Drepper <drepper@cygnus.com> * manual/arith.texi: Add description for INFINITY, _Imaginary_I, fpclassify & friends, and complex number operations. Update various other math functions for ISO C 9X. * manual/math.texi: Update various entries for ISO C 9X. Add description for complex number functions. Add description of rand48 function family. * manual/string.h: Add description of a64l and l64a. * math/cmathcalls.h: Fix typo. * stdlib/a64l.c: Pretty printing. * stdlib/seed48_r.c: Also reset `a' and `c' to default values. * stdlib/srand48_r.c: Likewise. * stdlib/stdlib.h: Pretty printing. * sysdeps/i386/fpu/__math.h: Fix typo. * sysdeps/libm-ieee754/s_nearbyintf.c: Correctly name function. * sysdeps/libm-ieee754/s_nearbyintl.c: Likewise. 1997-04-19 22:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/m68k/fpu/e_pow.c: Rewrite handling of integral exponent. 1997-04-18 19:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/m68k/fpu/__math.h: Define optimized versions of isgreater, isgreaterequal, isless, islessequal, islessgreater, and isunordered. 1997-04-20 01:28 Richard Henderson <rth@tamu.edu> * rellns-sh: Handle files in the same directory correctly. 1997-04-20 11:22 Ulrich Drepper <drepper@cygnus.com> * csu/initfini.c: Place ALIGN instruction at correct positions. Patch by Richard Henderson <richard@twiddle.rth.home>. 1997-04-19 17:12 Ulrich Drepper <drepper@cygnus.com> * Make-dist: Don't automatically ignore .c files if the .S or .s file is ignored. * csu/Makefile (distribute): Add defs.awk. 1997-04-19 15:39 Ulrich Drepper <drepper@cygnus.com> * sysdeps/stub/shmat.c: Update to XPG4.2 interface. * sysdeps/stub/shmdt.c: Likewise. Reported by Thomas Bushnell, n/BSG. 1997-04-19 13:22 Ulrich Drepper <drepper@cygnus.com> * manual/stdio.texi: Add description of printf_size and printf_size_info. Partly based on the documentation by Larry McVoy. 1997-04-19 02:21 Ulrich Drepper <drepper@cygnus.com> * stdio-common/printf_size.c (printf_size): Correct values for `units'. Report by Larry McVoy <lm@neteng.engr.sgi.com>. * stdio-common/tst-printfsz.c: New file. * stdio-common/Makefile (tests): Add tst-printfsz.c. (CFLAGS-tst-printfsz.c): Define to prevent warnings about format strings. 1997-04-18 15:48 Ulrich Drepper <drepper@cygnus.com> * login/utmp.h: Add prototype for updwtmp. * login/logwtmp.c: Add new function updwtmp which allows to write a complete record to the wtmp file. Patch by Miquel van Smoorenburg <miquels@cistron.nl>. 1997-04-17 17:57 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * math/Makefile (headers): Add mathbits.h. 1997-04-16 21:20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/m68k/fpu/__math.h: Add inlined sincos{,l,f}. * sysdeps/m68k/fpu/s_sincos.c: New file. * sysdeps/m68k/fpu/s_sincosf.c: New file. * sysdeps/m68k/fpu/s_sincosl.c: New file. * sysdeps/libm-ieee754/e_scalb.c: Use internal names of the functions. * sysdeps/libm-ieee754/e_scalbl.c: Likewise. * sysdeps/libm-ieee754/s_ctanh.c: Use isfinite instead of finite. * sysdeps/libm-ieee754/s_ctanhf.c: Likewise. * sysdeps/libm-ieee754/s_ctanhl.c: Likewise. * sysdeps/libm-ieee754/s_ctan.c: Likewise. * sysdeps/libm-ieee754/s_ctanf.c: Likewise. * sysdeps/libm-ieee754/s_ctanl.c: Likewise. Fix type of `res'. 1997-04-18 11:21 Ulrich Drepper <drepper@cygnus.com> * shadow/fgetspent_r.c: Set *RESULT to NULL before returning error. Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
1997-04-21 13:38:46 +02:00
else
to=`cd $temp && pwd -P`
Update. 1997-04-21 13:25 Ulrich Drepper <drepper@cygnus.com> * manual/arith.texi: Add description for INFINITY, _Imaginary_I, fpclassify & friends, and complex number operations. Update various other math functions for ISO C 9X. * manual/math.texi: Update various entries for ISO C 9X. Add description for complex number functions. Add description of rand48 function family. * manual/string.h: Add description of a64l and l64a. * math/cmathcalls.h: Fix typo. * stdlib/a64l.c: Pretty printing. * stdlib/seed48_r.c: Also reset `a' and `c' to default values. * stdlib/srand48_r.c: Likewise. * stdlib/stdlib.h: Pretty printing. * sysdeps/i386/fpu/__math.h: Fix typo. * sysdeps/libm-ieee754/s_nearbyintf.c: Correctly name function. * sysdeps/libm-ieee754/s_nearbyintl.c: Likewise. 1997-04-19 22:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/m68k/fpu/e_pow.c: Rewrite handling of integral exponent. 1997-04-18 19:34 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/m68k/fpu/__math.h: Define optimized versions of isgreater, isgreaterequal, isless, islessequal, islessgreater, and isunordered. 1997-04-20 01:28 Richard Henderson <rth@tamu.edu> * rellns-sh: Handle files in the same directory correctly. 1997-04-20 11:22 Ulrich Drepper <drepper@cygnus.com> * csu/initfini.c: Place ALIGN instruction at correct positions. Patch by Richard Henderson <richard@twiddle.rth.home>. 1997-04-19 17:12 Ulrich Drepper <drepper@cygnus.com> * Make-dist: Don't automatically ignore .c files if the .S or .s file is ignored. * csu/Makefile (distribute): Add defs.awk. 1997-04-19 15:39 Ulrich Drepper <drepper@cygnus.com> * sysdeps/stub/shmat.c: Update to XPG4.2 interface. * sysdeps/stub/shmdt.c: Likewise. Reported by Thomas Bushnell, n/BSG. 1997-04-19 13:22 Ulrich Drepper <drepper@cygnus.com> * manual/stdio.texi: Add description of printf_size and printf_size_info. Partly based on the documentation by Larry McVoy. 1997-04-19 02:21 Ulrich Drepper <drepper@cygnus.com> * stdio-common/printf_size.c (printf_size): Correct values for `units'. Report by Larry McVoy <lm@neteng.engr.sgi.com>. * stdio-common/tst-printfsz.c: New file. * stdio-common/Makefile (tests): Add tst-printfsz.c. (CFLAGS-tst-printfsz.c): Define to prevent warnings about format strings. 1997-04-18 15:48 Ulrich Drepper <drepper@cygnus.com> * login/utmp.h: Add prototype for updwtmp. * login/logwtmp.c: Add new function updwtmp which allows to write a complete record to the wtmp file. Patch by Miquel van Smoorenburg <miquels@cistron.nl>. 1997-04-17 17:57 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * math/Makefile (headers): Add mathbits.h. 1997-04-16 21:20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/m68k/fpu/__math.h: Add inlined sincos{,l,f}. * sysdeps/m68k/fpu/s_sincos.c: New file. * sysdeps/m68k/fpu/s_sincosf.c: New file. * sysdeps/m68k/fpu/s_sincosl.c: New file. * sysdeps/libm-ieee754/e_scalb.c: Use internal names of the functions. * sysdeps/libm-ieee754/e_scalbl.c: Likewise. * sysdeps/libm-ieee754/s_ctanh.c: Use isfinite instead of finite. * sysdeps/libm-ieee754/s_ctanhf.c: Likewise. * sysdeps/libm-ieee754/s_ctanhl.c: Likewise. * sysdeps/libm-ieee754/s_ctan.c: Likewise. * sysdeps/libm-ieee754/s_ctanf.c: Likewise. * sysdeps/libm-ieee754/s_ctanl.c: Likewise. Fix type of `res'. 1997-04-18 11:21 Ulrich Drepper <drepper@cygnus.com> * shadow/fgetspent_r.c: Set *RESULT to NULL before returning error. Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
1997-04-21 13:38:46 +02:00
fi
Update. 1997-04-09 01:24 Ulrich Drepper <drepper@cygnus.com> * rellns-sh: Rewrite to work also in presence of symlinks. * arpg/argp-fmtstream.c: Add casts to prevent warnings. * argp/argp-fmtstream.h: Likewise. * argp/argp-help.c: Likewise. * elf/dl-minimal.c: Add definition of calloc. * elf/version.c: Add casts to prevent warnings. (_dl_check_map_versions): Use calloc instead of malloc+memset. * locale/setlocale.c (_nl_current): Add element with index LC_ALL. Reported by Greg McGary <gkm@eng.ascend.com>. * manual/libc.texinfo: Update malloc documentation for new malloc. * manual/memory.texi: Likewise. Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>. * math/libm-test.c (check_long): New function. (check_longlong): New function. (rinttol_test): New function. (rinttoll_test): New function. * nis/nss_compat/compat-grp.c (in_blacklist): Improve a bit. * nis/nss_compat/compat-pwd.c: Likewise. * nis/nss_compat/compat-spwd.c: Likewise. * stdlib/erand48_r.c (erand48_r): Build double value using ieee754_double union and use random bits in different order to increase effect of seed. Reported by David Mosberger-Tang <davidm@AZStarNet.com>. * sunrpc/svc_auth.c: Moved to ... * sysdeps/generic/svc_auth.c: ...here. * time/time.h: Pretty print. 1997-04-08 07:19 H.J. Lu <hjl@gnu.ai.mit.edu> * libio/genops.c (_IO_flush_all_linebuffered): don't flush on a read-only stream. 1997-04-09 01:19 Ulrich Drepper <drepper@cygnus.com> * malloc/malloc.c (mALLOC_STATs) [MALLOC_DEBUG>1]: Put declaration in correct place. Patch by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>. 1997-04-07 15:34 Ulrich Drepper <drepper@cygnus.com> * stdio-common/Makefile (tests): Add tst-ferror. * stdio-common/tst-ferror.c: New file. Some tests for error indicator of streams. * stdio-common/tst-ferror.input: New file. * isomac.c: Let tests not fail because the compiler defines itself symbols which violate the name space rules. gcc defines symbols for the architecture which are not protected by an underscore character. * math/Makefile (libm-support): Add s_rinttol and s_rinttoll. (libm-calls): Add s_clog. * sysdeps/libm-ieee754/s_clog.c: New file. Implementation of logarithm of complex value. * sysdeps/libm-ieee754/s_clogf.c: New file. * sysdeps/libm-ieee754/s_clogl.c: New file. * math/libm-test.c (clog_test): Compile this function. Fix a few typos. (main): Call clog_test. * sysdeps/libm-ieee754/s_rinttol.c: New file. Round long double value to long int. * sysdeps/libm-i387/s_rinttol.S: New file. * sysdeps/libm-ieee754/s_rinttoll.c: new file. Round long double value to long long int. * sysdeps/libm-i387/s_rinttoll.S: New file. * sysdeps/libm-ieee754/s_rintl.c: Many corrections. The previous version was full of errors. * math/math.h (rinttol): Argument is of type `long double' not `double'. (rinttoll): Likewise. (roundtol): Likewise. (roundtoll): Likewise. 1997-04-06 11:32 H.J. Lu <hjl@gnu.ai.mit.edu> * posix/getopt.c (_getopt_initialize): Preserve optind. (_getopt_internal): Set optind to 1 if optind == 0 before calling _getopt_initialize (). 1997-04-05 16:45 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> * nis/rpcsvc/nislib.h: Change const nis_name to new type const_nis_name. * nis/nis_intern.c: Likewise. * nis/nis_intern.h: Likewise. * nis/nis_server.c: Likewise. * nis/nis_subr.c: Likewise. * nis/nis_table.c: Likewise. * nis/nis_names.c: Likewise. Fill out ns_request structure in nis_add(). * nis/nss_compat/compat-pwd.c: Use reentrant netgroup functions. * nis/nss_compat/compat-spwd.c: Likewise. 1997-03-27 07:37 H.J. Lu <hjl@gnu.ai.mit.edu> * libio/fileops.c (_IO_file_overflow): Set error when try to write on a read-only stream. * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol. (ut_time): Define it only if _NO_UT_TIME is not defined. 1997-04-06 00:42 Ulrich Drepper <drepper@cygnus.com> * misc/tst-tsearch.c: Include <string.h>. Define _GNU_SOURCE only if not already defined. 1997-04-05 16:14 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/netatalk/at.h: Include <sys/socket.h> to get definition of sa_family_t for <linux/atalk.h>. Reported by a sun <asun@zoology.washington.edu>. * malloc/malloc.c (cALLOc): Little optimization.
1997-04-09 01:42:08 +02:00
to="$to/`echo $1 | sed 's%.*/\([^/][^/]*\)$%\1%'`"
fi
to=`echo $to | sed 's%^/%%'`
update from main archive 961101 Sat Nov 2 01:48:47 1996 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/errnos.h: Move declaration of errno and __errno_location to correct position. Thu Oct 31 22:51:25 1996 Ulrich Drepper <drepper@cygnus.com> * Makefile (distribute): Add rellns-sh. * rellns-sh: New file. * Makerules (make-link): Use rellns-sh. * time/Makefile ($(installed-localtime-file)): Likewise. Thu Oct 31 11:33:01 1996 Ulrich Drepper <drepper@cygnus.com> * elf/Makefile ($objpfx)ldd) Substitute $(version) for @VERSION@. (distribute): Add ldd.bash.in. * elf/ldd.sh.in: Process --help and --version parameter. Correct comments. * elf/ldd.bash.in: New file. * stdlib/stdlib.h: Add prototype for clearenv. * sysdeps/generic/setenv.c: Add implementation of clearenv. (setenv): Handle __environ == NULL correctly. * sysdeps/stub/setenv.c: Add stub definition for unsetenv and clearenv. * sysdeps/generic/putenv.c: Correct layout to fit in libit. * sysdeps/generic/setenv.c: Likewise. * stdlib/strtol.h: Likewise. * time/sys/time.h: Define __need_timeval and include <timebits.h>. Remove definition of struct timeval. * sysdeps/stub/timebits.h [__need_timeval]: Define struct timeval using `time_t' for members. * sysdeps/unix/sysv/linux/timebits.h [__need_timeval]: Likewise. * sysdeps/unix/sysv/linux/alpha/timebits.h: New file. Same as old Linux specific version. * string/argz.h: Use __const in definitions. * inet/herrno.c: Don't define __h_errno, only h_errno otherwise the __syscall_error defined. TRACE_MODE. Craig Metz. arithmetic. buggy and more competent people work on a usable version which is distributed separately. `finitel'. better message if it is not available. whether read failed. PSEUDO_END macro. Especially on the currently supported ELF systems the nlist function comes with the libelf. "$(i18ndir)/charmaps". net/if_arp.h, and net/route.h. version. EXTERN_PARSER is defined. set errno (to ENOMEM). nothing is found. This guarantees all subsequent calls behave the same. the file even if no `era's are specified. pointers. _llseek to _llseek (not llseek). Initialize `result'. end_alt_digits. __libc_force_cancel_wrapper when compiling reentrant version. a weak alias. make tcdrain a weak alias. lseek, open, read, and write to have __libc_ prefix and make old names a weak alias. to fpathconf. __libc_setlocale_lock. ld.so.preload. Suggested by David Engel <david@elo.ods.com>. on the same device as the password file. variable. to lock when passing it to __libc_lock_init macro. sysdep.h to the top outside of #ifndef PIC. Don't include errnos.h. Use the ENTRY macro. 9th field. and sys/vt.h. `_dl_start' so that linking fails if this file should ever be used in ld.so. RMS' last standard revision. (sysdep_headers): Remove sys/sysinfo.h. match files in the sysdeps hierachy (welcome back, sys/syscall.h!). categories which succeeded to load after a wrong or missing data file was observed. _IO_flockfile and _IO_funlockfile resp. all three versions of the math function. non-trivial inline functions. rpath-link so that running the check finds the new library. daylight saving, timezone by time zone. syscall_error handler for reentrant libc. warning. _IO_getc_unlocked. in version information banner. clearerr_u, feof_u, ferror_u, fputc_u, getc_u, getchar_u, iofflush_u, putc_u, putchar_u, ioflockfile. using __errno_location function. syscall_error handler for reentrant libc. definition of function itself. funlockfile. _malloc_loc. but _POSIX_THREAD_DESTRUCTOR_ITERATIONS. Add macro `errno' to get thread specific variable. __errno_location function. * malloc/free.c (free): __lib_malloc_lock -> __libc_malloc_lock. case, so don't prepend uppercase `ISO' for only numeric arg. call to __libc_lock_lock. sys/sysmacros.h. Reported by Curtiss <1CMC3466@IBM.MTSAC.EDU>. stamp file. generating stamp file. implementation. `decimal' char is 0. noexpr to "^[nN]"; this conforms to POSIX.2. conform to POSIX.2. mon_grouping, int_frac_digits, frac_digits, p_cs_precedes, p_sep_by_space, n_cs_precedes, n_sep_by_space, p_sign_posn, and n_sign_posn to CHAR_MAX, as required by the POSIX Standard. variable. this changes the global state for `localtime' and `gmtime'. Use `__localtime_r'/`__gmtime_r' instead. state. getutid_r() fails with ESRCH. Reported by Miquel van Smoorenburg. for "Jensen" so _bus_base() returns 0 on that platform. Use _bus_base_sparse() to determine base address of sparse memory. are now in $P/stdio-common.pot. script at run time, not configure time. warning. sorted. inet_net_pton, inet_net. value of sprintf. functions instead of BSD `b*' functions. $(objpfx)/mach-syscalls.mk. <marcus@sysc.pdx.edu> for the patch.) before returning. Reported by Miles Bader. __BEGIN_DECLS/__END_DECLS up so ntohl() et al are bracketed as well. This is not a gross hack, after all---for compatibility, getlogin() really should check fd 0 only and not try to base its operation on the controlling tty. change utmp_data from static to auto. _IO_file_flags. It's the same as _flags. call is only a stub. Mikasa. pointer as __const. segfault when called with an N that is not a multiple of four and src[N-1]=='\0'. try again with SOCK_STREAM (the Linux syslogd uses a socket of the latter type). terminator as a record-delimiter. If __send(LogFile) fails, `getutline_r'. `setutline_r'. of `vscanf'. name a weak alias. typo. initialized in init-first.c. Some actions in the libc work different when libc is static or dynamic. `__libc_is_static' variable to determine whether call to `personality' and `setfpucw' is necessary. When done set variable to +-1 depending on library type. `__libc_enable_secure' instead of calling `get{,e}{g,u}id()' to determine whether it's a SET[UG]ID program. (open_file): New function, contents mostly from __open. LD_TRACE_LOADED_OBJECTS is set. n)' equivalent to `strncpy (d, s, n), d += strnlen (d, n)'. from the USA any software that even makes it easy to drop in an encryption module of foreign origin. old code would have failed on a big-endian 64-bit architecture). Remove gratitous parentheses around return expressions. not int. ustatbits.h. alphabetically correct place. Mention ustat. record always gets appended at end of file (wtmp is a log file, after all). Set ut_type to DEAD_PROCESS if name is empty. ut_line matches and type is either USER_PROCESS or LOGIN_PROCESS. avoid duplicate declarations. word extends right up to rmargin. point_col ssize_t. to fiddle __put_limit in conjunction with __linebuf_active. of, not the ones he is _not_ a member of. instead of a local function. The latter are difficult to debug and slow to execute on certain platforms. place of sizeof (dev). The size of a literal string includes the NUL byte. entry. Return 1 on error, not -1. shift amount for Jensen must be 5 not 4. for send and connect syscalls. signed<->unsigned warnings. variable name, so new a libc with new requirements won't fail to notice an insufficient Linux version. PENDIN, NOFLSH): Undefine these at start if they are already defined to avoid collision with termbits.h. error is 0. The "placeholder" entries recently added to memcpy for possibly overlapping strings. instead of weak_symbol (NAME) after the defn. necessary using current implementation of memcpy, but...). Move struct timespec defn outside [_TIME_H] so it can be got with #define __need_timespec. __connect instead of connect to avoid name-space collisions (e.g., with psgetty). function ctype_is_charmap to ctype_is_charconv. charconv. charconv. lables according to this. warnings. actually do something. sysdeps/unix/sysv/linux/m68k/init-first.h, sysdeps/unix/sysv/linux/i386/init-first.h: New files. init-first.h to make abstract machine dependent parts of typo/extraneous whitespace. check-for-pending signals code, release _hurd_siglock before jumping to deliver_pending. size_t. soname of a loaded object, use that object. if libnss_dns.so module for DNS name lookup in NSS service. guessing to not assume p_vaddr of first load cmd is zero. only for ?s, not for *s. Fix from Chet Ramey. about currently used character set. name `MAX_IOVEC'. Instead use standard name `UIO_MAXIOV'. (xdrrec_getlong), sunrpc/xdr_mem.c (xdrmem_getlong): Make sure appropriate sign-extension is performed on machines with sizeof(long) > 4. sizeof(int)<sizeof(long), we need to go through a temporary variable. in efect. volatile to avoid "might get clobbered by longjmp" warning. unless _LOOSE_KERNEL_NAMES is in effect (which, with high probability is a sure loser). sysdeps/unix/sysv/linux/alpha/brk.S, sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S, sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S, sysdeps/unix/sysv/linux/alpha/llseek.S, sysdeps/unix/sysv/linux/alpha/sigsuspend.S, sysdeps/unix/sysv/linux/alpha/syscall.S: Rename syscall_error to __syscall_error to avoid intruding application name space. sysdeps/unix/geteuid.S, sysdeps/unix/getppid.S, sysdeps/unix/execve.S, sysdeps/unix/fork.S, sysdeps/unix/syscall.S: Terminate syscall with PSEUDO_END. (PSEUDO_END): Rename END() to PSEUDO_END(). to PSEUDO_END to improve branch-prediction. Include .frame directive to make syscalls debugabble. sysdeps/unix/sysv/linux/alpha/brk.S: Use ldiq instead of ldi since latter is illegal under DEC Unix. as well. EWOULDBLOCK -> EAGAIN mapping was unnecessary since EWOULDBLOCK==EAGAIN under DEC Unix and Linux/Alpha). address register in the .frame directive. avoid RPC definitions of INADDR_LOOPBACK and/or MAXHOSTNAMELEN. compilable under c++. as unsigned long, not as int (to avoid incorrect int->long promotion).
1996-11-02 02:28:01 +01:00
Update. 1997-04-09 01:24 Ulrich Drepper <drepper@cygnus.com> * rellns-sh: Rewrite to work also in presence of symlinks. * arpg/argp-fmtstream.c: Add casts to prevent warnings. * argp/argp-fmtstream.h: Likewise. * argp/argp-help.c: Likewise. * elf/dl-minimal.c: Add definition of calloc. * elf/version.c: Add casts to prevent warnings. (_dl_check_map_versions): Use calloc instead of malloc+memset. * locale/setlocale.c (_nl_current): Add element with index LC_ALL. Reported by Greg McGary <gkm@eng.ascend.com>. * manual/libc.texinfo: Update malloc documentation for new malloc. * manual/memory.texi: Likewise. Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>. * math/libm-test.c (check_long): New function. (check_longlong): New function. (rinttol_test): New function. (rinttoll_test): New function. * nis/nss_compat/compat-grp.c (in_blacklist): Improve a bit. * nis/nss_compat/compat-pwd.c: Likewise. * nis/nss_compat/compat-spwd.c: Likewise. * stdlib/erand48_r.c (erand48_r): Build double value using ieee754_double union and use random bits in different order to increase effect of seed. Reported by David Mosberger-Tang <davidm@AZStarNet.com>. * sunrpc/svc_auth.c: Moved to ... * sysdeps/generic/svc_auth.c: ...here. * time/time.h: Pretty print. 1997-04-08 07:19 H.J. Lu <hjl@gnu.ai.mit.edu> * libio/genops.c (_IO_flush_all_linebuffered): don't flush on a read-only stream. 1997-04-09 01:19 Ulrich Drepper <drepper@cygnus.com> * malloc/malloc.c (mALLOC_STATs) [MALLOC_DEBUG>1]: Put declaration in correct place. Patch by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>. 1997-04-07 15:34 Ulrich Drepper <drepper@cygnus.com> * stdio-common/Makefile (tests): Add tst-ferror. * stdio-common/tst-ferror.c: New file. Some tests for error indicator of streams. * stdio-common/tst-ferror.input: New file. * isomac.c: Let tests not fail because the compiler defines itself symbols which violate the name space rules. gcc defines symbols for the architecture which are not protected by an underscore character. * math/Makefile (libm-support): Add s_rinttol and s_rinttoll. (libm-calls): Add s_clog. * sysdeps/libm-ieee754/s_clog.c: New file. Implementation of logarithm of complex value. * sysdeps/libm-ieee754/s_clogf.c: New file. * sysdeps/libm-ieee754/s_clogl.c: New file. * math/libm-test.c (clog_test): Compile this function. Fix a few typos. (main): Call clog_test. * sysdeps/libm-ieee754/s_rinttol.c: New file. Round long double value to long int. * sysdeps/libm-i387/s_rinttol.S: New file. * sysdeps/libm-ieee754/s_rinttoll.c: new file. Round long double value to long long int. * sysdeps/libm-i387/s_rinttoll.S: New file. * sysdeps/libm-ieee754/s_rintl.c: Many corrections. The previous version was full of errors. * math/math.h (rinttol): Argument is of type `long double' not `double'. (rinttoll): Likewise. (roundtol): Likewise. (roundtoll): Likewise. 1997-04-06 11:32 H.J. Lu <hjl@gnu.ai.mit.edu> * posix/getopt.c (_getopt_initialize): Preserve optind. (_getopt_internal): Set optind to 1 if optind == 0 before calling _getopt_initialize (). 1997-04-05 16:45 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> * nis/rpcsvc/nislib.h: Change const nis_name to new type const_nis_name. * nis/nis_intern.c: Likewise. * nis/nis_intern.h: Likewise. * nis/nis_server.c: Likewise. * nis/nis_subr.c: Likewise. * nis/nis_table.c: Likewise. * nis/nis_names.c: Likewise. Fill out ns_request structure in nis_add(). * nis/nss_compat/compat-pwd.c: Use reentrant netgroup functions. * nis/nss_compat/compat-spwd.c: Likewise. 1997-03-27 07:37 H.J. Lu <hjl@gnu.ai.mit.edu> * libio/fileops.c (_IO_file_overflow): Set error when try to write on a read-only stream. * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol. (ut_time): Define it only if _NO_UT_TIME is not defined. 1997-04-06 00:42 Ulrich Drepper <drepper@cygnus.com> * misc/tst-tsearch.c: Include <string.h>. Define _GNU_SOURCE only if not already defined. 1997-04-05 16:14 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/netatalk/at.h: Include <sys/socket.h> to get definition of sa_family_t for <linux/atalk.h>. Reported by a sun <asun@zoology.washington.edu>. * malloc/malloc.c (cALLOc): Little optimization.
1997-04-09 01:42:08 +02:00
if test -d $2; then
from=`echo $2 | sed 's%/*$%%'`
else
from=`echo $2 | sed 's%/*[^/]*$%%'`
fi
update from main archive 961101 Sat Nov 2 01:48:47 1996 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/errnos.h: Move declaration of errno and __errno_location to correct position. Thu Oct 31 22:51:25 1996 Ulrich Drepper <drepper@cygnus.com> * Makefile (distribute): Add rellns-sh. * rellns-sh: New file. * Makerules (make-link): Use rellns-sh. * time/Makefile ($(installed-localtime-file)): Likewise. Thu Oct 31 11:33:01 1996 Ulrich Drepper <drepper@cygnus.com> * elf/Makefile ($objpfx)ldd) Substitute $(version) for @VERSION@. (distribute): Add ldd.bash.in. * elf/ldd.sh.in: Process --help and --version parameter. Correct comments. * elf/ldd.bash.in: New file. * stdlib/stdlib.h: Add prototype for clearenv. * sysdeps/generic/setenv.c: Add implementation of clearenv. (setenv): Handle __environ == NULL correctly. * sysdeps/stub/setenv.c: Add stub definition for unsetenv and clearenv. * sysdeps/generic/putenv.c: Correct layout to fit in libit. * sysdeps/generic/setenv.c: Likewise. * stdlib/strtol.h: Likewise. * time/sys/time.h: Define __need_timeval and include <timebits.h>. Remove definition of struct timeval. * sysdeps/stub/timebits.h [__need_timeval]: Define struct timeval using `time_t' for members. * sysdeps/unix/sysv/linux/timebits.h [__need_timeval]: Likewise. * sysdeps/unix/sysv/linux/alpha/timebits.h: New file. Same as old Linux specific version. * string/argz.h: Use __const in definitions. * inet/herrno.c: Don't define __h_errno, only h_errno otherwise the __syscall_error defined. TRACE_MODE. Craig Metz. arithmetic. buggy and more competent people work on a usable version which is distributed separately. `finitel'. better message if it is not available. whether read failed. PSEUDO_END macro. Especially on the currently supported ELF systems the nlist function comes with the libelf. "$(i18ndir)/charmaps". net/if_arp.h, and net/route.h. version. EXTERN_PARSER is defined. set errno (to ENOMEM). nothing is found. This guarantees all subsequent calls behave the same. the file even if no `era's are specified. pointers. _llseek to _llseek (not llseek). Initialize `result'. end_alt_digits. __libc_force_cancel_wrapper when compiling reentrant version. a weak alias. make tcdrain a weak alias. lseek, open, read, and write to have __libc_ prefix and make old names a weak alias. to fpathconf. __libc_setlocale_lock. ld.so.preload. Suggested by David Engel <david@elo.ods.com>. on the same device as the password file. variable. to lock when passing it to __libc_lock_init macro. sysdep.h to the top outside of #ifndef PIC. Don't include errnos.h. Use the ENTRY macro. 9th field. and sys/vt.h. `_dl_start' so that linking fails if this file should ever be used in ld.so. RMS' last standard revision. (sysdep_headers): Remove sys/sysinfo.h. match files in the sysdeps hierachy (welcome back, sys/syscall.h!). categories which succeeded to load after a wrong or missing data file was observed. _IO_flockfile and _IO_funlockfile resp. all three versions of the math function. non-trivial inline functions. rpath-link so that running the check finds the new library. daylight saving, timezone by time zone. syscall_error handler for reentrant libc. warning. _IO_getc_unlocked. in version information banner. clearerr_u, feof_u, ferror_u, fputc_u, getc_u, getchar_u, iofflush_u, putc_u, putchar_u, ioflockfile. using __errno_location function. syscall_error handler for reentrant libc. definition of function itself. funlockfile. _malloc_loc. but _POSIX_THREAD_DESTRUCTOR_ITERATIONS. Add macro `errno' to get thread specific variable. __errno_location function. * malloc/free.c (free): __lib_malloc_lock -> __libc_malloc_lock. case, so don't prepend uppercase `ISO' for only numeric arg. call to __libc_lock_lock. sys/sysmacros.h. Reported by Curtiss <1CMC3466@IBM.MTSAC.EDU>. stamp file. generating stamp file. implementation. `decimal' char is 0. noexpr to "^[nN]"; this conforms to POSIX.2. conform to POSIX.2. mon_grouping, int_frac_digits, frac_digits, p_cs_precedes, p_sep_by_space, n_cs_precedes, n_sep_by_space, p_sign_posn, and n_sign_posn to CHAR_MAX, as required by the POSIX Standard. variable. this changes the global state for `localtime' and `gmtime'. Use `__localtime_r'/`__gmtime_r' instead. state. getutid_r() fails with ESRCH. Reported by Miquel van Smoorenburg. for "Jensen" so _bus_base() returns 0 on that platform. Use _bus_base_sparse() to determine base address of sparse memory. are now in $P/stdio-common.pot. script at run time, not configure time. warning. sorted. inet_net_pton, inet_net. value of sprintf. functions instead of BSD `b*' functions. $(objpfx)/mach-syscalls.mk. <marcus@sysc.pdx.edu> for the patch.) before returning. Reported by Miles Bader. __BEGIN_DECLS/__END_DECLS up so ntohl() et al are bracketed as well. This is not a gross hack, after all---for compatibility, getlogin() really should check fd 0 only and not try to base its operation on the controlling tty. change utmp_data from static to auto. _IO_file_flags. It's the same as _flags. call is only a stub. Mikasa. pointer as __const. segfault when called with an N that is not a multiple of four and src[N-1]=='\0'. try again with SOCK_STREAM (the Linux syslogd uses a socket of the latter type). terminator as a record-delimiter. If __send(LogFile) fails, `getutline_r'. `setutline_r'. of `vscanf'. name a weak alias. typo. initialized in init-first.c. Some actions in the libc work different when libc is static or dynamic. `__libc_is_static' variable to determine whether call to `personality' and `setfpucw' is necessary. When done set variable to +-1 depending on library type. `__libc_enable_secure' instead of calling `get{,e}{g,u}id()' to determine whether it's a SET[UG]ID program. (open_file): New function, contents mostly from __open. LD_TRACE_LOADED_OBJECTS is set. n)' equivalent to `strncpy (d, s, n), d += strnlen (d, n)'. from the USA any software that even makes it easy to drop in an encryption module of foreign origin. old code would have failed on a big-endian 64-bit architecture). Remove gratitous parentheses around return expressions. not int. ustatbits.h. alphabetically correct place. Mention ustat. record always gets appended at end of file (wtmp is a log file, after all). Set ut_type to DEAD_PROCESS if name is empty. ut_line matches and type is either USER_PROCESS or LOGIN_PROCESS. avoid duplicate declarations. word extends right up to rmargin. point_col ssize_t. to fiddle __put_limit in conjunction with __linebuf_active. of, not the ones he is _not_ a member of. instead of a local function. The latter are difficult to debug and slow to execute on certain platforms. place of sizeof (dev). The size of a literal string includes the NUL byte. entry. Return 1 on error, not -1. shift amount for Jensen must be 5 not 4. for send and connect syscalls. signed<->unsigned warnings. variable name, so new a libc with new requirements won't fail to notice an insufficient Linux version. PENDIN, NOFLSH): Undefine these at start if they are already defined to avoid collision with termbits.h. error is 0. The "placeholder" entries recently added to memcpy for possibly overlapping strings. instead of weak_symbol (NAME) after the defn. necessary using current implementation of memcpy, but...). Move struct timespec defn outside [_TIME_H] so it can be got with #define __need_timespec. __connect instead of connect to avoid name-space collisions (e.g., with psgetty). function ctype_is_charmap to ctype_is_charconv. charconv. charconv. lables according to this. warnings. actually do something. sysdeps/unix/sysv/linux/m68k/init-first.h, sysdeps/unix/sysv/linux/i386/init-first.h: New files. init-first.h to make abstract machine dependent parts of typo/extraneous whitespace. check-for-pending signals code, release _hurd_siglock before jumping to deliver_pending. size_t. soname of a loaded object, use that object. if libnss_dns.so module for DNS name lookup in NSS service. guessing to not assume p_vaddr of first load cmd is zero. only for ?s, not for *s. Fix from Chet Ramey. about currently used character set. name `MAX_IOVEC'. Instead use standard name `UIO_MAXIOV'. (xdrrec_getlong), sunrpc/xdr_mem.c (xdrmem_getlong): Make sure appropriate sign-extension is performed on machines with sizeof(long) > 4. sizeof(int)<sizeof(long), we need to go through a temporary variable. in efect. volatile to avoid "might get clobbered by longjmp" warning. unless _LOOSE_KERNEL_NAMES is in effect (which, with high probability is a sure loser). sysdeps/unix/sysv/linux/alpha/brk.S, sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S, sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S, sysdeps/unix/sysv/linux/alpha/llseek.S, sysdeps/unix/sysv/linux/alpha/sigsuspend.S, sysdeps/unix/sysv/linux/alpha/syscall.S: Rename syscall_error to __syscall_error to avoid intruding application name space. sysdeps/unix/geteuid.S, sysdeps/unix/getppid.S, sysdeps/unix/execve.S, sysdeps/unix/fork.S, sysdeps/unix/syscall.S: Terminate syscall with PSEUDO_END. (PSEUDO_END): Rename END() to PSEUDO_END(). to PSEUDO_END to improve branch-prediction. Include .frame directive to make syscalls debugabble. sysdeps/unix/sysv/linux/alpha/brk.S: Use ldiq instead of ldi since latter is illegal under DEC Unix. as well. EWOULDBLOCK -> EAGAIN mapping was unnecessary since EWOULDBLOCK==EAGAIN under DEC Unix and Linux/Alpha). address register in the .frame directive. avoid RPC definitions of INADDR_LOOPBACK and/or MAXHOSTNAMELEN. compilable under c++. as unsigned long, not as int (to avoid incorrect int->long promotion).
1996-11-02 02:28:01 +01:00
Update. 1997-04-09 01:24 Ulrich Drepper <drepper@cygnus.com> * rellns-sh: Rewrite to work also in presence of symlinks. * arpg/argp-fmtstream.c: Add casts to prevent warnings. * argp/argp-fmtstream.h: Likewise. * argp/argp-help.c: Likewise. * elf/dl-minimal.c: Add definition of calloc. * elf/version.c: Add casts to prevent warnings. (_dl_check_map_versions): Use calloc instead of malloc+memset. * locale/setlocale.c (_nl_current): Add element with index LC_ALL. Reported by Greg McGary <gkm@eng.ascend.com>. * manual/libc.texinfo: Update malloc documentation for new malloc. * manual/memory.texi: Likewise. Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>. * math/libm-test.c (check_long): New function. (check_longlong): New function. (rinttol_test): New function. (rinttoll_test): New function. * nis/nss_compat/compat-grp.c (in_blacklist): Improve a bit. * nis/nss_compat/compat-pwd.c: Likewise. * nis/nss_compat/compat-spwd.c: Likewise. * stdlib/erand48_r.c (erand48_r): Build double value using ieee754_double union and use random bits in different order to increase effect of seed. Reported by David Mosberger-Tang <davidm@AZStarNet.com>. * sunrpc/svc_auth.c: Moved to ... * sysdeps/generic/svc_auth.c: ...here. * time/time.h: Pretty print. 1997-04-08 07:19 H.J. Lu <hjl@gnu.ai.mit.edu> * libio/genops.c (_IO_flush_all_linebuffered): don't flush on a read-only stream. 1997-04-09 01:19 Ulrich Drepper <drepper@cygnus.com> * malloc/malloc.c (mALLOC_STATs) [MALLOC_DEBUG>1]: Put declaration in correct place. Patch by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>. 1997-04-07 15:34 Ulrich Drepper <drepper@cygnus.com> * stdio-common/Makefile (tests): Add tst-ferror. * stdio-common/tst-ferror.c: New file. Some tests for error indicator of streams. * stdio-common/tst-ferror.input: New file. * isomac.c: Let tests not fail because the compiler defines itself symbols which violate the name space rules. gcc defines symbols for the architecture which are not protected by an underscore character. * math/Makefile (libm-support): Add s_rinttol and s_rinttoll. (libm-calls): Add s_clog. * sysdeps/libm-ieee754/s_clog.c: New file. Implementation of logarithm of complex value. * sysdeps/libm-ieee754/s_clogf.c: New file. * sysdeps/libm-ieee754/s_clogl.c: New file. * math/libm-test.c (clog_test): Compile this function. Fix a few typos. (main): Call clog_test. * sysdeps/libm-ieee754/s_rinttol.c: New file. Round long double value to long int. * sysdeps/libm-i387/s_rinttol.S: New file. * sysdeps/libm-ieee754/s_rinttoll.c: new file. Round long double value to long long int. * sysdeps/libm-i387/s_rinttoll.S: New file. * sysdeps/libm-ieee754/s_rintl.c: Many corrections. The previous version was full of errors. * math/math.h (rinttol): Argument is of type `long double' not `double'. (rinttoll): Likewise. (roundtol): Likewise. (roundtoll): Likewise. 1997-04-06 11:32 H.J. Lu <hjl@gnu.ai.mit.edu> * posix/getopt.c (_getopt_initialize): Preserve optind. (_getopt_internal): Set optind to 1 if optind == 0 before calling _getopt_initialize (). 1997-04-05 16:45 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> * nis/rpcsvc/nislib.h: Change const nis_name to new type const_nis_name. * nis/nis_intern.c: Likewise. * nis/nis_intern.h: Likewise. * nis/nis_server.c: Likewise. * nis/nis_subr.c: Likewise. * nis/nis_table.c: Likewise. * nis/nis_names.c: Likewise. Fill out ns_request structure in nis_add(). * nis/nss_compat/compat-pwd.c: Use reentrant netgroup functions. * nis/nss_compat/compat-spwd.c: Likewise. 1997-03-27 07:37 H.J. Lu <hjl@gnu.ai.mit.edu> * libio/fileops.c (_IO_file_overflow): Set error when try to write on a read-only stream. * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol. (ut_time): Define it only if _NO_UT_TIME is not defined. 1997-04-06 00:42 Ulrich Drepper <drepper@cygnus.com> * misc/tst-tsearch.c: Include <string.h>. Define _GNU_SOURCE only if not already defined. 1997-04-05 16:14 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/netatalk/at.h: Include <sys/socket.h> to get definition of sa_family_t for <linux/atalk.h>. Reported by a sun <asun@zoology.washington.edu>. * malloc/malloc.c (cALLOc): Little optimization.
1997-04-09 01:42:08 +02:00
if test -z "$from"; then
from=`pwd -P | sed 's%^/%%'`
Update. 1997-04-13 01:06 Ulrich Drepper <drepper@cygnus.com> * isomac.c: Improve messages. * math/Makefile (libm-calls): Add s_nearbyint, s_catan, s_casin, s_ccos, s_csin, s_ctan, s_ctanh, s_cacos, s_casinh, s_cacosh, s_catanh, s_csqrt, and s_cpow. * math/libm-test.c: New functions ccos_test, cacos_test, cacosh_test, casin_test, casinh_test, catan_test, catanh_test, ctanh_test, csqrt_test, cpow_test, rint_test. * math/math.h: Include new header mathbits.h which defines some more (system dependent) types and some macros. (isfinite): Use __finite instead of fpclassify. * sysdeps/generic/mathbits.h: New file. * sysdeps/i386/fpu/mathbits.h: New file. * sysdeps/i386/huge_val.h: Don't define INFINITY. * sysdeps/ieee754/huge_val.h: Likewise. * sysdeps/m68k/huge_val.h: Likewise. * sysdeps/i386/fpu/fenvbits.h: Define FE_NOMASK_ENV. * sysdeps/i386/fpu/fesetenv.c: Handle FE_NOMASK_ENV. * math/complex.h (_Imaginary_I): Define correctly. I misread the standard first. * sysdeps/libm-i387/s_finite.S: Optimized rewrite. * sysdeps/libm-i387/s_finitef.S: Likewise. * sysdeps/libm-i387/s_finitel.S: Likewise. Provided by Joe Keane <jgk@jgk.org>. * sysdeps/libm-i387/s_nearbyint.S: New file. * sysdeps/libm-i387/s_nearbyintf.S: New file. * sysdeps/libm-i387/s_nearbyintl.S: New file. * sysdeps/libm-ieee754/s_nearbyint.S: New file. * sysdeps/libm-ieee754/s_nearbyintf.S: New file. * sysdeps/libm-ieee754/s_nearbyintl.S: New file. * sysdeps/libm-ieee754/s_cacos.c: New file. * sysdeps/libm-ieee754/s_cacosf.c: New file. * sysdeps/libm-ieee754/s_cacosl.c: New file. * sysdeps/libm-ieee754/s_cacosh.c: New file. * sysdeps/libm-ieee754/s_cacoshf.c: New file. * sysdeps/libm-ieee754/s_cacoshl.c: New file. * sysdeps/libm-ieee754/s_casin.c: New file. * sysdeps/libm-ieee754/s_casinf.c: New file. * sysdeps/libm-ieee754/s_casinl.c: New file. * sysdeps/libm-ieee754/s_casinh.c: New file. * sysdeps/libm-ieee754/s_casinhf.c: New file. * sysdeps/libm-ieee754/s_casinhl.c: New file. * sysdeps/libm-ieee754/s_catan.c: New file. * sysdeps/libm-ieee754/s_catanf.c: New file. * sysdeps/libm-ieee754/s_catanl.c: New file. * sysdeps/libm-ieee754/s_catanh.c: New file. * sysdeps/libm-ieee754/s_catanhf.c: New file. * sysdeps/libm-ieee754/s_catanhl.c: New file. * sysdeps/libm-ieee754/s_ccos.c: New file. * sysdeps/libm-ieee754/s_ccosf.c: New file. * sysdeps/libm-ieee754/s_ccosl.c: New file. * sysdeps/libm-ieee754/s_cpow.c: New file. * sysdeps/libm-ieee754/s_cpowf.c: New file. * sysdeps/libm-ieee754/s_cpowl.c: New file. * sysdeps/libm-ieee754/s_csin.c: New file. * sysdeps/libm-ieee754/s_csinf.c: New file. * sysdeps/libm-ieee754/s_csinl.c: New file. * sysdeps/libm-ieee754/s_csqrt.c: New file. * sysdeps/libm-ieee754/s_csqrtf.c: New file. * sysdeps/libm-ieee754/s_csqrtl.c: New file. * sysdeps/libm-ieee754/s_ctan.c: New file. * sysdeps/libm-ieee754/s_ctanf.c: New file. * sysdeps/libm-ieee754/s_ctanl.c: New file. * sysdeps/libm-ieee754/s_ctanh.c: New file. * sysdeps/libm-ieee754/s_ctanhf.c: New file. * sysdeps/libm-ieee754/s_ctanhl.c: New file. * time/strftime.c (memset_space): Increment pointer. * time/strptime.c: Interpret year number 00-59 as 2000--2059. Patches by Karl Heuer <kwzh@gnu.ai.mit.edu>. 1997-04-11 11:57 Miguel de Icaza <miguel@nuclecu.unam.mx> * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove fork, pipe, syscall. 1997-04-05 00:57 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/libm-ieee754/s_remquo.c: Change algorithm, although probably still wrong. * sysdeps/libm-ieee754/s_remquof.c: Likewise. * sysdeps/libm-ieee754/s_remquol.c: Likewise. * math/libm-test.c (remquo_test): Corrected. 1997-04-11 00:01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/m68k/fpu/__math.h (__rinttol, rinttol): New inline. * sysdeps/m68k/fpu/s_rinttol.c: New file. * sysdeps/m68k/fpu/s_rinttoll.c: New file. * math/libm-test.c (remquo_test): Use check_long to test the quotient. (cbrt_test): Add epsilons for long double. 1997-04-10 18:48 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * locale/localeinfo.h: Update declaration of _nl_current. 1997-04-11 11:27 Ulrich Drepper <drepper@cygnus.com> * rellnsh-sh: Use explicitely /bin/pwd to find the external program. * math/Makefile (headers): Add fenv.h and fenvbits.h. (libm-support): Add s_rountol, s_roundtoll, fclrexcpt, fgetexcptflg, fraiseexcpt, fsetexcptflg, ftestexcept, fegetround, fesetround, fegetenv, feholdexcpt, fesetenv, feupdateenv. (libm-calls): Add s_round. * math/fenv.h: New file. * math/libm-test.c: Correct tests for s_rinttol and s_rinttoll. Add roundtol_check and roundtoll_check. * math/math.h: Pretty printing. * sysdeps/i386/fpu/fclrexcpt.c: New file. * sysdeps/i386/fpu/fegetenv.c: New file. * sysdeps/i386/fpu/fegetround.c: New file. * sysdeps/i386/fpu/feholdexcpt.c: New file. * sysdeps/i386/fpu/fenvbits.h: New file. * sysdeps/i386/fpu/fesetenv.c: New file. * sysdeps/i386/fpu/fesetround.c: New file. * sysdeps/i386/fpu/fgetexcptflg.c: New file. * sysdeps/i386/fpu/fraiseexcpt.c: New file. * sysdeps/i386/fpu/fsetexcptflg.c: New file. * sysdeps/i386/fpu/ftestexcept.c: New file. * sysdeps/stub/fclrexcpt.c: New file. * sysdeps/stub/fegetenv.c: New file. * sysdeps/stub/fegetround.c: New file. * sysdeps/stub/feholdexcpt.c: New file. * sysdeps/stub/fenvbits.h: New file. * sysdeps/stub/fesetenv.c: New file. * sysdeps/stub/fesetround.c: New file. * sysdeps/stub/fgetexcptflg.c: New file. * sysdeps/stub/fraiseexcpt.c: New file. * sysdeps/stub/fsetexcptflg.c: New file. * sysdeps/stub/ftestexcept.c: New file. * sysdeps/libm-i387/s_trunc.S: New file. * sysdeps/libm-i387/s_truncf.S: New file. * sysdeps/libm-i387/s_truncl.S: New file. * sysdeps/libm-ieee754/s_round.c: New file. * sysdeps/libm-ieee754/s_roundf.c: New file. * sysdeps/libm-ieee754/s_roundl.c: New file. * sysdeps/libm-ieee754/s_ccosh.c: Rewritten to use fpclassify. * sysdeps/libm-ieee754/s_ccoshf.c: Likewise. * sysdeps/libm-ieee754/s_ccoshl.c: Likewise. * sysdeps/libm-ieee754/s_cexp.c: Likewise. * sysdeps/libm-ieee754/s_cexpf.c: Likewise. * sysdeps/libm-ieee754/s_cexpl.c: Likewise. * sysdeps/libm-ieee754/s_clog.c: Likewise. * sysdeps/libm-ieee754/s_clogf.c: Likewise. * sysdeps/libm-ieee754/s_clogl.c: Likewise. * sysdeps/libm-ieee754/s_csinh.c. Likewise. * sysdeps/libm-ieee754/s_csinhf.c. Likewise. * sysdeps/libm-ieee754/s_csinhl.c. Likewise. * sysdeps/libm-ieee754/s_ceill.c: Corrected. The mantissa has only 63 bits. * sysdeps/libm-ieee754/s_floorl.c: Likewise. * po/pl.po: Updated. * string/swab.c: Correctly handle array of odd length. * sysdeps/generic/memmem.c: Update copyright. 1997-04-10 20:22 Ulrich Drepper <drepper@cygnus.com> * hurd/Makefile (sunrpc-headers): Add clnt.h. Proposed by Thomas Bushnell <thomas@gnu.ai.mit.edu>. 1997-04-09 14:21 Miguel de Icaza <miguel@nuclecu.unam.mx> * sysdeps/sparc/dl-machine.h: Bug fix: I was not loading the proper value from the GOT. Pass argument block to init function. * sysdeps/sparc/elf/start.c: Call atexit (_fini) after calling _init (). * sysdeps/sparc/fpu_control.h: Fix the FPU constants. I got them wrong the first time. * sysdeps/sparc/setjmp.S: PIC code was clobbering a callee saved register. * sysdeps/sparc/udiv_qrnnd.S: Add type @function. * sysdeps/unix/sysv/linux/sparc/init-first.h: Linux/SPARC specific SYSDEP_CALL_INIT. * sysdeps/unix/sysv/linux/sparc/signum.h: Remove definition for NSIG and duplicated SIGIOT. 1997-04-05 00:57 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/libm-ieee754/s_remquo.c: Change algorithm, although probably still wrong. * sysdeps/libm-ieee754/s_remquof.c: Likewise. * sysdeps/libm-ieee754/s_remquol.c: Likewise. * math/libm-test.c (remquo_test): Corrected. 1997-04-03 18:35 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * Makefile (parent-tests): New target to run the tests to that they are executed even if some subdir tests have failed. (tests): Depend on parent-tests instead of running the tests directly. 1997-04-03 12:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> Clean up name space pollution in libnss_*.so: * nis/nss_compat/compat-pwd.c, resolv/mapv4v6addr.h, resolv/nss_dns/dns-host.c: Replace bzero by memset, bcopy by memcpy and bcmp by memcmp to clean up namespace. * nss/nss_db/db-XXX.c (internal_setent): Use __dbopen instead of dbopen. * nss/nss_db/db-alias.c (internal_setent): Likewise. * nss/nss_db/db-netgrp.c (_nss_db_setnetgrent): Likewise. * db/db/db.c [_LIBC]: Define __dbopen instead of dbopen and make the latter a weak alias. * db/db.h: Declare __dbopen. * db/btree/btree.h [_LIBC]: Prepend __ to all mpool functions. * db/mpool/mpool.c [_LIBC]: Define all external functions with __ prefix and make the old names weak aliases. * db/mpool.h: Declare the new internal names. 1997-04-04 23:57 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * stdio-common/vfscanf.c: Fix scanning of hexadecimal fp number. * stdio-common/tstscanf.c: Add test case for this. 1997-04-04 17:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * math/libm-test.c: Fix more typos. 1997-04-03 17:15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * math/libm-test.c (csinh_test): Fix test names. (ccosh_test): Likewise. * sysdeps/libm-ieee754/s_csinh.c: Use sinh function instead of computing it directly. * sysdeps/libm-ieee754/s_csinhf.c: Likewise. * sysdeps/libm-ieee754/s_csinhl.c: Likewise. * sysdeps/libm-ieee754/s_ccosh.c: Use cosh function instead of computing it directly. * sysdeps/libm-ieee754/s_ccoshf.c: Likewise. * sysdeps/libm-ieee754/s_ccoshl.c: Likewise. * sysdeps/libm-ieee754/s_cexp.c: Use internal exp function instead of wrapper. * sysdeps/libm-ieee754/s_cexpf.c: Likewise. * sysdeps/libm-ieee754/s_cexpl.c: Likewise. * sysdeps/m68k/fpu/s_cexp.c: Likewise. Correct handling of special values. Avoid use of fsincos if all that is needed is the quadrant. * sysdeps/m68k/fpu/s_ccosh.c: New file. * sysdeps/m68k/fpu/s_ccoshf.c: New file. * sysdeps/m68k/fpu/s_ccoshl.c: New file. * sysdeps/m68k/fpu/s_csinh.c: New file. * sysdeps/m68k/fpu/s_csinhl.c: New file. * sysdeps/m68k/fpu/s_csinhf.c: New file. 1997-04-03 10:18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * manual/Makefile (dir-add.texi): Simplify. * libio/genops.c (_IO_flush_all_linebuffered): Don't flush on
1997-04-13 01:41:36 +02:00
else
from=`cd $from && pwd -P | sed 's%^/%%'`
Update. 1997-04-09 01:24 Ulrich Drepper <drepper@cygnus.com> * rellns-sh: Rewrite to work also in presence of symlinks. * arpg/argp-fmtstream.c: Add casts to prevent warnings. * argp/argp-fmtstream.h: Likewise. * argp/argp-help.c: Likewise. * elf/dl-minimal.c: Add definition of calloc. * elf/version.c: Add casts to prevent warnings. (_dl_check_map_versions): Use calloc instead of malloc+memset. * locale/setlocale.c (_nl_current): Add element with index LC_ALL. Reported by Greg McGary <gkm@eng.ascend.com>. * manual/libc.texinfo: Update malloc documentation for new malloc. * manual/memory.texi: Likewise. Patch by Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>. * math/libm-test.c (check_long): New function. (check_longlong): New function. (rinttol_test): New function. (rinttoll_test): New function. * nis/nss_compat/compat-grp.c (in_blacklist): Improve a bit. * nis/nss_compat/compat-pwd.c: Likewise. * nis/nss_compat/compat-spwd.c: Likewise. * stdlib/erand48_r.c (erand48_r): Build double value using ieee754_double union and use random bits in different order to increase effect of seed. Reported by David Mosberger-Tang <davidm@AZStarNet.com>. * sunrpc/svc_auth.c: Moved to ... * sysdeps/generic/svc_auth.c: ...here. * time/time.h: Pretty print. 1997-04-08 07:19 H.J. Lu <hjl@gnu.ai.mit.edu> * libio/genops.c (_IO_flush_all_linebuffered): don't flush on a read-only stream. 1997-04-09 01:19 Ulrich Drepper <drepper@cygnus.com> * malloc/malloc.c (mALLOC_STATs) [MALLOC_DEBUG>1]: Put declaration in correct place. Patch by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>. 1997-04-07 15:34 Ulrich Drepper <drepper@cygnus.com> * stdio-common/Makefile (tests): Add tst-ferror. * stdio-common/tst-ferror.c: New file. Some tests for error indicator of streams. * stdio-common/tst-ferror.input: New file. * isomac.c: Let tests not fail because the compiler defines itself symbols which violate the name space rules. gcc defines symbols for the architecture which are not protected by an underscore character. * math/Makefile (libm-support): Add s_rinttol and s_rinttoll. (libm-calls): Add s_clog. * sysdeps/libm-ieee754/s_clog.c: New file. Implementation of logarithm of complex value. * sysdeps/libm-ieee754/s_clogf.c: New file. * sysdeps/libm-ieee754/s_clogl.c: New file. * math/libm-test.c (clog_test): Compile this function. Fix a few typos. (main): Call clog_test. * sysdeps/libm-ieee754/s_rinttol.c: New file. Round long double value to long int. * sysdeps/libm-i387/s_rinttol.S: New file. * sysdeps/libm-ieee754/s_rinttoll.c: new file. Round long double value to long long int. * sysdeps/libm-i387/s_rinttoll.S: New file. * sysdeps/libm-ieee754/s_rintl.c: Many corrections. The previous version was full of errors. * math/math.h (rinttol): Argument is of type `long double' not `double'. (rinttoll): Likewise. (roundtol): Likewise. (roundtoll): Likewise. 1997-04-06 11:32 H.J. Lu <hjl@gnu.ai.mit.edu> * posix/getopt.c (_getopt_initialize): Preserve optind. (_getopt_internal): Set optind to 1 if optind == 0 before calling _getopt_initialize (). 1997-04-05 16:45 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> * nis/rpcsvc/nislib.h: Change const nis_name to new type const_nis_name. * nis/nis_intern.c: Likewise. * nis/nis_intern.h: Likewise. * nis/nis_server.c: Likewise. * nis/nis_subr.c: Likewise. * nis/nis_table.c: Likewise. * nis/nis_names.c: Likewise. Fill out ns_request structure in nis_add(). * nis/nss_compat/compat-pwd.c: Use reentrant netgroup functions. * nis/nss_compat/compat-spwd.c: Likewise. 1997-03-27 07:37 H.J. Lu <hjl@gnu.ai.mit.edu> * libio/fileops.c (_IO_file_overflow): Set error when try to write on a read-only stream. * sysdeps/gnu/utmpbits.h (ut_xtime): New symbol. (ut_time): Define it only if _NO_UT_TIME is not defined. 1997-04-06 00:42 Ulrich Drepper <drepper@cygnus.com> * misc/tst-tsearch.c: Include <string.h>. Define _GNU_SOURCE only if not already defined. 1997-04-05 16:14 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/netatalk/at.h: Include <sys/socket.h> to get definition of sa_family_t for <linux/atalk.h>. Reported by a sun <asun@zoology.washington.edu>. * malloc/malloc.c (cALLOc): Little optimization.
1997-04-09 01:42:08 +02:00
fi
update from main archive 961101 Sat Nov 2 01:48:47 1996 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/errnos.h: Move declaration of errno and __errno_location to correct position. Thu Oct 31 22:51:25 1996 Ulrich Drepper <drepper@cygnus.com> * Makefile (distribute): Add rellns-sh. * rellns-sh: New file. * Makerules (make-link): Use rellns-sh. * time/Makefile ($(installed-localtime-file)): Likewise. Thu Oct 31 11:33:01 1996 Ulrich Drepper <drepper@cygnus.com> * elf/Makefile ($objpfx)ldd) Substitute $(version) for @VERSION@. (distribute): Add ldd.bash.in. * elf/ldd.sh.in: Process --help and --version parameter. Correct comments. * elf/ldd.bash.in: New file. * stdlib/stdlib.h: Add prototype for clearenv. * sysdeps/generic/setenv.c: Add implementation of clearenv. (setenv): Handle __environ == NULL correctly. * sysdeps/stub/setenv.c: Add stub definition for unsetenv and clearenv. * sysdeps/generic/putenv.c: Correct layout to fit in libit. * sysdeps/generic/setenv.c: Likewise. * stdlib/strtol.h: Likewise. * time/sys/time.h: Define __need_timeval and include <timebits.h>. Remove definition of struct timeval. * sysdeps/stub/timebits.h [__need_timeval]: Define struct timeval using `time_t' for members. * sysdeps/unix/sysv/linux/timebits.h [__need_timeval]: Likewise. * sysdeps/unix/sysv/linux/alpha/timebits.h: New file. Same as old Linux specific version. * string/argz.h: Use __const in definitions. * inet/herrno.c: Don't define __h_errno, only h_errno otherwise the __syscall_error defined. TRACE_MODE. Craig Metz. arithmetic. buggy and more competent people work on a usable version which is distributed separately. `finitel'. better message if it is not available. whether read failed. PSEUDO_END macro. Especially on the currently supported ELF systems the nlist function comes with the libelf. "$(i18ndir)/charmaps". net/if_arp.h, and net/route.h. version. EXTERN_PARSER is defined. set errno (to ENOMEM). nothing is found. This guarantees all subsequent calls behave the same. the file even if no `era's are specified. pointers. _llseek to _llseek (not llseek). Initialize `result'. end_alt_digits. __libc_force_cancel_wrapper when compiling reentrant version. a weak alias. make tcdrain a weak alias. lseek, open, read, and write to have __libc_ prefix and make old names a weak alias. to fpathconf. __libc_setlocale_lock. ld.so.preload. Suggested by David Engel <david@elo.ods.com>. on the same device as the password file. variable. to lock when passing it to __libc_lock_init macro. sysdep.h to the top outside of #ifndef PIC. Don't include errnos.h. Use the ENTRY macro. 9th field. and sys/vt.h. `_dl_start' so that linking fails if this file should ever be used in ld.so. RMS' last standard revision. (sysdep_headers): Remove sys/sysinfo.h. match files in the sysdeps hierachy (welcome back, sys/syscall.h!). categories which succeeded to load after a wrong or missing data file was observed. _IO_flockfile and _IO_funlockfile resp. all three versions of the math function. non-trivial inline functions. rpath-link so that running the check finds the new library. daylight saving, timezone by time zone. syscall_error handler for reentrant libc. warning. _IO_getc_unlocked. in version information banner. clearerr_u, feof_u, ferror_u, fputc_u, getc_u, getchar_u, iofflush_u, putc_u, putchar_u, ioflockfile. using __errno_location function. syscall_error handler for reentrant libc. definition of function itself. funlockfile. _malloc_loc. but _POSIX_THREAD_DESTRUCTOR_ITERATIONS. Add macro `errno' to get thread specific variable. __errno_location function. * malloc/free.c (free): __lib_malloc_lock -> __libc_malloc_lock. case, so don't prepend uppercase `ISO' for only numeric arg. call to __libc_lock_lock. sys/sysmacros.h. Reported by Curtiss <1CMC3466@IBM.MTSAC.EDU>. stamp file. generating stamp file. implementation. `decimal' char is 0. noexpr to "^[nN]"; this conforms to POSIX.2. conform to POSIX.2. mon_grouping, int_frac_digits, frac_digits, p_cs_precedes, p_sep_by_space, n_cs_precedes, n_sep_by_space, p_sign_posn, and n_sign_posn to CHAR_MAX, as required by the POSIX Standard. variable. this changes the global state for `localtime' and `gmtime'. Use `__localtime_r'/`__gmtime_r' instead. state. getutid_r() fails with ESRCH. Reported by Miquel van Smoorenburg. for "Jensen" so _bus_base() returns 0 on that platform. Use _bus_base_sparse() to determine base address of sparse memory. are now in $P/stdio-common.pot. script at run time, not configure time. warning. sorted. inet_net_pton, inet_net. value of sprintf. functions instead of BSD `b*' functions. $(objpfx)/mach-syscalls.mk. <marcus@sysc.pdx.edu> for the patch.) before returning. Reported by Miles Bader. __BEGIN_DECLS/__END_DECLS up so ntohl() et al are bracketed as well. This is not a gross hack, after all---for compatibility, getlogin() really should check fd 0 only and not try to base its operation on the controlling tty. change utmp_data from static to auto. _IO_file_flags. It's the same as _flags. call is only a stub. Mikasa. pointer as __const. segfault when called with an N that is not a multiple of four and src[N-1]=='\0'. try again with SOCK_STREAM (the Linux syslogd uses a socket of the latter type). terminator as a record-delimiter. If __send(LogFile) fails, `getutline_r'. `setutline_r'. of `vscanf'. name a weak alias. typo. initialized in init-first.c. Some actions in the libc work different when libc is static or dynamic. `__libc_is_static' variable to determine whether call to `personality' and `setfpucw' is necessary. When done set variable to +-1 depending on library type. `__libc_enable_secure' instead of calling `get{,e}{g,u}id()' to determine whether it's a SET[UG]ID program. (open_file): New function, contents mostly from __open. LD_TRACE_LOADED_OBJECTS is set. n)' equivalent to `strncpy (d, s, n), d += strnlen (d, n)'. from the USA any software that even makes it easy to drop in an encryption module of foreign origin. old code would have failed on a big-endian 64-bit architecture). Remove gratitous parentheses around return expressions. not int. ustatbits.h. alphabetically correct place. Mention ustat. record always gets appended at end of file (wtmp is a log file, after all). Set ut_type to DEAD_PROCESS if name is empty. ut_line matches and type is either USER_PROCESS or LOGIN_PROCESS. avoid duplicate declarations. word extends right up to rmargin. point_col ssize_t. to fiddle __put_limit in conjunction with __linebuf_active. of, not the ones he is _not_ a member of. instead of a local function. The latter are difficult to debug and slow to execute on certain platforms. place of sizeof (dev). The size of a literal string includes the NUL byte. entry. Return 1 on error, not -1. shift amount for Jensen must be 5 not 4. for send and connect syscalls. signed<->unsigned warnings. variable name, so new a libc with new requirements won't fail to notice an insufficient Linux version. PENDIN, NOFLSH): Undefine these at start if they are already defined to avoid collision with termbits.h. error is 0. The "placeholder" entries recently added to memcpy for possibly overlapping strings. instead of weak_symbol (NAME) after the defn. necessary using current implementation of memcpy, but...). Move struct timespec defn outside [_TIME_H] so it can be got with #define __need_timespec. __connect instead of connect to avoid name-space collisions (e.g., with psgetty). function ctype_is_charmap to ctype_is_charconv. charconv. charconv. lables according to this. warnings. actually do something. sysdeps/unix/sysv/linux/m68k/init-first.h, sysdeps/unix/sysv/linux/i386/init-first.h: New files. init-first.h to make abstract machine dependent parts of typo/extraneous whitespace. check-for-pending signals code, release _hurd_siglock before jumping to deliver_pending. size_t. soname of a loaded object, use that object. if libnss_dns.so module for DNS name lookup in NSS service. guessing to not assume p_vaddr of first load cmd is zero. only for ?s, not for *s. Fix from Chet Ramey. about currently used character set. name `MAX_IOVEC'. Instead use standard name `UIO_MAXIOV'. (xdrrec_getlong), sunrpc/xdr_mem.c (xdrmem_getlong): Make sure appropriate sign-extension is performed on machines with sizeof(long) > 4. sizeof(int)<sizeof(long), we need to go through a temporary variable. in efect. volatile to avoid "might get clobbered by longjmp" warning. unless _LOOSE_KERNEL_NAMES is in effect (which, with high probability is a sure loser). sysdeps/unix/sysv/linux/alpha/brk.S, sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S, sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S, sysdeps/unix/sysv/linux/alpha/llseek.S, sysdeps/unix/sysv/linux/alpha/sigsuspend.S, sysdeps/unix/sysv/linux/alpha/syscall.S: Rename syscall_error to __syscall_error to avoid intruding application name space. sysdeps/unix/geteuid.S, sysdeps/unix/getppid.S, sysdeps/unix/execve.S, sysdeps/unix/fork.S, sysdeps/unix/syscall.S: Terminate syscall with PSEUDO_END. (PSEUDO_END): Rename END() to PSEUDO_END(). to PSEUDO_END to improve branch-prediction. Include .frame directive to make syscalls debugabble. sysdeps/unix/sysv/linux/alpha/brk.S: Use ldiq instead of ldi since latter is illegal under DEC Unix. as well. EWOULDBLOCK -> EAGAIN mapping was unnecessary since EWOULDBLOCK==EAGAIN under DEC Unix and Linux/Alpha). address register in the .frame directive. avoid RPC definitions of INADDR_LOOPBACK and/or MAXHOSTNAMELEN. compilable under c++. as unsigned long, not as int (to avoid incorrect int->long promotion).
1996-11-02 02:28:01 +01:00
update from main archive 961214 Sun Dec 15 01:53:20 1996 Ulrich Drepper <drepper@cygnus.com> * Makefile (subdirs): Change crypt to md5-crypt. * crypt/Makefile, crypt/md5-crypt.c, crypt/md5.c, crypt/md5.h, crypt/md5c-test.c, crypt/md5test.c: Move to new directory md5-crypt. * sysdeps/unix/sysv/linux/configure.in: Refer to linuxthreads and crypt instead of LinuxThreads and des-crypt. * Makefile (subdirs): Add nss back. * sysdeps/unix/inet/Subdirs: Move nis to end of file to fulfill dependencies. * libio/iofclose.c: Implement fclose(NULL) as closing all streams. * stdio-common/Makefile (routines): Add fcloseall. * stdio-common/fcloseall.c: New file. * sysdeps/generic/abort.c: Make implementation POSIX.1 compatible. * sysdeps/mach/libc-lock.h: Add definition of __libc_lock_trylock. * sysdeps/stub/libc-lock.h: Define __libc_lock_trylock to always return 0. * stdio-common/printf.h: Define MIN and MAX only if not already defined. * stdio-common/vfprintf.c: Set errno to EBADF if stream does not allow writing. Required by POSIX.1. * libio/libioP.h (CHECK_FILE): Use MAYBE_SET_EINVAL instead of assignment. * interp.c: Update copyright. * libio/clearerr.c: Likewise. * libio/ioseekoff.c: Likewise. * libio/ioseekpos.c: Likewise. * stdio/fclose.c: Likewise. * stdio/fflus.c: Likewise. * libio/libio.h [!_IO_MTSAFE_IO]: Define _IO_cleanup_region_start and _IO_cleanup_region_end as empty. * libio/fgetc.c: Use _IO_cleanup_region_start and _IO_cleanup_region_end instead of __libc_cleanup_region_start and __libc_cleanup_region_end. * libio/fputc.c: Likewise. * libio/freopen.c: Likewise. * libio/fseek.c: Likewise. * libio/getc.c: Likewise. * libio/getchar.c: Likewise. * libio/iofclose.c: Likewise. * libio/iofflush.c: Likewise. * libio/iofgetpos.c: Likewise. * libio/iofgets.c: Likewise. * libio/iofputs.c: Likewise. * libio/iofread.c: Likewise. * libio/iofsetpos.c: Likewise. * libio/ioftell.c: Likewise. * libio/iofwrite.c: Likewise. * libio/iogetdelim.c: Likewise. * libio/iogets.c: Likewise. * libio/ioputs.c: Likewise. * libio/iosetbuffer.c: Likewise. * libio/iosetvbuf.c: Likewise. * libio/ioungetc.c: Likewise. * libio/iovspintf.c: Use cleanup handler to make sure no dangling locks can stay over. * libio/iovsscanf.c: Likewise. * libio/genops.c: Use _IO_lock_init_recursive and _IO_lock_fini instead of __libc_lock_init_recursive and __libc_lock_fini. * libio/filedoalloc.c: Only use __isatty when compiling GNU libc. Otherwise use isatty. * libio/fileops.c: Likewise for __open and open. * login/utmp_file.c (getutent_r_file): Use fcntl instead of flock. * nis/ypclnt.h: Add more casts to prevent warnings. * nss/Makefile (services): Remove dns. (libnss_dns, libnss_dns-inhibit-o): Remove definition. ($(objpfx)libnss_dns.so): Removed. * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Moved to... * resolv/nss_dns: ...here. * resolv/Makefile (extra-libs): Add libnss_dns. (libnss_dns-routines, libnss_dns-inhibit-o): Define as in nss/Makefile. * nss/XXX-lookup.c: Call __nss_database_lookup with new argument specifying alternate name for entry in /etc/nsswitch.conf * nss/nsswitch.c: If no entry with primary name is found in /etc/nsswitch.conf try alternate name if given. * nss/nsswitch.h: Add new parameter in prototype for __nss_database_lookup. * nss/spwd-lookup.c: Provide alternative entry name to look for. This makes our NSS compatible with Solaris' nsswitch.conf files. * string/tst-strlen.c: Change all counting variables to type size_t to prevent warnings. * sysdeps/posix/fpathconf.c: Update copyright. * sysdeps/posix/pathconf.c: Don't call fpathconf to do the work. Opening the file at this path may fail if it is a FIFO or pipe. These changes make the time implementation POSIX.1 compliant. * time/localtime.c (__localtime_r): Always call __tzset not only if __tzset_run is zero. * time/strftime.c: Add definition of memset_space to help to reduce for systems which have memset. (strftime): Don't use tm_zone member of argument for zone name. Instead always use tzname[]. Call tzset() as required by POSIX.1 before any action. * time/tzset.c (tzset): Set tzname[] as required by POSIX.1. Remove global variable __tzset_run. __tzset is now called always when a dependent function is used. (__tzset): Caching happens based on the contents of the environment variable TZ. Fri Dec 13 01:06:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/unix/sysv/linux/paths.h: Add _PATH_KLOG. Thu Dec 12 09:16:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * rellns-sh: Correctly handle a relative source file name. Wed Dec 11 19:18:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * login/utmp_file.c (setutent_file): Seek back to beginning of the file if resetting. Thu Dec 12 16:39:12 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * hurd/hurdinit.c (map0): Delete function. Don't do this on _hurd_preinit_hook. * hurd/hurdstartup.c (_hurd_startup): Map page zero redzone here.
1996-12-15 03:15:29 +01:00
while test -n "$to" && test -n "$from"; do
preto=`echo $to | sed 's%^\([^/]*\)/.*%\1%'`
prefrom=`echo $from | sed 's%^\([^/]*\)/.*%\1%'`
update from main archive 961101 Sat Nov 2 01:48:47 1996 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/errnos.h: Move declaration of errno and __errno_location to correct position. Thu Oct 31 22:51:25 1996 Ulrich Drepper <drepper@cygnus.com> * Makefile (distribute): Add rellns-sh. * rellns-sh: New file. * Makerules (make-link): Use rellns-sh. * time/Makefile ($(installed-localtime-file)): Likewise. Thu Oct 31 11:33:01 1996 Ulrich Drepper <drepper@cygnus.com> * elf/Makefile ($objpfx)ldd) Substitute $(version) for @VERSION@. (distribute): Add ldd.bash.in. * elf/ldd.sh.in: Process --help and --version parameter. Correct comments. * elf/ldd.bash.in: New file. * stdlib/stdlib.h: Add prototype for clearenv. * sysdeps/generic/setenv.c: Add implementation of clearenv. (setenv): Handle __environ == NULL correctly. * sysdeps/stub/setenv.c: Add stub definition for unsetenv and clearenv. * sysdeps/generic/putenv.c: Correct layout to fit in libit. * sysdeps/generic/setenv.c: Likewise. * stdlib/strtol.h: Likewise. * time/sys/time.h: Define __need_timeval and include <timebits.h>. Remove definition of struct timeval. * sysdeps/stub/timebits.h [__need_timeval]: Define struct timeval using `time_t' for members. * sysdeps/unix/sysv/linux/timebits.h [__need_timeval]: Likewise. * sysdeps/unix/sysv/linux/alpha/timebits.h: New file. Same as old Linux specific version. * string/argz.h: Use __const in definitions. * inet/herrno.c: Don't define __h_errno, only h_errno otherwise the __syscall_error defined. TRACE_MODE. Craig Metz. arithmetic. buggy and more competent people work on a usable version which is distributed separately. `finitel'. better message if it is not available. whether read failed. PSEUDO_END macro. Especially on the currently supported ELF systems the nlist function comes with the libelf. "$(i18ndir)/charmaps". net/if_arp.h, and net/route.h. version. EXTERN_PARSER is defined. set errno (to ENOMEM). nothing is found. This guarantees all subsequent calls behave the same. the file even if no `era's are specified. pointers. _llseek to _llseek (not llseek). Initialize `result'. end_alt_digits. __libc_force_cancel_wrapper when compiling reentrant version. a weak alias. make tcdrain a weak alias. lseek, open, read, and write to have __libc_ prefix and make old names a weak alias. to fpathconf. __libc_setlocale_lock. ld.so.preload. Suggested by David Engel <david@elo.ods.com>. on the same device as the password file. variable. to lock when passing it to __libc_lock_init macro. sysdep.h to the top outside of #ifndef PIC. Don't include errnos.h. Use the ENTRY macro. 9th field. and sys/vt.h. `_dl_start' so that linking fails if this file should ever be used in ld.so. RMS' last standard revision. (sysdep_headers): Remove sys/sysinfo.h. match files in the sysdeps hierachy (welcome back, sys/syscall.h!). categories which succeeded to load after a wrong or missing data file was observed. _IO_flockfile and _IO_funlockfile resp. all three versions of the math function. non-trivial inline functions. rpath-link so that running the check finds the new library. daylight saving, timezone by time zone. syscall_error handler for reentrant libc. warning. _IO_getc_unlocked. in version information banner. clearerr_u, feof_u, ferror_u, fputc_u, getc_u, getchar_u, iofflush_u, putc_u, putchar_u, ioflockfile. using __errno_location function. syscall_error handler for reentrant libc. definition of function itself. funlockfile. _malloc_loc. but _POSIX_THREAD_DESTRUCTOR_ITERATIONS. Add macro `errno' to get thread specific variable. __errno_location function. * malloc/free.c (free): __lib_malloc_lock -> __libc_malloc_lock. case, so don't prepend uppercase `ISO' for only numeric arg. call to __libc_lock_lock. sys/sysmacros.h. Reported by Curtiss <1CMC3466@IBM.MTSAC.EDU>. stamp file. generating stamp file. implementation. `decimal' char is 0. noexpr to "^[nN]"; this conforms to POSIX.2. conform to POSIX.2. mon_grouping, int_frac_digits, frac_digits, p_cs_precedes, p_sep_by_space, n_cs_precedes, n_sep_by_space, p_sign_posn, and n_sign_posn to CHAR_MAX, as required by the POSIX Standard. variable. this changes the global state for `localtime' and `gmtime'. Use `__localtime_r'/`__gmtime_r' instead. state. getutid_r() fails with ESRCH. Reported by Miquel van Smoorenburg. for "Jensen" so _bus_base() returns 0 on that platform. Use _bus_base_sparse() to determine base address of sparse memory. are now in $P/stdio-common.pot. script at run time, not configure time. warning. sorted. inet_net_pton, inet_net. value of sprintf. functions instead of BSD `b*' functions. $(objpfx)/mach-syscalls.mk. <marcus@sysc.pdx.edu> for the patch.) before returning. Reported by Miles Bader. __BEGIN_DECLS/__END_DECLS up so ntohl() et al are bracketed as well. This is not a gross hack, after all---for compatibility, getlogin() really should check fd 0 only and not try to base its operation on the controlling tty. change utmp_data from static to auto. _IO_file_flags. It's the same as _flags. call is only a stub. Mikasa. pointer as __const. segfault when called with an N that is not a multiple of four and src[N-1]=='\0'. try again with SOCK_STREAM (the Linux syslogd uses a socket of the latter type). terminator as a record-delimiter. If __send(LogFile) fails, `getutline_r'. `setutline_r'. of `vscanf'. name a weak alias. typo. initialized in init-first.c. Some actions in the libc work different when libc is static or dynamic. `__libc_is_static' variable to determine whether call to `personality' and `setfpucw' is necessary. When done set variable to +-1 depending on library type. `__libc_enable_secure' instead of calling `get{,e}{g,u}id()' to determine whether it's a SET[UG]ID program. (open_file): New function, contents mostly from __open. LD_TRACE_LOADED_OBJECTS is set. n)' equivalent to `strncpy (d, s, n), d += strnlen (d, n)'. from the USA any software that even makes it easy to drop in an encryption module of foreign origin. old code would have failed on a big-endian 64-bit architecture). Remove gratitous parentheses around return expressions. not int. ustatbits.h. alphabetically correct place. Mention ustat. record always gets appended at end of file (wtmp is a log file, after all). Set ut_type to DEAD_PROCESS if name is empty. ut_line matches and type is either USER_PROCESS or LOGIN_PROCESS. avoid duplicate declarations. word extends right up to rmargin. point_col ssize_t. to fiddle __put_limit in conjunction with __linebuf_active. of, not the ones he is _not_ a member of. instead of a local function. The latter are difficult to debug and slow to execute on certain platforms. place of sizeof (dev). The size of a literal string includes the NUL byte. entry. Return 1 on error, not -1. shift amount for Jensen must be 5 not 4. for send and connect syscalls. signed<->unsigned warnings. variable name, so new a libc with new requirements won't fail to notice an insufficient Linux version. PENDIN, NOFLSH): Undefine these at start if they are already defined to avoid collision with termbits.h. error is 0. The "placeholder" entries recently added to memcpy for possibly overlapping strings. instead of weak_symbol (NAME) after the defn. necessary using current implementation of memcpy, but...). Move struct timespec defn outside [_TIME_H] so it can be got with #define __need_timespec. __connect instead of connect to avoid name-space collisions (e.g., with psgetty). function ctype_is_charmap to ctype_is_charconv. charconv. charconv. lables according to this. warnings. actually do something. sysdeps/unix/sysv/linux/m68k/init-first.h, sysdeps/unix/sysv/linux/i386/init-first.h: New files. init-first.h to make abstract machine dependent parts of typo/extraneous whitespace. check-for-pending signals code, release _hurd_siglock before jumping to deliver_pending. size_t. soname of a loaded object, use that object. if libnss_dns.so module for DNS name lookup in NSS service. guessing to not assume p_vaddr of first load cmd is zero. only for ?s, not for *s. Fix from Chet Ramey. about currently used character set. name `MAX_IOVEC'. Instead use standard name `UIO_MAXIOV'. (xdrrec_getlong), sunrpc/xdr_mem.c (xdrmem_getlong): Make sure appropriate sign-extension is performed on machines with sizeof(long) > 4. sizeof(int)<sizeof(long), we need to go through a temporary variable. in efect. volatile to avoid "might get clobbered by longjmp" warning. unless _LOOSE_KERNEL_NAMES is in effect (which, with high probability is a sure loser). sysdeps/unix/sysv/linux/alpha/brk.S, sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S, sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S, sysdeps/unix/sysv/linux/alpha/llseek.S, sysdeps/unix/sysv/linux/alpha/sigsuspend.S, sysdeps/unix/sysv/linux/alpha/syscall.S: Rename syscall_error to __syscall_error to avoid intruding application name space. sysdeps/unix/geteuid.S, sysdeps/unix/getppid.S, sysdeps/unix/execve.S, sysdeps/unix/fork.S, sysdeps/unix/syscall.S: Terminate syscall with PSEUDO_END. (PSEUDO_END): Rename END() to PSEUDO_END(). to PSEUDO_END to improve branch-prediction. Include .frame directive to make syscalls debugabble. sysdeps/unix/sysv/linux/alpha/brk.S: Use ldiq instead of ldi since latter is illegal under DEC Unix. as well. EWOULDBLOCK -> EAGAIN mapping was unnecessary since EWOULDBLOCK==EAGAIN under DEC Unix and Linux/Alpha). address register in the .frame directive. avoid RPC definitions of INADDR_LOOPBACK and/or MAXHOSTNAMELEN. compilable under c++. as unsigned long, not as int (to avoid incorrect int->long promotion).
1996-11-02 02:28:01 +01:00
update from main archive 961214 Sun Dec 15 01:53:20 1996 Ulrich Drepper <drepper@cygnus.com> * Makefile (subdirs): Change crypt to md5-crypt. * crypt/Makefile, crypt/md5-crypt.c, crypt/md5.c, crypt/md5.h, crypt/md5c-test.c, crypt/md5test.c: Move to new directory md5-crypt. * sysdeps/unix/sysv/linux/configure.in: Refer to linuxthreads and crypt instead of LinuxThreads and des-crypt. * Makefile (subdirs): Add nss back. * sysdeps/unix/inet/Subdirs: Move nis to end of file to fulfill dependencies. * libio/iofclose.c: Implement fclose(NULL) as closing all streams. * stdio-common/Makefile (routines): Add fcloseall. * stdio-common/fcloseall.c: New file. * sysdeps/generic/abort.c: Make implementation POSIX.1 compatible. * sysdeps/mach/libc-lock.h: Add definition of __libc_lock_trylock. * sysdeps/stub/libc-lock.h: Define __libc_lock_trylock to always return 0. * stdio-common/printf.h: Define MIN and MAX only if not already defined. * stdio-common/vfprintf.c: Set errno to EBADF if stream does not allow writing. Required by POSIX.1. * libio/libioP.h (CHECK_FILE): Use MAYBE_SET_EINVAL instead of assignment. * interp.c: Update copyright. * libio/clearerr.c: Likewise. * libio/ioseekoff.c: Likewise. * libio/ioseekpos.c: Likewise. * stdio/fclose.c: Likewise. * stdio/fflus.c: Likewise. * libio/libio.h [!_IO_MTSAFE_IO]: Define _IO_cleanup_region_start and _IO_cleanup_region_end as empty. * libio/fgetc.c: Use _IO_cleanup_region_start and _IO_cleanup_region_end instead of __libc_cleanup_region_start and __libc_cleanup_region_end. * libio/fputc.c: Likewise. * libio/freopen.c: Likewise. * libio/fseek.c: Likewise. * libio/getc.c: Likewise. * libio/getchar.c: Likewise. * libio/iofclose.c: Likewise. * libio/iofflush.c: Likewise. * libio/iofgetpos.c: Likewise. * libio/iofgets.c: Likewise. * libio/iofputs.c: Likewise. * libio/iofread.c: Likewise. * libio/iofsetpos.c: Likewise. * libio/ioftell.c: Likewise. * libio/iofwrite.c: Likewise. * libio/iogetdelim.c: Likewise. * libio/iogets.c: Likewise. * libio/ioputs.c: Likewise. * libio/iosetbuffer.c: Likewise. * libio/iosetvbuf.c: Likewise. * libio/ioungetc.c: Likewise. * libio/iovspintf.c: Use cleanup handler to make sure no dangling locks can stay over. * libio/iovsscanf.c: Likewise. * libio/genops.c: Use _IO_lock_init_recursive and _IO_lock_fini instead of __libc_lock_init_recursive and __libc_lock_fini. * libio/filedoalloc.c: Only use __isatty when compiling GNU libc. Otherwise use isatty. * libio/fileops.c: Likewise for __open and open. * login/utmp_file.c (getutent_r_file): Use fcntl instead of flock. * nis/ypclnt.h: Add more casts to prevent warnings. * nss/Makefile (services): Remove dns. (libnss_dns, libnss_dns-inhibit-o): Remove definition. ($(objpfx)libnss_dns.so): Removed. * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Moved to... * resolv/nss_dns: ...here. * resolv/Makefile (extra-libs): Add libnss_dns. (libnss_dns-routines, libnss_dns-inhibit-o): Define as in nss/Makefile. * nss/XXX-lookup.c: Call __nss_database_lookup with new argument specifying alternate name for entry in /etc/nsswitch.conf * nss/nsswitch.c: If no entry with primary name is found in /etc/nsswitch.conf try alternate name if given. * nss/nsswitch.h: Add new parameter in prototype for __nss_database_lookup. * nss/spwd-lookup.c: Provide alternative entry name to look for. This makes our NSS compatible with Solaris' nsswitch.conf files. * string/tst-strlen.c: Change all counting variables to type size_t to prevent warnings. * sysdeps/posix/fpathconf.c: Update copyright. * sysdeps/posix/pathconf.c: Don't call fpathconf to do the work. Opening the file at this path may fail if it is a FIFO or pipe. These changes make the time implementation POSIX.1 compliant. * time/localtime.c (__localtime_r): Always call __tzset not only if __tzset_run is zero. * time/strftime.c: Add definition of memset_space to help to reduce for systems which have memset. (strftime): Don't use tm_zone member of argument for zone name. Instead always use tzname[]. Call tzset() as required by POSIX.1 before any action. * time/tzset.c (tzset): Set tzname[] as required by POSIX.1. Remove global variable __tzset_run. __tzset is now called always when a dependent function is used. (__tzset): Caching happens based on the contents of the environment variable TZ. Fri Dec 13 01:06:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/unix/sysv/linux/paths.h: Add _PATH_KLOG. Thu Dec 12 09:16:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * rellns-sh: Correctly handle a relative source file name. Wed Dec 11 19:18:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * login/utmp_file.c (setutent_file): Seek back to beginning of the file if resetting. Thu Dec 12 16:39:12 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * hurd/hurdinit.c (map0): Delete function. Don't do this on _hurd_preinit_hook. * hurd/hurdstartup.c (_hurd_startup): Map page zero redzone here.
1996-12-15 03:15:29 +01:00
test "$preto" != "$prefrom" && break
update from main archive 961101 Sat Nov 2 01:48:47 1996 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/errnos.h: Move declaration of errno and __errno_location to correct position. Thu Oct 31 22:51:25 1996 Ulrich Drepper <drepper@cygnus.com> * Makefile (distribute): Add rellns-sh. * rellns-sh: New file. * Makerules (make-link): Use rellns-sh. * time/Makefile ($(installed-localtime-file)): Likewise. Thu Oct 31 11:33:01 1996 Ulrich Drepper <drepper@cygnus.com> * elf/Makefile ($objpfx)ldd) Substitute $(version) for @VERSION@. (distribute): Add ldd.bash.in. * elf/ldd.sh.in: Process --help and --version parameter. Correct comments. * elf/ldd.bash.in: New file. * stdlib/stdlib.h: Add prototype for clearenv. * sysdeps/generic/setenv.c: Add implementation of clearenv. (setenv): Handle __environ == NULL correctly. * sysdeps/stub/setenv.c: Add stub definition for unsetenv and clearenv. * sysdeps/generic/putenv.c: Correct layout to fit in libit. * sysdeps/generic/setenv.c: Likewise. * stdlib/strtol.h: Likewise. * time/sys/time.h: Define __need_timeval and include <timebits.h>. Remove definition of struct timeval. * sysdeps/stub/timebits.h [__need_timeval]: Define struct timeval using `time_t' for members. * sysdeps/unix/sysv/linux/timebits.h [__need_timeval]: Likewise. * sysdeps/unix/sysv/linux/alpha/timebits.h: New file. Same as old Linux specific version. * string/argz.h: Use __const in definitions. * inet/herrno.c: Don't define __h_errno, only h_errno otherwise the __syscall_error defined. TRACE_MODE. Craig Metz. arithmetic. buggy and more competent people work on a usable version which is distributed separately. `finitel'. better message if it is not available. whether read failed. PSEUDO_END macro. Especially on the currently supported ELF systems the nlist function comes with the libelf. "$(i18ndir)/charmaps". net/if_arp.h, and net/route.h. version. EXTERN_PARSER is defined. set errno (to ENOMEM). nothing is found. This guarantees all subsequent calls behave the same. the file even if no `era's are specified. pointers. _llseek to _llseek (not llseek). Initialize `result'. end_alt_digits. __libc_force_cancel_wrapper when compiling reentrant version. a weak alias. make tcdrain a weak alias. lseek, open, read, and write to have __libc_ prefix and make old names a weak alias. to fpathconf. __libc_setlocale_lock. ld.so.preload. Suggested by David Engel <david@elo.ods.com>. on the same device as the password file. variable. to lock when passing it to __libc_lock_init macro. sysdep.h to the top outside of #ifndef PIC. Don't include errnos.h. Use the ENTRY macro. 9th field. and sys/vt.h. `_dl_start' so that linking fails if this file should ever be used in ld.so. RMS' last standard revision. (sysdep_headers): Remove sys/sysinfo.h. match files in the sysdeps hierachy (welcome back, sys/syscall.h!). categories which succeeded to load after a wrong or missing data file was observed. _IO_flockfile and _IO_funlockfile resp. all three versions of the math function. non-trivial inline functions. rpath-link so that running the check finds the new library. daylight saving, timezone by time zone. syscall_error handler for reentrant libc. warning. _IO_getc_unlocked. in version information banner. clearerr_u, feof_u, ferror_u, fputc_u, getc_u, getchar_u, iofflush_u, putc_u, putchar_u, ioflockfile. using __errno_location function. syscall_error handler for reentrant libc. definition of function itself. funlockfile. _malloc_loc. but _POSIX_THREAD_DESTRUCTOR_ITERATIONS. Add macro `errno' to get thread specific variable. __errno_location function. * malloc/free.c (free): __lib_malloc_lock -> __libc_malloc_lock. case, so don't prepend uppercase `ISO' for only numeric arg. call to __libc_lock_lock. sys/sysmacros.h. Reported by Curtiss <1CMC3466@IBM.MTSAC.EDU>. stamp file. generating stamp file. implementation. `decimal' char is 0. noexpr to "^[nN]"; this conforms to POSIX.2. conform to POSIX.2. mon_grouping, int_frac_digits, frac_digits, p_cs_precedes, p_sep_by_space, n_cs_precedes, n_sep_by_space, p_sign_posn, and n_sign_posn to CHAR_MAX, as required by the POSIX Standard. variable. this changes the global state for `localtime' and `gmtime'. Use `__localtime_r'/`__gmtime_r' instead. state. getutid_r() fails with ESRCH. Reported by Miquel van Smoorenburg. for "Jensen" so _bus_base() returns 0 on that platform. Use _bus_base_sparse() to determine base address of sparse memory. are now in $P/stdio-common.pot. script at run time, not configure time. warning. sorted. inet_net_pton, inet_net. value of sprintf. functions instead of BSD `b*' functions. $(objpfx)/mach-syscalls.mk. <marcus@sysc.pdx.edu> for the patch.) before returning. Reported by Miles Bader. __BEGIN_DECLS/__END_DECLS up so ntohl() et al are bracketed as well. This is not a gross hack, after all---for compatibility, getlogin() really should check fd 0 only and not try to base its operation on the controlling tty. change utmp_data from static to auto. _IO_file_flags. It's the same as _flags. call is only a stub. Mikasa. pointer as __const. segfault when called with an N that is not a multiple of four and src[N-1]=='\0'. try again with SOCK_STREAM (the Linux syslogd uses a socket of the latter type). terminator as a record-delimiter. If __send(LogFile) fails, `getutline_r'. `setutline_r'. of `vscanf'. name a weak alias. typo. initialized in init-first.c. Some actions in the libc work different when libc is static or dynamic. `__libc_is_static' variable to determine whether call to `personality' and `setfpucw' is necessary. When done set variable to +-1 depending on library type. `__libc_enable_secure' instead of calling `get{,e}{g,u}id()' to determine whether it's a SET[UG]ID program. (open_file): New function, contents mostly from __open. LD_TRACE_LOADED_OBJECTS is set. n)' equivalent to `strncpy (d, s, n), d += strnlen (d, n)'. from the USA any software that even makes it easy to drop in an encryption module of foreign origin. old code would have failed on a big-endian 64-bit architecture). Remove gratitous parentheses around return expressions. not int. ustatbits.h. alphabetically correct place. Mention ustat. record always gets appended at end of file (wtmp is a log file, after all). Set ut_type to DEAD_PROCESS if name is empty. ut_line matches and type is either USER_PROCESS or LOGIN_PROCESS. avoid duplicate declarations. word extends right up to rmargin. point_col ssize_t. to fiddle __put_limit in conjunction with __linebuf_active. of, not the ones he is _not_ a member of. instead of a local function. The latter are difficult to debug and slow to execute on certain platforms. place of sizeof (dev). The size of a literal string includes the NUL byte. entry. Return 1 on error, not -1. shift amount for Jensen must be 5 not 4. for send and connect syscalls. signed<->unsigned warnings. variable name, so new a libc with new requirements won't fail to notice an insufficient Linux version. PENDIN, NOFLSH): Undefine these at start if they are already defined to avoid collision with termbits.h. error is 0. The "placeholder" entries recently added to memcpy for possibly overlapping strings. instead of weak_symbol (NAME) after the defn. necessary using current implementation of memcpy, but...). Move struct timespec defn outside [_TIME_H] so it can be got with #define __need_timespec. __connect instead of connect to avoid name-space collisions (e.g., with psgetty). function ctype_is_charmap to ctype_is_charconv. charconv. charconv. lables according to this. warnings. actually do something. sysdeps/unix/sysv/linux/m68k/init-first.h, sysdeps/unix/sysv/linux/i386/init-first.h: New files. init-first.h to make abstract machine dependent parts of typo/extraneous whitespace. check-for-pending signals code, release _hurd_siglock before jumping to deliver_pending. size_t. soname of a loaded object, use that object. if libnss_dns.so module for DNS name lookup in NSS service. guessing to not assume p_vaddr of first load cmd is zero. only for ?s, not for *s. Fix from Chet Ramey. about currently used character set. name `MAX_IOVEC'. Instead use standard name `UIO_MAXIOV'. (xdrrec_getlong), sunrpc/xdr_mem.c (xdrmem_getlong): Make sure appropriate sign-extension is performed on machines with sizeof(long) > 4. sizeof(int)<sizeof(long), we need to go through a temporary variable. in efect. volatile to avoid "might get clobbered by longjmp" warning. unless _LOOSE_KERNEL_NAMES is in effect (which, with high probability is a sure loser). sysdeps/unix/sysv/linux/alpha/brk.S, sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S, sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S, sysdeps/unix/sysv/linux/alpha/llseek.S, sysdeps/unix/sysv/linux/alpha/sigsuspend.S, sysdeps/unix/sysv/linux/alpha/syscall.S: Rename syscall_error to __syscall_error to avoid intruding application name space. sysdeps/unix/geteuid.S, sysdeps/unix/getppid.S, sysdeps/unix/execve.S, sysdeps/unix/fork.S, sysdeps/unix/syscall.S: Terminate syscall with PSEUDO_END. (PSEUDO_END): Rename END() to PSEUDO_END(). to PSEUDO_END to improve branch-prediction. Include .frame directive to make syscalls debugabble. sysdeps/unix/sysv/linux/alpha/brk.S: Use ldiq instead of ldi since latter is illegal under DEC Unix. as well. EWOULDBLOCK -> EAGAIN mapping was unnecessary since EWOULDBLOCK==EAGAIN under DEC Unix and Linux/Alpha). address register in the .frame directive. avoid RPC definitions of INADDR_LOOPBACK and/or MAXHOSTNAMELEN. compilable under c++. as unsigned long, not as int (to avoid incorrect int->long promotion).
1996-11-02 02:28:01 +01:00
update from main archive 961214 Sun Dec 15 01:53:20 1996 Ulrich Drepper <drepper@cygnus.com> * Makefile (subdirs): Change crypt to md5-crypt. * crypt/Makefile, crypt/md5-crypt.c, crypt/md5.c, crypt/md5.h, crypt/md5c-test.c, crypt/md5test.c: Move to new directory md5-crypt. * sysdeps/unix/sysv/linux/configure.in: Refer to linuxthreads and crypt instead of LinuxThreads and des-crypt. * Makefile (subdirs): Add nss back. * sysdeps/unix/inet/Subdirs: Move nis to end of file to fulfill dependencies. * libio/iofclose.c: Implement fclose(NULL) as closing all streams. * stdio-common/Makefile (routines): Add fcloseall. * stdio-common/fcloseall.c: New file. * sysdeps/generic/abort.c: Make implementation POSIX.1 compatible. * sysdeps/mach/libc-lock.h: Add definition of __libc_lock_trylock. * sysdeps/stub/libc-lock.h: Define __libc_lock_trylock to always return 0. * stdio-common/printf.h: Define MIN and MAX only if not already defined. * stdio-common/vfprintf.c: Set errno to EBADF if stream does not allow writing. Required by POSIX.1. * libio/libioP.h (CHECK_FILE): Use MAYBE_SET_EINVAL instead of assignment. * interp.c: Update copyright. * libio/clearerr.c: Likewise. * libio/ioseekoff.c: Likewise. * libio/ioseekpos.c: Likewise. * stdio/fclose.c: Likewise. * stdio/fflus.c: Likewise. * libio/libio.h [!_IO_MTSAFE_IO]: Define _IO_cleanup_region_start and _IO_cleanup_region_end as empty. * libio/fgetc.c: Use _IO_cleanup_region_start and _IO_cleanup_region_end instead of __libc_cleanup_region_start and __libc_cleanup_region_end. * libio/fputc.c: Likewise. * libio/freopen.c: Likewise. * libio/fseek.c: Likewise. * libio/getc.c: Likewise. * libio/getchar.c: Likewise. * libio/iofclose.c: Likewise. * libio/iofflush.c: Likewise. * libio/iofgetpos.c: Likewise. * libio/iofgets.c: Likewise. * libio/iofputs.c: Likewise. * libio/iofread.c: Likewise. * libio/iofsetpos.c: Likewise. * libio/ioftell.c: Likewise. * libio/iofwrite.c: Likewise. * libio/iogetdelim.c: Likewise. * libio/iogets.c: Likewise. * libio/ioputs.c: Likewise. * libio/iosetbuffer.c: Likewise. * libio/iosetvbuf.c: Likewise. * libio/ioungetc.c: Likewise. * libio/iovspintf.c: Use cleanup handler to make sure no dangling locks can stay over. * libio/iovsscanf.c: Likewise. * libio/genops.c: Use _IO_lock_init_recursive and _IO_lock_fini instead of __libc_lock_init_recursive and __libc_lock_fini. * libio/filedoalloc.c: Only use __isatty when compiling GNU libc. Otherwise use isatty. * libio/fileops.c: Likewise for __open and open. * login/utmp_file.c (getutent_r_file): Use fcntl instead of flock. * nis/ypclnt.h: Add more casts to prevent warnings. * nss/Makefile (services): Remove dns. (libnss_dns, libnss_dns-inhibit-o): Remove definition. ($(objpfx)libnss_dns.so): Removed. * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Moved to... * resolv/nss_dns: ...here. * resolv/Makefile (extra-libs): Add libnss_dns. (libnss_dns-routines, libnss_dns-inhibit-o): Define as in nss/Makefile. * nss/XXX-lookup.c: Call __nss_database_lookup with new argument specifying alternate name for entry in /etc/nsswitch.conf * nss/nsswitch.c: If no entry with primary name is found in /etc/nsswitch.conf try alternate name if given. * nss/nsswitch.h: Add new parameter in prototype for __nss_database_lookup. * nss/spwd-lookup.c: Provide alternative entry name to look for. This makes our NSS compatible with Solaris' nsswitch.conf files. * string/tst-strlen.c: Change all counting variables to type size_t to prevent warnings. * sysdeps/posix/fpathconf.c: Update copyright. * sysdeps/posix/pathconf.c: Don't call fpathconf to do the work. Opening the file at this path may fail if it is a FIFO or pipe. These changes make the time implementation POSIX.1 compliant. * time/localtime.c (__localtime_r): Always call __tzset not only if __tzset_run is zero. * time/strftime.c: Add definition of memset_space to help to reduce for systems which have memset. (strftime): Don't use tm_zone member of argument for zone name. Instead always use tzname[]. Call tzset() as required by POSIX.1 before any action. * time/tzset.c (tzset): Set tzname[] as required by POSIX.1. Remove global variable __tzset_run. __tzset is now called always when a dependent function is used. (__tzset): Caching happens based on the contents of the environment variable TZ. Fri Dec 13 01:06:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/unix/sysv/linux/paths.h: Add _PATH_KLOG. Thu Dec 12 09:16:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * rellns-sh: Correctly handle a relative source file name. Wed Dec 11 19:18:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * login/utmp_file.c (setutent_file): Seek back to beginning of the file if resetting. Thu Dec 12 16:39:12 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * hurd/hurdinit.c (map0): Delete function. Don't do this on _hurd_preinit_hook. * hurd/hurdstartup.c (_hurd_startup): Map page zero redzone here.
1996-12-15 03:15:29 +01:00
to=`echo $to | sed 's%^[^/]*/*\(.*\)$%\1%'`
from=`echo $from | sed 's%^[^/]*/*\(.*\)$%\1%'`
done
update from main archive 961101 Sat Nov 2 01:48:47 1996 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/errnos.h: Move declaration of errno and __errno_location to correct position. Thu Oct 31 22:51:25 1996 Ulrich Drepper <drepper@cygnus.com> * Makefile (distribute): Add rellns-sh. * rellns-sh: New file. * Makerules (make-link): Use rellns-sh. * time/Makefile ($(installed-localtime-file)): Likewise. Thu Oct 31 11:33:01 1996 Ulrich Drepper <drepper@cygnus.com> * elf/Makefile ($objpfx)ldd) Substitute $(version) for @VERSION@. (distribute): Add ldd.bash.in. * elf/ldd.sh.in: Process --help and --version parameter. Correct comments. * elf/ldd.bash.in: New file. * stdlib/stdlib.h: Add prototype for clearenv. * sysdeps/generic/setenv.c: Add implementation of clearenv. (setenv): Handle __environ == NULL correctly. * sysdeps/stub/setenv.c: Add stub definition for unsetenv and clearenv. * sysdeps/generic/putenv.c: Correct layout to fit in libit. * sysdeps/generic/setenv.c: Likewise. * stdlib/strtol.h: Likewise. * time/sys/time.h: Define __need_timeval and include <timebits.h>. Remove definition of struct timeval. * sysdeps/stub/timebits.h [__need_timeval]: Define struct timeval using `time_t' for members. * sysdeps/unix/sysv/linux/timebits.h [__need_timeval]: Likewise. * sysdeps/unix/sysv/linux/alpha/timebits.h: New file. Same as old Linux specific version. * string/argz.h: Use __const in definitions. * inet/herrno.c: Don't define __h_errno, only h_errno otherwise the __syscall_error defined. TRACE_MODE. Craig Metz. arithmetic. buggy and more competent people work on a usable version which is distributed separately. `finitel'. better message if it is not available. whether read failed. PSEUDO_END macro. Especially on the currently supported ELF systems the nlist function comes with the libelf. "$(i18ndir)/charmaps". net/if_arp.h, and net/route.h. version. EXTERN_PARSER is defined. set errno (to ENOMEM). nothing is found. This guarantees all subsequent calls behave the same. the file even if no `era's are specified. pointers. _llseek to _llseek (not llseek). Initialize `result'. end_alt_digits. __libc_force_cancel_wrapper when compiling reentrant version. a weak alias. make tcdrain a weak alias. lseek, open, read, and write to have __libc_ prefix and make old names a weak alias. to fpathconf. __libc_setlocale_lock. ld.so.preload. Suggested by David Engel <david@elo.ods.com>. on the same device as the password file. variable. to lock when passing it to __libc_lock_init macro. sysdep.h to the top outside of #ifndef PIC. Don't include errnos.h. Use the ENTRY macro. 9th field. and sys/vt.h. `_dl_start' so that linking fails if this file should ever be used in ld.so. RMS' last standard revision. (sysdep_headers): Remove sys/sysinfo.h. match files in the sysdeps hierachy (welcome back, sys/syscall.h!). categories which succeeded to load after a wrong or missing data file was observed. _IO_flockfile and _IO_funlockfile resp. all three versions of the math function. non-trivial inline functions. rpath-link so that running the check finds the new library. daylight saving, timezone by time zone. syscall_error handler for reentrant libc. warning. _IO_getc_unlocked. in version information banner. clearerr_u, feof_u, ferror_u, fputc_u, getc_u, getchar_u, iofflush_u, putc_u, putchar_u, ioflockfile. using __errno_location function. syscall_error handler for reentrant libc. definition of function itself. funlockfile. _malloc_loc. but _POSIX_THREAD_DESTRUCTOR_ITERATIONS. Add macro `errno' to get thread specific variable. __errno_location function. * malloc/free.c (free): __lib_malloc_lock -> __libc_malloc_lock. case, so don't prepend uppercase `ISO' for only numeric arg. call to __libc_lock_lock. sys/sysmacros.h. Reported by Curtiss <1CMC3466@IBM.MTSAC.EDU>. stamp file. generating stamp file. implementation. `decimal' char is 0. noexpr to "^[nN]"; this conforms to POSIX.2. conform to POSIX.2. mon_grouping, int_frac_digits, frac_digits, p_cs_precedes, p_sep_by_space, n_cs_precedes, n_sep_by_space, p_sign_posn, and n_sign_posn to CHAR_MAX, as required by the POSIX Standard. variable. this changes the global state for `localtime' and `gmtime'. Use `__localtime_r'/`__gmtime_r' instead. state. getutid_r() fails with ESRCH. Reported by Miquel van Smoorenburg. for "Jensen" so _bus_base() returns 0 on that platform. Use _bus_base_sparse() to determine base address of sparse memory. are now in $P/stdio-common.pot. script at run time, not configure time. warning. sorted. inet_net_pton, inet_net. value of sprintf. functions instead of BSD `b*' functions. $(objpfx)/mach-syscalls.mk. <marcus@sysc.pdx.edu> for the patch.) before returning. Reported by Miles Bader. __BEGIN_DECLS/__END_DECLS up so ntohl() et al are bracketed as well. This is not a gross hack, after all---for compatibility, getlogin() really should check fd 0 only and not try to base its operation on the controlling tty. change utmp_data from static to auto. _IO_file_flags. It's the same as _flags. call is only a stub. Mikasa. pointer as __const. segfault when called with an N that is not a multiple of four and src[N-1]=='\0'. try again with SOCK_STREAM (the Linux syslogd uses a socket of the latter type). terminator as a record-delimiter. If __send(LogFile) fails, `getutline_r'. `setutline_r'. of `vscanf'. name a weak alias. typo. initialized in init-first.c. Some actions in the libc work different when libc is static or dynamic. `__libc_is_static' variable to determine whether call to `personality' and `setfpucw' is necessary. When done set variable to +-1 depending on library type. `__libc_enable_secure' instead of calling `get{,e}{g,u}id()' to determine whether it's a SET[UG]ID program. (open_file): New function, contents mostly from __open. LD_TRACE_LOADED_OBJECTS is set. n)' equivalent to `strncpy (d, s, n), d += strnlen (d, n)'. from the USA any software that even makes it easy to drop in an encryption module of foreign origin. old code would have failed on a big-endian 64-bit architecture). Remove gratitous parentheses around return expressions. not int. ustatbits.h. alphabetically correct place. Mention ustat. record always gets appended at end of file (wtmp is a log file, after all). Set ut_type to DEAD_PROCESS if name is empty. ut_line matches and type is either USER_PROCESS or LOGIN_PROCESS. avoid duplicate declarations. word extends right up to rmargin. point_col ssize_t. to fiddle __put_limit in conjunction with __linebuf_active. of, not the ones he is _not_ a member of. instead of a local function. The latter are difficult to debug and slow to execute on certain platforms. place of sizeof (dev). The size of a literal string includes the NUL byte. entry. Return 1 on error, not -1. shift amount for Jensen must be 5 not 4. for send and connect syscalls. signed<->unsigned warnings. variable name, so new a libc with new requirements won't fail to notice an insufficient Linux version. PENDIN, NOFLSH): Undefine these at start if they are already defined to avoid collision with termbits.h. error is 0. The "placeholder" entries recently added to memcpy for possibly overlapping strings. instead of weak_symbol (NAME) after the defn. necessary using current implementation of memcpy, but...). Move struct timespec defn outside [_TIME_H] so it can be got with #define __need_timespec. __connect instead of connect to avoid name-space collisions (e.g., with psgetty). function ctype_is_charmap to ctype_is_charconv. charconv. charconv. lables according to this. warnings. actually do something. sysdeps/unix/sysv/linux/m68k/init-first.h, sysdeps/unix/sysv/linux/i386/init-first.h: New files. init-first.h to make abstract machine dependent parts of typo/extraneous whitespace. check-for-pending signals code, release _hurd_siglock before jumping to deliver_pending. size_t. soname of a loaded object, use that object. if libnss_dns.so module for DNS name lookup in NSS service. guessing to not assume p_vaddr of first load cmd is zero. only for ?s, not for *s. Fix from Chet Ramey. about currently used character set. name `MAX_IOVEC'. Instead use standard name `UIO_MAXIOV'. (xdrrec_getlong), sunrpc/xdr_mem.c (xdrmem_getlong): Make sure appropriate sign-extension is performed on machines with sizeof(long) > 4. sizeof(int)<sizeof(long), we need to go through a temporary variable. in efect. volatile to avoid "might get clobbered by longjmp" warning. unless _LOOSE_KERNEL_NAMES is in effect (which, with high probability is a sure loser). sysdeps/unix/sysv/linux/alpha/brk.S, sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S, sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S, sysdeps/unix/sysv/linux/alpha/llseek.S, sysdeps/unix/sysv/linux/alpha/sigsuspend.S, sysdeps/unix/sysv/linux/alpha/syscall.S: Rename syscall_error to __syscall_error to avoid intruding application name space. sysdeps/unix/geteuid.S, sysdeps/unix/getppid.S, sysdeps/unix/execve.S, sysdeps/unix/fork.S, sysdeps/unix/syscall.S: Terminate syscall with PSEUDO_END. (PSEUDO_END): Rename END() to PSEUDO_END(). to PSEUDO_END to improve branch-prediction. Include .frame directive to make syscalls debugabble. sysdeps/unix/sysv/linux/alpha/brk.S: Use ldiq instead of ldi since latter is illegal under DEC Unix. as well. EWOULDBLOCK -> EAGAIN mapping was unnecessary since EWOULDBLOCK==EAGAIN under DEC Unix and Linux/Alpha). address register in the .frame directive. avoid RPC definitions of INADDR_LOOPBACK and/or MAXHOSTNAMELEN. compilable under c++. as unsigned long, not as int (to avoid incorrect int->long promotion).
1996-11-02 02:28:01 +01:00
update from main archive 961214 Sun Dec 15 01:53:20 1996 Ulrich Drepper <drepper@cygnus.com> * Makefile (subdirs): Change crypt to md5-crypt. * crypt/Makefile, crypt/md5-crypt.c, crypt/md5.c, crypt/md5.h, crypt/md5c-test.c, crypt/md5test.c: Move to new directory md5-crypt. * sysdeps/unix/sysv/linux/configure.in: Refer to linuxthreads and crypt instead of LinuxThreads and des-crypt. * Makefile (subdirs): Add nss back. * sysdeps/unix/inet/Subdirs: Move nis to end of file to fulfill dependencies. * libio/iofclose.c: Implement fclose(NULL) as closing all streams. * stdio-common/Makefile (routines): Add fcloseall. * stdio-common/fcloseall.c: New file. * sysdeps/generic/abort.c: Make implementation POSIX.1 compatible. * sysdeps/mach/libc-lock.h: Add definition of __libc_lock_trylock. * sysdeps/stub/libc-lock.h: Define __libc_lock_trylock to always return 0. * stdio-common/printf.h: Define MIN and MAX only if not already defined. * stdio-common/vfprintf.c: Set errno to EBADF if stream does not allow writing. Required by POSIX.1. * libio/libioP.h (CHECK_FILE): Use MAYBE_SET_EINVAL instead of assignment. * interp.c: Update copyright. * libio/clearerr.c: Likewise. * libio/ioseekoff.c: Likewise. * libio/ioseekpos.c: Likewise. * stdio/fclose.c: Likewise. * stdio/fflus.c: Likewise. * libio/libio.h [!_IO_MTSAFE_IO]: Define _IO_cleanup_region_start and _IO_cleanup_region_end as empty. * libio/fgetc.c: Use _IO_cleanup_region_start and _IO_cleanup_region_end instead of __libc_cleanup_region_start and __libc_cleanup_region_end. * libio/fputc.c: Likewise. * libio/freopen.c: Likewise. * libio/fseek.c: Likewise. * libio/getc.c: Likewise. * libio/getchar.c: Likewise. * libio/iofclose.c: Likewise. * libio/iofflush.c: Likewise. * libio/iofgetpos.c: Likewise. * libio/iofgets.c: Likewise. * libio/iofputs.c: Likewise. * libio/iofread.c: Likewise. * libio/iofsetpos.c: Likewise. * libio/ioftell.c: Likewise. * libio/iofwrite.c: Likewise. * libio/iogetdelim.c: Likewise. * libio/iogets.c: Likewise. * libio/ioputs.c: Likewise. * libio/iosetbuffer.c: Likewise. * libio/iosetvbuf.c: Likewise. * libio/ioungetc.c: Likewise. * libio/iovspintf.c: Use cleanup handler to make sure no dangling locks can stay over. * libio/iovsscanf.c: Likewise. * libio/genops.c: Use _IO_lock_init_recursive and _IO_lock_fini instead of __libc_lock_init_recursive and __libc_lock_fini. * libio/filedoalloc.c: Only use __isatty when compiling GNU libc. Otherwise use isatty. * libio/fileops.c: Likewise for __open and open. * login/utmp_file.c (getutent_r_file): Use fcntl instead of flock. * nis/ypclnt.h: Add more casts to prevent warnings. * nss/Makefile (services): Remove dns. (libnss_dns, libnss_dns-inhibit-o): Remove definition. ($(objpfx)libnss_dns.so): Removed. * nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Moved to... * resolv/nss_dns: ...here. * resolv/Makefile (extra-libs): Add libnss_dns. (libnss_dns-routines, libnss_dns-inhibit-o): Define as in nss/Makefile. * nss/XXX-lookup.c: Call __nss_database_lookup with new argument specifying alternate name for entry in /etc/nsswitch.conf * nss/nsswitch.c: If no entry with primary name is found in /etc/nsswitch.conf try alternate name if given. * nss/nsswitch.h: Add new parameter in prototype for __nss_database_lookup. * nss/spwd-lookup.c: Provide alternative entry name to look for. This makes our NSS compatible with Solaris' nsswitch.conf files. * string/tst-strlen.c: Change all counting variables to type size_t to prevent warnings. * sysdeps/posix/fpathconf.c: Update copyright. * sysdeps/posix/pathconf.c: Don't call fpathconf to do the work. Opening the file at this path may fail if it is a FIFO or pipe. These changes make the time implementation POSIX.1 compliant. * time/localtime.c (__localtime_r): Always call __tzset not only if __tzset_run is zero. * time/strftime.c: Add definition of memset_space to help to reduce for systems which have memset. (strftime): Don't use tm_zone member of argument for zone name. Instead always use tzname[]. Call tzset() as required by POSIX.1 before any action. * time/tzset.c (tzset): Set tzname[] as required by POSIX.1. Remove global variable __tzset_run. __tzset is now called always when a dependent function is used. (__tzset): Caching happens based on the contents of the environment variable TZ. Fri Dec 13 01:06:52 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/unix/sysv/linux/paths.h: Add _PATH_KLOG. Thu Dec 12 09:16:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * rellns-sh: Correctly handle a relative source file name. Wed Dec 11 19:18:40 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * login/utmp_file.c (setutent_file): Seek back to beginning of the file if resetting. Thu Dec 12 16:39:12 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * hurd/hurdinit.c (map0): Delete function. Don't do this on _hurd_preinit_hook. * hurd/hurdstartup.c (_hurd_startup): Map page zero redzone here.
1996-12-15 03:15:29 +01:00
while test -n "$from"; do
rfrom="../$rfrom"
from=`echo $from | sed 's%^[^/]*/*%%'`
done
if $do_print; then
echo "$rfrom$to"
else
ln -s $rfrom$to $2
fi