summaryrefslogtreecommitdiffstats
path: root/usr.bin/stat
AgeCommit message (Collapse)AuthorFilesLines
2019-09-07more Version 1 AT&T UNIX history:schwarze1-3/+9
a few cases that weren't altogether straightforward; tweak and OK jmc@, OK sobrado@
2018-09-18Fix typo in previous: group_from_gid(st->st_gid, 1), not st_uid.tb1-2/+2
This broke the chmod regression test, as noted and tracked down by bluhm. ok millert
2018-09-16Use user_from_uid(3) and group_from_gid(3) to avoid extra passwdmillert1-32/+33
and group file lookups. This required a bit of reordering of the file mode handling bits to deal with the const char *. OK tb@
2018-03-16improve markup quality in the cases found by the new "--" style messageschwarze1-5/+5
2015-10-10normalize a few more tame request orderings, to help reviewderaadt1-2/+2
2015-10-09Change all tame callers to namechange to pledge(2).deraadt1-3/+3
2015-10-06Appears that tame "stdio getpw rpath" will satisfy all code paths.deraadt1-1/+4
2014-11-15Reduce instances of `` '' in manuals.bentley1-15/+28
troff displays these as typographic quotes, but nroff implementations almost always print them literally, which rarely has the intended effect with modern fonts, even in stock xterm. These uses of `` '' can be replaced either with more semantic alternatives or with Dq, which prints typographic quotes in a UTF-8 locale (but will automatically fall back to `` '' in an ASCII locale). improvements and ok schwarze@
2013-11-26unsigned char casts for ctypederaadt1-4/+4
ok okan
2013-07-16use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@schwarze1-4/+4
2010-10-29Include the octet of the mode that contains the setuid/setgid/sticky bitsguenther1-2/+2
in the output format used for the -x option. Problem observed by LEVAI Daniel
2010-09-03add an EXIT STATUS section for /usr/bin;jmc1-3/+3
2010-09-01Remove unused variable: linkfaillum1-8/+3
ok gilles@
2010-06-29we don't care about keeping rccs_idtedu1-6/+1
2009-10-22replace strftime(3) by ".Xr strftime 3" and syslog(3) by ".Xr syslog 3".sobrado1-3/+5
ok jmc@
2009-06-24synchronize synopsis and usage; "-l", "-r", "-s" and "-x" are mutuallysobrado1-3/+4
exclusive; while here, slightly improve spacing in the source code so it fits on a 80-column display again. diff greatly improved by martynas@; ok jmc@, martynas@
2009-01-19replace standardized text concerning the exit values of applicationssobrado1-4/+3
with the right mdoc macros.
2008-11-08from reed@netbsd:jmc1-3/+3
Be consistent: document the birthtime field of struct stat for the "B" field specifier.
2008-10-06give working examples (s/timespec/time/ for variables exported)todd1-5/+5
please commit from jmc@
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.ray2-18/+4
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
2007-11-05relate fields to stat(2).espie1-13/+42
with help from jmc@ for wording and nroff magic
2007-11-05adjust an awkward piece of grammar;jmc1-4/+4
problem spotted by, and ok, jsing
2007-05-31convert to new .Dd format;jmc1-2/+2
2006-05-28warn() already prints __progname for us, okay deraadt@ hshoexer@pedro1-3/+3
2005-09-30deploy .An -nosplit; ok jmcjaredy1-1/+2
2005-06-15bye bye whiteoutsmillert2-9/+5
2005-04-22Fix a trivial truncation case, and eliminate a corner case that mightotto1-4/+4
print a nul character. From atatat@netbsd
2005-04-11pass size of right buffer to strlcat. ok deraadt@otto1-3/+3
2005-04-11getting tired of explaining this: snprintf does not return how manyderaadt1-8/+14
bytes it PUT into the buffer, but how many it WANTED to, so it can be > buflen; ok otto
2005-04-07Remove birth time from the default formats, we do not support it (yet), butotto2-6/+7
leave the B format available for the future. ok tedu@ tdeval@ henning@
2005-04-04+.Xr readlink 1 ,jmc1-1/+2
2005-04-03remove readlink stuff; same as otto diffderaadt1-19/+9
2005-04-03cleanup; ok ottoderaadt1-49/+28
2005-04-03we do readlink seperately; ok ottoderaadt2-20/+3
2005-04-02.Ox history is far more relevant than .Nx history;jmc1-3/+3
2005-04-02update examples;jmc1-5/+5
2005-04-02- .Sxjmc1-5/+5
- no need to talk about linux
2005-04-02Undefine some things which are not conditional any more. No binary change.otto1-16/+8
ok henning@
2005-04-02Mention birthtime.otto1-3/+4
2005-04-02Enable birthtime. ok tdeval@ henning@otto1-14/+4
2005-04-02Unifdef. No binary change. ok henning@ tedu@otto1-52/+2
2005-04-01cleanup;jmc1-42/+37
2005-04-01Welcome stat(1), from NetBSD. grrrrrok deraadt@ ok henning@ tdeval@ tedu@otto3-0/+1507