Re: [PATCH] exit.3: Use hex for the status mask.

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

 




On Sat, Sep 15, 2018, at 02:30, Jakub Wilk wrote:
> * Benjamin Peterson <benjamin@xxxxxxxxxx>, 2018-09-13, 08:35:
> >Admittedly, the POSIX specification for exit() also uses octal. 
> >However, 0xFF immediately indicates the lowest 8 bits to me whereas I 
> >had to think a bit about the octal mask.
> 
> I agree that 0xFF is readability improvement over 0377.
> BTW, _exit.2 manpage has the same problem. I'd like it to be fixed too.

Good thought. I'll send an updated patch with _exit modified, too.



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux