[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commits] r15846 - in /fsf/trunk/ports: ChangeLog.arm sysdeps/unix/sysv/linux/arm/ioperm.c



Author: eglibc
Date: Thu Nov 17 00:02:22 2011
New Revision: 15846

Log:
Import glibc-ports-mainline for 2011-11-17

Modified:
    fsf/trunk/ports/ChangeLog.arm
    fsf/trunk/ports/sysdeps/unix/sysv/linux/arm/ioperm.c

Modified: fsf/trunk/ports/ChangeLog.arm
==============================================================================
--- fsf/trunk/ports/ChangeLog.arm (original)
+++ fsf/trunk/ports/ChangeLog.arm Thu Nov 17 00:02:22 2011
@@ -1,3 +1,8 @@
+2011-11-16  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
+
+	* sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Use "c" and
+	"e" in fopen.
+
 2011-10-26  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
 
 	* sysdeps/arm/dl-machine.h, sysdeps/unix/arm/sysdep.S: Restore

Modified: fsf/trunk/ports/sysdeps/unix/sysv/linux/arm/ioperm.c
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/sysv/linux/arm/ioperm.c (original)
+++ fsf/trunk/ports/sysdeps/unix/sysv/linux/arm/ioperm.c Thu Nov 17 00:02:22 2011
@@ -1,4 +1,5 @@
-/* Copyright (C) 1998, 1999, 2003, 2005, 2008 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 1999, 2003, 2005, 2008, 2011
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Phil Blundell, based on the Alpha version by
    David Mosberger.
@@ -135,7 +136,7 @@
     {
       FILE * fp;
 
-      fp = fopen (PATH_CPUINFO, "r");
+      fp = fopen (PATH_CPUINFO, "rce");
       if (! fp)
 	return -1;
       while ((n = fscanf (fp, "Hardware\t: %256[^\n]\n", systype))

_______________________________________________
Commits mailing list
Commits@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/commits