alpha: Use fopen "rce" in ioperm
authorMatt Turner <mattst88@gmail.com>
Fri, 27 Apr 2012 02:22:59 +0000 (22:22 -0400)
committerRichard Henderson <rth@twiddle.net>
Fri, 27 Apr 2012 14:34:53 +0000 (07:34 -0700)
ChangeLog.alpha
sysdeps/unix/sysv/linux/alpha/ioperm.c

index e908e27..065930d 100644 (file)
@@ -1,5 +1,10 @@
 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.
        (MAP_HUGETLB): Likewise.
 
index 4055c5d..8b6c830 100644 (file)
@@ -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;