mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 13:00:06 +00:00
alpha: Avoid fgets plt entry
And since the FILE is function local, avoid locking too.
This commit is contained in:
parent
91c0abeda1
commit
a797e1734c
@ -1,5 +1,8 @@
|
||||
2012-05-30 Richard Henderson <rth@twiddle.net>
|
||||
|
||||
* sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo): Use
|
||||
fgets_unlocked.
|
||||
|
||||
* sysdeps/alpha/Implies: Include ieee754/dbl-64/wordsize-64.
|
||||
|
||||
* sysdeps/alpha/alphaev6/fpu/e_sqrt.S: Use dynamic rounding.
|
||||
|
@ -504,7 +504,7 @@ process_cpuinfo(struct cpuinfo_data *data)
|
||||
|
||||
while (1)
|
||||
{
|
||||
if (fgets (dummy, 256, fp) == NULL)
|
||||
if (fgets_unlocked (dummy, 256, fp) == NULL)
|
||||
break;
|
||||
if (!got_type &&
|
||||
sscanf (dummy, "system type : %256[^\n]\n", data->systype) == 1)
|
||||
|
Loading…
Reference in New Issue
Block a user