summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)Author
2014-01-15add -C to the man page, and adjust usage();Jason McIntyre
ok lteo
2014-01-15Add support for a -C option. It works on a checklist like -c but onlyLawrence Teo
does the checksum comparison for selected files that are specified on the command line. idea discussed with deraadt@ and tedu@ manpage feedback jmc@ feedback/OK deraadt@ millert@
2014-01-14No exception is made for symlinks in the spec, so usePhilip Guenther
fchmodat(AT_SYMLINK_NOFOLLOW) to set the mode on symlinks, pass AT_SYMLINK_NOFOLLOW to utimensat(), and then let those be called on symlinks by dropping the test that skipped them. Eliminate set_lids() by changing set_ids() to use fchownat(AT_SYMLINK_NOFOLLOW) and delete a redundant conditional in each of set_ftime()/fset_ftime(). suggested by espie@ ok millert@
2014-01-12Also move case 'c' into the #ifdef for a smaller binary. It will fall intoTheo de Raadt
default, giving a nice failure. I have not removed -c from the usage() or getopt() because it is too much butchering...
2014-01-11Add -DNOCPIO option for use by distrib/specialTheo de Raadt
ok guenther tedu
2014-01-11use -DSHA2_ONLY to be more clear about what we are butcheringTheo de Raadt
idea from tedu
2014-01-10depluralizeTheo de Raadt
ok jmc
2014-01-10catch up to the fact that md5/sha* got merged, and document -c consistently;Jason McIntyre
some style and cleanup tweaks while here ok deraadt
2014-01-10Add MISSING to the list of possible results of a checklist comparison.Lawrence Teo
2014-01-10When using a checklist, print MISSING for non-existent files.Lawrence Teo
Based on an earlier diff by tedu@ Requested by deraadt@ OK deraadt@
2014-01-10tedu merged the hash manual pages back together. This goes even further,Theo de Raadt
repairing the documentation for the -c option.
2014-01-10the -c option is really a mode change, incompatible with other options.Ted Unangst
(there are some others too, but -c is particularly misleading.) split it out in synopsis and usage. ok deraadt
2014-01-09Symlinks are displayed with '->', not '=>'Philip Guenther
2014-01-09Update pax -v format to match "ls -l": display the year for datesPhilip Guenther
in the future and include a space between the major and minor numbers for devices. Eliminate bogus handling of LC_TIME environment variable. Make strftime() format selection understandable by gcc -Wformat=2. ok millert@
2014-01-09Per POSIX, times in the future should be reported with the yearPhilip Guenther
like files more than six months old. Use strftime() directly instead of breaking down the ctime() output on character positions. ok millert@
2014-01-08Fix wrapping of usage message for cksum.Todd C. Miller
2014-01-08err() not errx() when fopen fails.Todd C. Miller
2014-01-08Remove NHASHES, it is not needed and is incompatible with #ifdef SMALL.Todd C. Miller
Remove style_hash and style_cksum, adjust the style of the selected algorithms based on rflag and qflag instead.
2014-01-08sort options;Jason McIntyre
2014-01-08Remove pmode, fix hfile open mode, check return value when writingTodd C. Miller
file name to stdout.
2014-01-08Add -DSMALL support to kill a lot of the unncecessary hashes and checksumsTheo de Raadt
that the install media won't need ok millert, but he used the word butcher!
2014-01-08Add support for -h hashfile. This is very useful with with -p, in a pipeline,Theo de Raadt
to deliver the hash output to a different location. ok millert
2014-01-08Zap leading whitespaceTheo de Raadt
2014-01-08Zap trailing whitespacePhilip Guenther
2014-01-08Replace strtoq(), QUAD_MAX, and %qu with their long long equivalentPhilip Guenther
2014-01-08Eliminate poisonous LONG_OFF_T conditionalPhilip Guenther
adjective suggested by deraadt@
2014-01-08Delete a bogus extern declaration and move around a couple othersPhilip Guenther
2014-01-08Use size_t where appropriatePhilip Guenther
ok fgsch@
2014-01-08Rename arguments to avoid shadowing global variablesPhilip Guenther
ok fgsch@
2014-01-08Mark some functions as printf-like and fix a bogus format stringPhilip Guenther
ok fgsch@
2014-01-05comma previous;Jason McIntyre
2014-01-05garbage collect unused global variable retval,Ingo Schwarze
forgotten in rev. 1.36 when removing timed(8) support; proofed by sobrado@
2014-01-05some conversion specifiers are not required by POSIX;Ingo Schwarze
joint work and OK jmc@ sobrado@
2014-01-05date(1) can only exit(0) or exit(1), not exit(2), so make this .Ex -std;Ingo Schwarze
obviouly, this was forgotten in rev. 1.57 when removing timed(8) support. ok jmc@ sobrado@
2014-01-03note that our date supports traditional bsd date format, which isJason McIntyre
different to what posix/xpg specifies; diff originally posted to tech, changed after some feedback from kettenis, then a bit more from schwarze and sobrado; ok schwarze sobrado
2014-01-01Fixed typos and style.Tobias Stoeckmann
ok jmc@
2013-12-29update sha256(1) to better reflect that it documents sha512 now too.Jason McIntyre
that led me to whack some unneccessary mark up and quoting (and phrasing), and the changes to the other pages are really just to unify the newer text layout; tedu provided feedback and answers (thanks);
2013-12-27Document the P_SUSPSINGLE flag bitPhilip Guenther
2013-12-23install a link as sha512. simplify program internals; there are onlyTed Unangst
two modes. ok deraadt gilles jca
2013-12-20Fix a crash in ksh when trying to access ${12345678901234567890}Vadim Zhukov
Input from deraadt@, millert@ and otto@. okay from millert@ plus a willing from deraadt@
2013-12-18incorrect cast for ctype, spotted and repaired by LEVAI DanielTheo de Raadt
2013-12-18Remove artificial limit on the max array index.Todd C. Miller
Adapted from a bitrig commit from Martin Natano. OK zhuk@
2013-12-17ctype cleanups. Repeated re-audits of this sensitive area by okan andTheo de Raadt
myself, with a variety of other people spending some time as well. Thanks.
2013-12-02use a wording more usual in our manual pages.Igor Sobrado
ok guenther@
2013-12-02Move ksh test files into regressMove ksh test files into regressMove ksh ↵Todd C. Miller
test files into regress.
2013-11-28remove trailing whitespaces; use tabs instead of spaces where appropriate;Igor Sobrado
no binary changes.
2013-11-28remove trailing spaces.Igor Sobrado
2013-11-27remove erroneous char cast to switch expression processing getopt(3);Okan Demirmen
not used in any cases. ok deraadt@, guenther@, millert@
2013-11-25use u_char for buffers in yylex, for ctype callsSebastian Benoit
found by millert@, ok deraadt@
2013-11-21add unsigned char casts for specific calls to ctype.h macros.Theo de Raadt
ok guenther step