This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.16-ports-merge-527-gbff6491


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  bff6491355e54a58906c2fdd9ffc7e1549308f35 (commit)
      from  25fe89324c4d23ea467ea6902da6feb344dae3f4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=bff6491355e54a58906c2fdd9ffc7e1549308f35

commit bff6491355e54a58906c2fdd9ffc7e1549308f35
Author: Pino Toscano <toscano.pino@tiscali.it>
Date:   Thu Oct 25 18:47:38 2012 +0200

    Hurd: ptrace: use __hurd_fail for EOPNOTSUPP

diff --git a/ChangeLog b/ChangeLog
index 5077784..b387606 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
+
+	* sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
+	EOPNOTSUPP.
+
 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
 
 	* Makeconfig (run-program-prefix): Fix comment.
diff --git a/sysdeps/mach/hurd/ptrace.c b/sysdeps/mach/hurd/ptrace.c
index bb56272..bccb265 100644
--- a/sysdeps/mach/hurd/ptrace.c
+++ b/sysdeps/mach/hurd/ptrace.c
@@ -160,7 +160,7 @@ ptrace (enum __ptrace_request request, ... )
     case PTRACE_SINGLESTEP:
       /* This is a machine-dependent kernel RPC on
 	 machines that support it.  Punt.  */
-      return EOPNOTSUPP;
+      return __hurd_fail (EOPNOTSUPP);
 
     case PTRACE_ATTACH:
     case PTRACE_DETACH:
@@ -227,7 +227,7 @@ ptrace (enum __ptrace_request request, ... )
     case PTRACE_PEEKUSER:
     case PTRACE_POKEUSER:
       /* U area, what's that?  */
-      return EOPNOTSUPP;
+      return __hurd_fail (EOPNOTSUPP);
 
     case PTRACE_GETREGS:
     case PTRACE_SETREGS:
@@ -248,7 +248,7 @@ ptrace (enum __ptrace_request request, ... )
       return get_regs (MACHINE_THREAD_FLOAT_STATE_FLAVOR,
 		       MACHINE_THREAD_FLOAT_STATE_COUNT);
 #else
-      return EOPNOTSUPP;
+      return __hurd_fail (EOPNOTSUPP);
 #endif
 
     case PTRACE_GETFPAREGS:
@@ -261,7 +261,7 @@ ptrace (enum __ptrace_request request, ... )
       return get_regs (MACHINE_THREAD_FPA_STATE_FLAVOR,
 		       MACHINE_THREAD_FPA_STATE_COUNT);
 #else
-      return EOPNOTSUPP;
+      return __hurd_fail (EOPNOTSUPP);
 #endif
 
     case PTRACE_POKETEXT:

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                  |    5 +++++
 sysdeps/mach/hurd/ptrace.c |    8 ++++----
 2 files changed, 9 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]