1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00
1998-04-07 16:18  Ulrich Drepper  <drepper@cygnus.com>

	* libc.map: Add __asprintf to GLIBC_2.1.
	* elf/dlerror.c: Use __asprintf, not asprintf.
	* libio/stdio.h: Declare __asprintf.
	* stdio-common/asprintf.c: Define as __asprintf and make asprintf
	a weak alias.

	* elf/dl-minimal.c: Add definition of strtol and strtoul (und friends)
	to avoid inclusion from libc_pic.a.

	* elf/dl-runtime.c: Undo last patch.

	* stdlib/strtod.c: Don't use mbtowc, use btowc.

	* sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386"
	as default, use NULL.
This commit is contained in:
Ulrich Drepper
1998-04-07 16:28:09 +00:00
parent 6ca96fe202
commit 27a5bb33ac
11 changed files with 196 additions and 49 deletions

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1991, 1995, 1997 Free Software Foundation, Inc.
/* Copyright (C) 1991, 1995, 1997, 1998 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
@ -23,7 +23,7 @@
allocated with malloc and stored in *STRING_PTR. */
/* VARARGS2 */
int
asprintf (char **string_ptr, const char *format, ...)
__asprintf (char **string_ptr, const char *format, ...)
{
va_list arg;
int done;
@ -34,3 +34,4 @@ asprintf (char **string_ptr, const char *format, ...)
return done;
}
weak_alias (__asprintf, asprintf)