public inbox for libc-ports@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 5/4] alpha: Use fopen "rce" in ioperm
@ 2012-04-27  2:23 Matt Turner
  2012-04-27  2:30 ` Mike Frysinger
  0 siblings, 1 reply; 2+ messages in thread
From: Matt Turner @ 2012-04-27  2:23 UTC (permalink / raw)
  To: Richard Henderson; +Cc: libc-ports, Matt Turner

---
 ChangeLog.alpha                        |    5 +++++
 sysdeps/unix/sysv/linux/alpha/ioperm.c |    4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/ChangeLog.alpha b/ChangeLog.alpha
index e908e27..08de3cf 100644
--- a/ChangeLog.alpha
+++ b/ChangeLog.alpha
@@ -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.
 
diff --git a/sysdeps/unix/sysv/linux/alpha/ioperm.c b/sysdeps/unix/sysv/linux/alpha/ioperm.c
index 4055c5d..8b6c830 100644
--- a/sysdeps/unix/sysv/linux/alpha/ioperm.c
+++ b/sysdeps/unix/sysv/linux/alpha/ioperm.c
@@ -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;
 
-- 
1.7.3.4

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 5/4] alpha: Use fopen "rce" in ioperm
  2012-04-27  2:23 [PATCH 5/4] alpha: Use fopen "rce" in ioperm Matt Turner
@ 2012-04-27  2:30 ` Mike Frysinger
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger @ 2012-04-27  2:30 UTC (permalink / raw)
  To: libc-ports; +Cc: Matt Turner, Richard Henderson

[-- Attachment #1: Type: Text/Plain, Size: 503 bytes --]

On Thursday 26 April 2012 22:22:59 Matt Turner wrote:
> --- a/ChangeLog.alpha
> +++ b/ChangeLog.alpha
> @@ -1,5 +1,10 @@
>  2012-04-26  Matt Turner  <mattst88@gmail.com>
> 
> +	* * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo): Use "c"

too many *

> --- a/sysdeps/unix/sysv/linux/alpha/ioperm.c
> +++ b/sysdeps/unix/sysv/linux/alpha/ioperm.c
> 
> -  fp = fopen (PATH_CPUINFO, "r");
> +  fp = fopen (PATH_CPUINFO, "rce");

Acked-by: Mike Frysinger <vapier@gentoo.org>
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-04-27  2:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-27  2:23 [PATCH 5/4] alpha: Use fopen "rce" in ioperm Matt Turner
2012-04-27  2:30 ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).