mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 13:00:06 +00:00
alpha: Use fopen "rce" in ioperm
This commit is contained in:
parent
cdf73ff5b6
commit
99449c154f
@ -1,3 +1,8 @@
|
||||
2012-04-26 Matt Turner <mattst88@gmail.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo): Use "c"
|
||||
and "e" in fopen.
|
||||
|
||||
2012-04-26 Matt Turner <mattst88@gmail.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/alpha/bits/mman.h (MAP_STACK): Define.
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1992, 1996-1999, 2000 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1992-2012 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by David Mosberger.
|
||||
|
||||
@ -496,7 +496,7 @@ process_cpuinfo(struct cpuinfo_data *data)
|
||||
return 1;
|
||||
}
|
||||
|
||||
fp = fopen (PATH_CPUINFO, "r");
|
||||
fp = fopen (PATH_CPUINFO, "rce");
|
||||
if (!fp)
|
||||
return 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user