1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-07 06:43:00 +03:00
1999-04-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
This commit is contained in:
Ulrich Drepper
1999-04-29 10:56:31 +00:00
parent c4563d2d66
commit 2c68584cdd
4 changed files with 13 additions and 4 deletions

View File

@@ -1,3 +1,7 @@
1999-04-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* resolv/res_hconf.c (_res_hconf_init): Remove unused variable end.
1999-04-28 Ulrich Drepper <drepper@cygnus.com> 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
* argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0. * argp/argp-ba.c (argp_program_bug_address): Don't initialize with 0.

View File

@@ -1,3 +1,8 @@
1999-04-29 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/sparc/sparc64/pt-machine.h (__compare_and_swap): cas
instruction does not allow memory element to use offset.
1999-04-28 Ulrich Drepper <drepper@cygnus.com> 1999-04-28 Ulrich Drepper <drepper@cygnus.com>
* manager.c (pthread_allocate_stack): Optimize initialization of new * manager.c (pthread_allocate_stack): Optimize initialization of new

View File

@@ -1,6 +1,6 @@
/* Machine-dependent pthreads configuration and inline functions. /* Machine-dependent pthreads configuration and inline functions.
Sparc v9 version. Sparc v9 version.
Copyright (C) 1997, 1998 Free Software Foundation, Inc. Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library. This file is part of the GNU C Library.
Contributed by Richard Henderson <rth@tamu.edu>. Contributed by Richard Henderson <rth@tamu.edu>.
@@ -63,9 +63,9 @@ __compare_and_swap (long int *p, long int oldval, long int newval)
{ {
long int readval; long int readval;
__asm__ __volatile__ ("cas %1, %2, %0" __asm__ __volatile__ ("cas [%4], %2, %0"
: "=r"(readval), "=m"(*p) : "=r"(readval), "=m"(*p)
: "r"(oldval), "m"(*p), "0"(newval)); : "r"(oldval), "m"(*p), "r"(p), "0"(newval));
return readval == newval; return readval == newval;
} }

View File

@@ -313,7 +313,7 @@ _res_hconf_init (void)
{ {
const char *hconf_name; const char *hconf_name;
int line_num = 0; int line_num = 0;
char buf[256], *end, *envval; char buf[256], *envval;
FILE *fp; FILE *fp;
if (_res_hconf.initialized) if (_res_hconf.initialized)