This is the mail archive of the newlib-cvs@sourceware.org mailing list for the newlib 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]

[newlib-cygwin] Fix comment in sys/wait.h


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=1aeda8a95f10002ad99920ee0610533b5aa7664b

commit 1aeda8a95f10002ad99920ee0610533b5aa7664b
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Thu May 28 16:39:09 2015 +0200

    Fix comment in sys/wait.h
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 newlib/ChangeLog               | 4 ++++
 newlib/libc/include/sys/wait.h | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index d1b0afe..632f2ac 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,7 @@
+2015-05-28  Corinna Vinschen  <vinschen@redhat.com>
+
+	* libc/include/sys/wait.h: Fix comment.
+
 2015-05-27  David Stacey  <drstacey@tiscali.co.uk>
 
 	* libc/argz/argz_replace.c: Fix potential memory leak.
diff --git a/newlib/libc/include/sys/wait.h b/newlib/libc/include/sys/wait.h
index 73fe372..f17e53f 100644
--- a/newlib/libc/include/sys/wait.h
+++ b/newlib/libc/include/sys/wait.h
@@ -11,7 +11,7 @@ extern "C" {
 #define WUNTRACED 2
 
 /* A status looks like:
-      <2 bytes info> <2 bytes code>
+      <1 byte info> <1 byte code>
 
       <code> == 0, child has exited, info is the exit value
       <code> == 1..7e, child has exited, info is the signal number.


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