Re: less string history

2014-12-04 Thread Theo de Raadt
> On Thu, 04 Dec 2014 22:32:39 +0100, Ingo Schwarze wrote: > > > > Or: > > > A strdup() macro was first used in the 4.1cBSD debugger, dbx. > > > > > > Not helpful. > > > > It would be misleading to just say that it appeared in 4.3BSD-Reno > > because it was used in various programs for eigh

Re: less string history

2014-12-04 Thread Philip Guenther
On Thu, Dec 4, 2014 at 5:53 PM, Todd C. Miller wrote: > On Thu, 04 Dec 2014 22:32:39 +0100, Ingo Schwarze wrote: > >> That's beside the point. The HISTORY section generally wants to >> convey two pieces of information: Where an interface was originally >> invented (in this case, System V) and wh

Re: less string history

2014-12-04 Thread Todd C. Miller
On Thu, 04 Dec 2014 22:32:39 +0100, Ingo Schwarze wrote: > > Or: > > A strdup() macro was first used in the 4.1cBSD debugger, dbx. > > > > Not helpful. > > It would be misleading to just say that it appeared in 4.3BSD-Reno > because it was used in various programs for eight years before > f

Re: less string history

2014-12-04 Thread Todd C. Miller
On Thu, 04 Dec 2014 22:32:39 +0100, Ingo Schwarze wrote: > That's beside the point. The HISTORY section generally wants to > convey two pieces of information: Where an interface was originally > invented (in this case, System V) and when it became available in > the direct ancestry of OpenBSD.

Re: less string history

2014-12-04 Thread Todd C. Miller
On Thu, 04 Dec 2014 22:32:39 +0100, Ingo Schwarze wrote: > > Or: > > The strcpy() function first appeared in the Programmer's Workbench > > (PWB/UNIX) and was ported to VersionĀ 7 AT&T UNIX. > > > > Ported? What is involved in porting strcpy? > > Nothing much, obviously. You have sugge

Re: less string history

2014-12-04 Thread Todd C. Miller
On Thu, 04 Dec 2014 15:43:11 -0500, Ted Unangst wrote: > Ported? What is involved in porting strcpy? I was curious enough to check and the only change between the pwb strcpy.c and the v7 version is the variable holding the return value was changed from int to char *. I'd call that a bug fix rath

Re: less string history

2014-12-04 Thread Ingo Schwarze
Hi Ted, Ted Unangst wrote on Thu, Dec 04, 2014 at 03:43:11PM -0500: > The string man pages are full of not so interesting history sections. > I don't think they are helpful, and they are in some cases misleading > or incorrect. I strongly dislike your proposal to summarily delete HISTORY section

less string history

2014-12-04 Thread Ted Unangst
The string man pages are full of not so interesting history sections. I don't think they are helpful, and they are in some cases misleading or incorrect. For example: The memmove() function first appeared in 4.3BSD-Reno. That's arguably wrong, since it appeared in C89 which predates Reno. (C