History log of /src/usr.bin/rs/rs.c |
Revision | | Date | Author | Comments |
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
|