NetBSD-Users archive

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

Re: Import timeout(1) from FreeBSD


I've filed a problem-report (hopefully it won't be sorted out by spam-filters) 
with a proposed patches.

The former aims to import FreeBSD sources as they are, the latter to adapt 
timeout(1) for NetBSD.

Comments and tests are welcome... after midnight coding!

The patches are waiting for a sponsor to review and push them to the mainline 
for NetBSD-7.0.

If I'm not mistaken in the FreeBSD version there is a bug, it permits to use a 
signal out range -- this line is exposed with strtonum(3). We don't ship with 
strtonum(3), so I changed it to strtol(3) and assumed that sig_nsig is not a 
valid signal value.

strtonum(3) is an OpenBSD addition, available in FreeBSD and in GNU.

With kind regards,

Attachment: 0002-Adapt-timeout-1-for-NetBSD.patch
Description: Binary data

Attachment: 0001-Import-timeout-from-FreeBSD-r.268745.patch
Description: Binary data

Home | Main Index | Thread Index | Old Index