summaryrefslogtreecommitdiffstats
path: root/usr.bin/uuencode/uuencode.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Delete useless calls to setlocale(3):schwarze2019-03-101-8/+4
| | | | | | | | uudecode(1) and uuencode(1) do nothing locale-dependent. While here, sort headers, make usage() static, return from main() rather than exit(3), and drop two redundant case statements. This is a minimally tweaked version of a patch from Jan Stary. OK tedu@
* Zap unused <sys/socket.h>kn2018-12-311-2/+1
| | | | | | | Included since millert's sync with FreeBSD in 2004 which still has it. No object change. OK millert
* Change all tame callers to namechange to pledge(2).deraadt2015-10-091-5/+5
|
* tame "stdio rpath wpath cpath" or a more mundane "stdio rpath", dependingderaadt2015-10-071-1/+9
| | | | | on which arguments the programs are run under. ok doug
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-161-2/+1
| | | | | | | | | possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-14/+1
| | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
* an enum specifier is more elegant than a set of #defines;sobrado2008-07-291-16/+16
| | | | | | | | | storing the program mode variable (pmode) as a global let us have a more consistent prototype for usage(). changes suggested by pyr@. ok millert@, pyr@
* each utility must have its own usage and its own set of options;sobrado2008-07-051-14/+32
| | | | | | | | | | b64encode and b64decode are equivalent to running uuencode and uudecode respectively with the -m flag specified, so this flag should not be available in these utilities; while here, fix synopsis. based on millert's diff for compress/gzip. ok millert@
* Sync with FreeBSD; adds base64 support and other options.millert2004-04-091-47/+116
| | | | OK deraadt@, some man page tweaks from jmc@
* mostly ansi cleanup; pval okderaadt2003-06-101-9/+7
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-031-7/+3
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* kill more registersmpech2001-11-191-4/+4
| | | | millert@ ok
* first pass at a -Wall cleanupderaadt2001-07-121-3/+3
|
* rcsidderaadt1996-06-261-1/+2
|
* initial import of NetBSD treederaadt1995-10-181-0/+161