summaryrefslogtreecommitdiffstats
path: root/usr.bin/rcs/ident.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Pull in <time.h> for struct tm, used in rcs.hguenther2016-08-261-1/+2
| | | | ok deraadt@
* Allow rcsnum_free and buf_free to accept NULL and remove various NULLnicm2015-11-021-3/+2
| | | | checks that are now unnecessary, from Michael W Bombardieri. ok millert
* exit in usage functions themselves; from Fritjof Bornebusch; ok nicm@otto2014-10-021-3/+4
|
* Remove some unneeded includes and dead code, from Michael W Bombardieri.nicm2011-04-201-2/+1
| | | | ok jasper xsa
* Make BUFs autoextend by default. This was already done in OpenCVSray2010-07-281-2/+2
| | | | | | a while ago. OK zinovik nicm
* Reduce variable/function name and whitespace differences betweenray2010-07-231-11/+11
| | | | | | cvs/rcs. OK xsa zinovik
* ident(1) does not require arguments; while here, note that thissobrado2009-10-151-3/+3
| | | | | | | program uses the standard input, not the standard output, when no filenames are provided. ok xsa@
* From Pierre Riteau:ray2007-09-091-3/+8
| | | | | | | | | Sync ident behavior with GNU RCS: - return 1 to the shell if any file could not be opened. - print an empty line after processing a file unless we couldn't open it (and not for the last one). OK niallo.
* As done in OpenCVS, general includes cleanup sweep. OK otto@.xsa2007-02-271-2/+7
|
* When getc() returns EOF, either feof() or ferror() will return true,ray2007-02-081-3/+3
| | | | | | | | | so no need to check them. Removes a bitwise OR that should have been a logical OR as well. From Pierre Riteau <pierre dot riteau at free dot fr>. OK joris@.
* Flush printf buffer before directly writing to STDIN_FILENO. Preventsray2006-08-071-1/+2
| | | | | | the printf output from printing after the rcs_buf_write_fd output. ``ok!'' joris@
* Reduce rcs_buf_release() usage, improving binary support.ray2006-08-011-7/+6
| | | | OK niallo@
* Remove /* NOTREACHED */ comments, now that lint is smart aboutray2006-05-091-2/+1
| | | | | | __dead. I never should have put them there. OK xsa@.
* prevent a very, very stupid buffer overflow in ident_line().joris2006-05-011-16/+23
| | | | | | fix for PR 5091 okay niallo@
* - do not show file ... as optionaljmc2006-04-241-2/+2
| | | | | | | - remove angle brackets - sync usage() ok xsa
* remove overkill cvs_log() and rather use warn()/warnx().xsa2006-04-211-3/+3
| | | | OK ray@ and discussed with joris@.
* switch -q handling to bitwise flags; OK ray@ niallo@.xsa2006-04-191-3/+4
|
* excessive addition to brackets is a mental disease. you will goderaadt2006-04-141-6/+6
| | | | blind, too. seek help. no binary change, ok joris
* change ident_file() and ident_line() return type to void; OK ray@.xsa2006-03-221-13/+11
|
* Follow exit() with /* NOTREACHED*/ for lint.ray2006-03-161-1/+2
| | | | ``OK niallo@'' niallo@
* many spacing cleanupsderaadt2006-03-061-2/+2
|
* typos in comments;xsa2006-01-201-3/+3
|
* cleanup, move log.h and rcs.h inclusion into rcsprog.h;xsa2006-01-051-3/+1
|
* #include's cleanup; ok joris@ niallo@.xsa2006-01-021-8/+2
|
* correct usage();xsa2005-11-301-3/+2
|
* output consistency;xsa2005-11-231-8/+10
|
* respect -q;xsa2005-11-161-3/+5
|
* To be fully compatibly with the GNU RCS tools we need to have thejoris2005-10-131-4/+4
| | | | | | | | same way of parsing commandline options. Since getopt(3) allows spaces between arguments and GNU RCS tools does not we needed to roll out our own way of option handling, and here it is. ok niallo@
* various usage cleanup; ok jorisderaadt2005-10-121-3/+3
|
* warn when no keywords were found;joris2005-10-061-1/+7
|
* tweaks;xsa2005-10-061-5/+5
|
* ident command, written by xsa@ but he is too busy with work right now;joris2005-10-061-0/+152