Home | History | Annotate | only in /src/usr.bin/rs
History log of /src/usr.bin/rs
RevisionDateAuthorComments
 1.4 03-Aug-2023  rin Revert CC_WNO_USE_AFTER_FREE from Makefile's (thanks uwe@)
 1.3 03-Aug-2023  rin Sprinkle CC_WNO_USE_AFTER_FREE for GCC 12

All of them are blamed for idiom equivalent to:
newbuf = realloc(buf, size);
p = newbuf + (p - buf);
 1.2 09-Jan-1998  perry RCS Id Police.
 1.1 28-Sep-1995  tls branches: 1.1.1;
Initial revision
 1.1.1.1 28-Sep-1995  tls imported from 44lite2
 1.11 03-Jul-2017  wiz Remove workaround for ancient HTML generation code.
 1.10 04-Jan-2016  kamil Bump date for previous
 1.9 04-Jan-2016  kamil Add HISTORY and AUTHORS to rs

John A. Kunze requested to add himself as the authord of rs
on the FreeBSD bugzilla with the following text:

Please re-instate my name (as "John A. Kunze") as AUTHOR of the
jot, rs, and lam utilities. I wrote these in 1982, around or
before the time that I worked with Jordan at UCB (he left to work
at FreeBSD and later at Apple). Thank you!

-- https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196786

While there add a note that this tool first appeared in BSD 4.2.
This information is based on the FreeBSD manual pages.

Patch submitted by Michal Mazurek <akfaew AT jasminek.net>.

Reviewed by <dholland>
 1.8 11-Sep-2005  wiz We have spell again, xref it. From YOMURA Masanori in private mail.
 1.7 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.6 08-Feb-2002  ross Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
 1.5 18-Dec-2001  wiz Indent, uncompactify and sort options.
 1.4 18-Dec-2001  wiz mdoc'ify.
 1.3 09-Jan-1998  perry RCS Id Police.
 1.2 09-May-1996  pk Document one more option.
 1.1 28-Sep-1995  tls branches: 1.1.1;
Initial revision
 1.1.1.1 28-Sep-1995  tls imported from 44lite2
 1.17 10-Aug-2023  mrg avoid various use-after-free issues.

create a ptrdiff_t offset between the start of an allocation region and
some interesting pointer, so it can be adjusted with this offset after
realloc() returns. for pdisk(), realloc() is a locally inlind malloc()
and free() pair.

for mail(1), this required a little bit more effort as the old pointer
was passed into another file for fix-ups there, and that code needed to
be adjusted for offset vs old pointer usage.

found by GCC 12.
 1.16 03-Feb-2019  mrg - add or adjust /* FALLTHROUGH */ where appropriate
- add __unreachable() after functions that can return but won't in
this case, and thus can't be marked __dead easily
 1.15 06-Sep-2011  joerg branches: 1.15.42;
ANSIfy, static + __dead
 1.14 13-Jul-2009  roy Rename internal getline() function to get_line() so it does
conflict with the soon to be added getline(3) libc function.
 1.13 13-Apr-2009  lukem fix -Wcast-qual issues
 1.12 21-Jul-2008  lukem branches: 1.12.6;
Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
 1.11 01-Nov-2004  dsl branches: 1.11.28;
Add (unsigned char) cast to ctype functions
 1.10 05-Jan-2004  jmmv Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
 1.9 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.8 11-Jun-2002  itojun err/errx/warn/warnx do not need \n at the end
 1.7 24-Oct-2001  tron Avoid segmentation fault if "-z" option is used. Patch supplied by
Jarle Greipsland in PR bin/14338.
 1.6 11-Oct-2000  is More format string cleanup by sommerfeld.
 1.5 24-Jul-2000  ad RCS ID police.
 1.4 19-Oct-1997  lukem branches: 1.4.4; 1.4.12;
WARNSify, deprecate register
 1.3 09-May-1996  pk Fix a bunch of bugs:
- avoid divide-by-zero trap when specifying small widths
- do not overrun entry array when printing output tables
- cleanup storage allocation for entries
- use err/warn etc.
 1.2 29-Sep-1995  cgd need string.h for protos.
 1.1 28-Sep-1995  tls branches: 1.1.1;
Initial revision
 1.1.1.1 28-Sep-1995  tls imported from 44lite2
 1.4.12.2 13-Nov-2001  he Pull up revision 1.7 (requested by tron):
Avoid segmentation fault if ``-z'' option is used. Fixes PR#14338.
 1.4.12.1 18-Oct-2000  tv Pullup usr.bin string format fixes [is].
See "cvs log" for explicit revision numbers per file, from sommerfeld.
 1.4.4.1 19-Oct-2000  he Pull up revision 1.6 (requested by he):
Format string cleanup.
 1.11.28.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.12.6.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.15.42.1 10-Jun-2019  christos Sync with HEAD

RSS XML Feed