diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-04-28 14:22:07 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-04-28 14:22:07 +0000 |
commit | 5005d3b3302adfe379c6f4404f79f204d7c52cdb (patch) | |
tree | 3f426c0a5dece375ada36fe2c21ef6eed8eaa505 /inet/ether_aton.c | |
parent | 366cff4d8f5c0e6dbfe06eaa1301aa955a848f45 (diff) | |
download | glibc-5005d3b3302adfe379c6f4404f79f204d7c52cdb.zip glibc-5005d3b3302adfe379c6f4404f79f204d7c52cdb.tar.gz glibc-5005d3b3302adfe379c6f4404f79f204d7c52cdb.tar.bz2 |
Update.
* inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value
in hex conversion.
* inet/ether_aton.c (ether_aton): Declare result variable static.
Reported by ahyung@unixg.ubc.ca.
Diffstat (limited to 'inet/ether_aton.c')
-rw-r--r-- | inet/ether_aton.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inet/ether_aton.c b/inet/ether_aton.c index 20300c8..5748007 100644 --- a/inet/ether_aton.c +++ b/inet/ether_aton.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996. @@ -24,7 +24,7 @@ struct ether_addr * ether_aton (const char *asc) { - struct ether_addr result; + static struct ether_addr result; return ether_aton_r (asc, &result); } |