Fix typo in imsg_init.3

2015-07-10 Thread Ben Cornett
This fixes a typo in the imsg example. Index: lib/libutil/imsg_init.3 === RCS file: /repo/OpenBSD/src/lib/libutil/imsg_init.3,v retrieving revision 1.12 diff -u -p -u -r1.12 imsg_init.3 --- lib/libutil/imsg_init.3 11 Jun 2015

Re: Fix loop test in vipw

2014-04-28 Thread Ben Cornett
I agree that one probably never gets a short write there in practice, but if there is going to be a loop, it may as well be correct. On Sat, Apr 26, 2014 at 10:52:50PM +0200, Ingo Schwarze wrote: Hi, On Tue, Apr 22, 2014 at 01:29:03AM +, Ben Cornett wrote: The following corrects

Re: Fix loop test in vipw

2014-04-24 Thread Ben Cornett
Anybody have time to look at this? On Tue, Apr 22, 2014 at 01:29:03AM +, Ben Cornett wrote: The following corrects the termination condition on the write loop in copyfile. Index: usr.sbin/vipw/vipw.c === RCS file: /cvsroot

Fix loop test in vipw

2014-04-21 Thread Ben Cornett
The following corrects the termination condition on the write loop in copyfile. Index: usr.sbin/vipw/vipw.c === RCS file: /cvsroot/OpenBSD/src/usr.sbin/vipw/vipw.c,v retrieving revision 1.16 diff -u -p -r1.16 vipw.c ---

Correctly document return value of getenv(3)

2014-04-20 Thread Ben Cornett
Clarify the return value of getenv. Index: lib/libc/stdlib/getenv.3 === RCS file: /cvsroot/OpenBSD/src/lib/libc/stdlib/getenv.3,v retrieving revision 1.19 diff -u -p -r1.19 getenv.3 --- lib/libc/stdlib/getenv.35 Jun 2013 03:39:23