Home | History | Annotate | Download | only in fsplit
History log of /src/usr.bin/fsplit/fsplit.c
RevisionDateAuthorComments
 1.30  16-Jun-2015  christos fix some error handling.
 1.29  23-Jan-2013  riastradh Assert equality, not assignment, in fsplit, and say who guarantees it.
 1.28  16-Sep-2011  joerg branches: 1.28.2; 1.28.8;
Use __dead
 1.27  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.26  23-Nov-2008  dholland Two robustness fixes:
(1) make ridiculously small filename buffer larger;
(2) don't accidentally try to generate files with names containing '/'.
 1.25  16-Nov-2008  dholland One leftover trailing whitespace, caused by a merge botch at my end.
 1.24  16-Nov-2008  dholland Further cleanup. Merge a bit of duplicate code. Don't roll private copies
of str(l)cpy or rename; check said rename for failure. Set WARNS=4.
 1.23  16-Nov-2008  dholland Avoid running off the end of the name buffer when extracting a filename
from the program text.
 1.22  16-Nov-2008  dholland Clean up argument handling.
- Use getopt instead of rolling one's own.
- Don't copy the -e arguments unnecessarily, and specifically, don't
copy them into a small static buffer and zoom off the end.
- Don't zoom off the end of the array of -e option files, either.
 1.21  16-Nov-2008  dholland C has a neat feature called a 'struct'. Use one, instead of
FORTRAN-style parallel arrays.
 1.20  16-Nov-2008  dholland Index arrays according to customary C idioms, instead of a weird mix of
C and FORTRAN thinking.
 1.19  16-Nov-2008  dholland Avoid using side-effecting macros.
 1.18  16-Nov-2008  dholland Scratch variables shouldn't be global.
 1.17  16-Nov-2008  dholland KNF, formatting, and whitespace cleanup. No functional change intended.
 1.16  16-Nov-2008  dholland Sprinkle static and const. Use NULL and '\0', not 0, where appropriate.
Fix typo in comment.
 1.15  16-Nov-2008  dholland Use <stdbool.h> and <err.h>.
 1.14  16-Nov-2008  dholland Ansify and de-__P().
 1.13  21-Jul-2008  lukem branches: 1.13.4;
Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
 1.12  26-May-2008  dholland Error out instead of dumping core if we can't write (one of) the output
files. Fixes PR 36725.
 1.11  30-Oct-2004  dsl branches: 1.11.2; 1.11.4; 1.11.10; 1.11.12; 1.11.22; 1.11.26; 1.11.28;
No need to call isupper() before tolower()
 1.10  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.9  14-Jul-2003  itojun use bounded string op
 1.8  03-Jul-2000  matt Make gcc 2.96 (and maybe earlier) happier. Include <stdlib.h>,<string.>,
etc. as appropriate to get exit,srncmp,abs,abort,etc.
Add -I${.CURDIR} to a few Makefiles
 1.7  19-Dec-1998  christos char -> unsigned char
 1.6  08-Oct-1998  wsanchez #elsej (!) should be #else
 1.5  18-Oct-1997  lukem WARNSify, fix .Nm usage, deprecate register
 1.4  28-Sep-1995  perry Sync with 4.4BSD-Lite2
 1.3  24-Dec-1994  cgd pull in string.h
 1.2  01-Aug-1993  mycroft Add RCS identifiers.
 1.1  09-Apr-1993  cgd branches: 1.1.1;
added, from net/2 (patch 124).
 1.1.1.1  28-Sep-1995  perry imported from 44lite2
 1.11.28.2  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.11.28.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.11.26.1  04-Jun-2008  yamt sync with head
 1.11.22.1  23-Nov-2008  bouyer Pull up following revision(s) (requested by dholland in ticket #1238):
usr.bin/fsplit/fsplit.c: revision 1.26 via patch
Two robustness fixes:
(1) make ridiculously small filename buffer larger;
(2) don't accidentally try to generate files with names containing '/'.
 1.11.12.1  23-Nov-2008  bouyer Pull up following revision(s) (requested by dholland in ticket #1238):
usr.bin/fsplit/fsplit.c: revision 1.26 via patch
Two robustness fixes:
(1) make ridiculously small filename buffer larger;
(2) don't accidentally try to generate files with names containing '/'.
 1.11.10.1  23-Nov-2008  bouyer Pull up following revision(s) (requested by dholland in ticket #1982):
usr.bin/fsplit/fsplit.c: revision 1.26 via patch
Two robustness fixes:
(1) make ridiculously small filename buffer larger;
(2) don't accidentally try to generate files with names containing '/'.
 1.11.4.1  23-Nov-2008  bouyer Pull up following revision(s) (requested by dholland in ticket #1982):
usr.bin/fsplit/fsplit.c: revision 1.26 via patch
Two robustness fixes:
(1) make ridiculously small filename buffer larger;
(2) don't accidentally try to generate files with names containing '/'.
 1.11.2.1  23-Nov-2008  bouyer Pull up following revision(s) (requested by dholland in ticket #1982):
usr.bin/fsplit/fsplit.c: revision 1.26 via patch
Two robustness fixes:
(1) make ridiculously small filename buffer larger;
(2) don't accidentally try to generate files with names containing '/'.
 1.13.4.1  23-Nov-2008  bouyer Pull up following revision(s) (requested by dholland in ticket #112):
usr.bin/fsplit/fsplit.c: revision 1.26 via patch
Two robustness fixes:
(1) make ridiculously small filename buffer larger;
(2) don't accidentally try to generate files with names containing '/'.
 1.28.8.1  25-Feb-2013  tls resync with head
 1.28.2.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")

RSS XML Feed