summary refs log tree commit diff
path: root/stdio-common
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-07-01 23:04:49 +0000
committerRoland McGrath <roland@gnu.org>1996-07-01 23:04:49 +0000
commiteb48c9632eb9b40b0855003d48e5547c542d2abe (patch)
tree8076658d04d1d45c660d04c5a4dfc164a8e571eb /stdio-common
parent21206990e44007ce7eed98ac40d9dbf24c07623d (diff)
downloadglibc-eb48c9632eb9b40b0855003d48e5547c542d2abe.tar.gz
glibc-eb48c9632eb9b40b0855003d48e5547c542d2abe.tar.xz
glibc-eb48c9632eb9b40b0855003d48e5547c542d2abe.zip
Mon Jul 1 15:44:34 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> cvs/libc-960702
	* inet/Makefile (routines): Change getnetbypt to getnetbyad.

Mon Jul  1 12:29:50 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>

	* 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  <schwab@issan.informatik.uni-dortmund.de>

	* grp/getgrgid_r.c (LOOKUP_TYPE): Define to struct group, not
	struct passwd.

Fri Jun 28 16:53:01 1996  David Mosberger-Tang  <davidm@azstarnet.com>

	* 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 <limits.h> 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  <davidm@azstarnet.com>

	* 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.
Diffstat (limited to 'stdio-common')
-rw-r--r--stdio-common/Makefile2
-rw-r--r--stdio-common/vscanf.c32
2 files changed, 1 insertions, 33 deletions
diff --git a/stdio-common/Makefile b/stdio-common/Makefile
index 00e34c520e..7fe1987158 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-common/vscanf.c b/stdio-common/vscanf.c
deleted file mode 100644
index 0d829440e9..0000000000
--- a/stdio-common/vscanf.c
+++ /dev/null
@@ -1,32 +0,0 @@
-/* Copyright (C) 1991, 1992 Free Software Foundation, Inc.
-This file is part of the GNU C Library.
-
-The GNU C Library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Library General Public License as
-published by the Free Software Foundation; either version 2 of the
-License, or (at your option) any later version.
-
-The GNU C Library is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-Library General Public License for more details.
-
-You should have received a copy of the GNU Library General Public
-License along with the GNU C Library; see the file COPYING.LIB.  If
-not, write to the Free Software Foundation, Inc., 675 Mass Ave,
-Cambridge, MA 02139, USA.  */
-
-#include <ansidecl.h>
-#include <stdarg.h>
-#include <stdio.h>
-
-#undef	vscanf
-
-
-/* Read formatted input from stdin according to the format
-   string in FORMAT, using the argument list in ARG.  */
-int
-DEFUN(vscanf, (format, arg), CONST char *format AND va_list arg)
-{
-  return vfscanf (stdin, format, arg);
-}