This is the mail archive of the newlib@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]

Re: Comment wrong in libc/include/sys/wait.h ?


On May 28 14:22, Stefan Heinzmann wrote:
> Hi all,
> 
> there's a comment in libc/include/sys/wait.h describing the format of a
> status. According to this comment, there's 2 bytes of info and 2 bytes of
> code in a status. The following macros, however, seem to work on the
> assumption that info and code are a single byte each.
> 
> Do you agree that there's an inconsistency? Can I assume that the macros are
> right and the comment is wrong?

The comment is wrong.  I fixed that in the repo.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat

Attachment: pgpEnBuP9diUQ.pgp
Description: PGP signature


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