From eb48c9632eb9b40b0855003d48e5547c542d2abe Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 1 Jul 1996 23:04:49 +0000 Subject: [PATCH] Mon Jul 1 15:44:34 1996 Roland McGrath * inet/Makefile (routines): Change getnetbypt to getnetbyad. Mon Jul 1 12:29:50 1996 Roland McGrath * nss/Makefile (databases): Change host to hosts. * nss/host-lookup.c: Renamed to nss/hosts-lookup.c. * nss/nsswitch.c (nss_parse_service_list): Use const for NAME. * nss/nss_files/files-parse.c (parse_list): Correct alignment fixup. * string/string.h (strndupa): Pass missing arg to strnlen. * inet/getnetbypt_r.c: Renamed to ... * inet/getnetbyad_r.c: this; fixed function name. * inet/getnetbypt.c: Renamed to ... * inet/getnetbyad.c: this; fixed function name. Sat Jun 29 01:08:35 1996 Andreas Schwab * grp/getgrgid_r.c (LOOKUP_TYPE): Define to struct group, not struct passwd. Fri Jun 28 16:53:01 1996 David Mosberger-Tang * resolv/res_hconf.c (strndup): Remove function. * nss/nsswitch.c (nss_lookup_function): Declare loadbase and ref using ElfW() instead of Elf32_*. * sysdeps/unix/sysv/linux/alpha/init-first.h, sysdeps/unix/sysv/linux/m68k/init-first.h, sysdeps/unix/sysv/linux/i386/init-first.h: New files. * sysdeps/unix/sysv/linux/init-first.c: Use platform-dependent init-first.h to make abstract machine dependent parts of initialization. * sysdeps/unix/alpha/sysdep.h: Undo PIC-optimization of syscall error handling. It's safer that way. * sysdeps/unix/alpha/sysdep.S: Make ldgp part of the prologue. Fix by Richard Henderson. * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Fix typo/extraneous whitespace. * sunrpc/xdr.c (xdr_int, xdr_u_int): Use to test determine what integer sizes we're dealing with. * hurd/hurdsig.c (_hurd_internal_post_signal): In pending signal check for signal zero, repair logical sense of test by parenthesizing correctly. Thu Jun 27 04:04:27 1996 David Mosberger-Tang * configure.in (config_machine): Make ELF the default even for Linux/Alpha unless a configuration of the form *-*-linux*ecoff is specified. * nss/nss_files/files-hosts.c (ENTDATA): Define it. * nss/nss_files/files-parse.c (struct parser_data): Define entdata member only #ifdef ENTDATA. (ENTDATA_DECL): New macro. (LINE_PARSER): Use it for entdata decl. (parse_list): Find the space for LIST from DATA->linebuffer instead of from the input LINE, which might not be writable buffer space. (LINE_PARSER): Use `parser_stclass' in place of `static inline'. [ENTDATA] (parser_stclass): #define to `static inline'. [!ENDATA] (parser_stclass): #define to empty. [!ENTDATA] (parse_line): #define to _nss_files_parse_ENTNAME; the function is exported to -lnss_files users. * string/strndup.c: Add missing arg. * string/strndup.c (strndup): Always terminate the string. --- ChangeLog | 82 +++++++++++++++++++++++++++++++++++--- stdio-common/Makefile | 2 +- stdio/Makefile | 2 +- {stdio-common => stdio}/vscanf.c | 0 sysdeps/unix/sysv/linux/alpha/Dist | 1 + sysdeps/unix/sysv/linux/i386/Dist | 1 + sysdeps/unix/sysv/linux/m68k/Dist | 1 + 7 files changed, 82 insertions(+), 7 deletions(-) rename {stdio-common => stdio}/vscanf.c (100%) create mode 100644 sysdeps/unix/sysv/linux/m68k/Dist diff --git a/ChangeLog b/ChangeLog index 7ea2f69..3cd5206 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Mon Jul 1 15:44:34 1996 Roland McGrath + + * inet/Makefile (routines): Change getnetbypt to getnetbyad. + Mon Jul 1 13:32:42 1996 Miles Bader * hurd/report-wait.c (describe_number): Make I unsigned long. @@ -9,25 +13,93 @@ Mon Jul 1 13:32:42 1996 Miles Bader entry don't use UTMP_DATA->ubuf, and seek to the end before adding. Lock the file before stating. +Mon Jul 1 12:29:50 1996 Roland McGrath + + * nss/Makefile (databases): Change host to hosts. + * nss/host-lookup.c: Renamed to nss/hosts-lookup.c. + + * nss/nsswitch.c (nss_parse_service_list): Use const for NAME. + + * nss/nss_files/files-parse.c (parse_list): Correct alignment fixup. + + * string/string.h (strndupa): Pass missing arg to strnlen. + + * inet/getnetbypt_r.c: Renamed to ... + * inet/getnetbyad_r.c: this; fixed function name. + * inet/getnetbypt.c: Renamed to ... + * inet/getnetbyad.c: this; fixed function name. + +Sat Jun 29 01:08:35 1996 Andreas Schwab + + * grp/getgrgid_r.c (LOOKUP_TYPE): Define to struct group, not + struct passwd. + Fri Jun 28 23:25:35 1996 Miles Bader * login/login.c (login): Initialize DATA so that setutent_r will actually do something. +Fri Jun 28 16:53:01 1996 David Mosberger-Tang + + * resolv/res_hconf.c (strndup): Remove function. + + * nss/nsswitch.c (nss_lookup_function): Declare loadbase and ref + using ElfW() instead of Elf32_*. + + * sysdeps/unix/sysv/linux/alpha/init-first.h, + sysdeps/unix/sysv/linux/m68k/init-first.h, + sysdeps/unix/sysv/linux/i386/init-first.h: New files. + * sysdeps/unix/sysv/linux/init-first.c: Use platform-dependent + init-first.h to make abstract machine dependent parts of + initialization. + + * sysdeps/unix/alpha/sysdep.h: Undo PIC-optimization of syscall + error handling. It's safer that way. + + * sysdeps/unix/alpha/sysdep.S: Make ldgp part of the prologue. + Fix by Richard Henderson. + + * sysdeps/alpha/dl-machine.h (elf_alpha_fix_plt): Fix + typo/extraneous whitespace. + + * sunrpc/xdr.c (xdr_int, xdr_u_int): Use to test + determine what integer sizes we're dealing with. + Fri Jun 28 15:46:02 1996 Michael I. Bushnell, p/BSG + * hurd/hurdsig.c (_hurd_internal_post_signal): In pending signal + check for signal zero, repair logical sense of test by + parenthesizing correctly. + * hurd/hurdsig.c (_hurd_internal_post_signal): In check-for-pending signals code, release _hurd_siglock before jumping to deliver_pending. - * hurd/hurdsig.c (_hurd_internal_post_signal): In pending signal - check for signal zero, repair logical sense of test by - parethisizing correctly. - +Thu Jun 27 04:04:27 1996 David Mosberger-Tang + + * configure.in (config_machine): Make ELF the default even for + Linux/Alpha unless a configuration of the form *-*-linux*ecoff + is specified. + Fri Jun 28 07:27:10 1996 Roland McGrath - * string/strndup.c (strndup): Always terminate the string. + * nss/nss_files/files-hosts.c (ENTDATA): Define it. + * nss/nss_files/files-parse.c (struct parser_data): Define entdata + member only #ifdef ENTDATA. + (ENTDATA_DECL): New macro. + (LINE_PARSER): Use it for entdata decl. + (parse_list): Find the space for LIST from DATA->linebuffer instead of + from the input LINE, which might not be writable buffer space. + (LINE_PARSER): Use `parser_stclass' in place of `static inline'. + [ENTDATA] (parser_stclass): #define to `static inline'. + [!ENDATA] (parser_stclass): #define to empty. + [!ENTDATA] (parse_line): #define to _nss_files_parse_ENTNAME; the + function is exported to -lnss_files users. + + * string/strndup.c: Add missing arg. + * string/string.h (strndupa): Likewise. + * string/strndup.c (strndup): Always terminate the string. Thu Jun 27 14:22:31 1996 Andreas Schwab diff --git a/stdio-common/Makefile b/stdio-common/Makefile index 00e34c5..7fe1987 100644 --- a/stdio-common/Makefile +++ b/stdio-common/Makefile @@ -27,7 +27,7 @@ routines := \ ctermid cuserid \ vfprintf vprintf printf_fp reg-printf printf-prs _itoa \ fprintf printf snprintf sprintf asprintf dprintf \ - vfscanf vscanf \ + vfscanf \ fscanf scanf sscanf \ perror psignal \ tmpfile tmpnam tempnam tempname \ diff --git a/stdio/Makefile b/stdio/Makefile index 718c492..9c69e52 100644 --- a/stdio/Makefile +++ b/stdio/Makefile @@ -35,7 +35,7 @@ routines := \ fgets gets fputs puts \ getdelim \ fclose fflush \ - vdprintf vsnprintf vsprintf vasprintf vsscanf \ + vdprintf vsnprintf vsprintf vasprintf vsscanf vscanf \ memstream obstream linewrap \ internals sysd-stdio pipestream stdio_init libc_fatal aux := defs glue diff --git a/stdio-common/vscanf.c b/stdio/vscanf.c similarity index 100% rename from stdio-common/vscanf.c rename to stdio/vscanf.c diff --git a/sysdeps/unix/sysv/linux/alpha/Dist b/sysdeps/unix/sysv/linux/alpha/Dist index 235a443..5c0e8d1 100644 --- a/sysdeps/unix/sysv/linux/alpha/Dist +++ b/sysdeps/unix/sysv/linux/alpha/Dist @@ -1,3 +1,4 @@ alpha/ptrace.h alpha/regdef.h ieee_get_fp_control.S ieee_set_fp_control.S ioperm.c +init-first.h diff --git a/sysdeps/unix/sysv/linux/i386/Dist b/sysdeps/unix/sysv/linux/i386/Dist index 430fe6e..f81ff6a 100644 --- a/sysdeps/unix/sysv/linux/i386/Dist +++ b/sysdeps/unix/sysv/linux/i386/Dist @@ -1 +1,2 @@ sys/perm.h sys/vm86.h +init-first.h diff --git a/sysdeps/unix/sysv/linux/m68k/Dist b/sysdeps/unix/sysv/linux/m68k/Dist new file mode 100644 index 0000000..2c6d09e --- /dev/null +++ b/sysdeps/unix/sysv/linux/m68k/Dist @@ -0,0 +1 @@ +init-first.h -- 2.7.4