summaryrefslogtreecommitdiff
path: root/usr.bin/stat/stat.c
AgeCommit message (Expand)Author
2009-04-13Fix WARNS=4 issues (-Wcast-qual -Wsign-compare)lukem
2008-05-16The ofmt variable is actually a bit mask (not the character that wasatatat
2008-04-28Remove clause 3 and 4 from TNF licensesmartin
2008-02-09Fix a segfault when doing 'stat -f %R' on the stdin file handle, insteadmlelstv
2006-10-07PR/34662: martijnb at atlas dot ipv6 dot stack dot nl: readlink doesn'telad
2005-06-23Bend the 'L', 'M', and 'H' modifiers to work on the size, whereby itatatat
2005-04-22Fix a trivial truncation case, and eliminate a corner case that mightatatat
2005-01-13Now that tools/compat provides a check, make sure st_birthtimensec existsjmc
2004-12-31Add "dirname"- and "basename"-like functionality to stat(1) by way ofatatat
2004-06-20Completely rework how tools/compat is done. Purge all uses/references tojmc
2004-05-28If using stat (the -L flag) and it fails, fall back to lstat(). Itatatat
2003-10-29Take the time to set gottime so that you don't have to waste timeatatat
2003-10-27be consistent using #if HAVE_STRUCT_STAT_ST_xxx (versus #ifdef)lukem
2003-10-27Overhaul how `build.sh tools' are used:lukem
2003-10-26fix for systems which don't have st_*timespec. PR 23214.chs
2003-07-25More properly host-tool-ify statatatat
2003-07-23* don't compile in support for st_birth #ifdef HOSTPROGlukem
2003-07-20first attempt at making this a HOSTPROGlukem
2003-05-08Add %B to print the st_birthtime of an inode (adjusting the "raw"atatat
2002-10-19use readlink with bufsize - 1; approved thorpej.provos
2002-08-13Use limits.h instead of sys/syslimits.h since it's more potrable.atatat
2002-08-13Style sync with FreeBSD. Changes via Doug Barton <DougB@FreeBSD.org>.atatat
2002-07-09Header reorganization makes a shorter list. From Doug Barton <DougB@FreeBSD....atatat
2002-07-09The bitwise or-ing together of letters is almost *guaranteed* to doatatat
2002-07-08A new command line option, -q, suppresses *stat(2) failure messages.atatat
2002-05-31When asked for the string representation of a device that isn'tatatat
2002-05-09Add a simple format that translates to the current file number, fix anatatat
2002-04-27Add a stat(1) program to /usr/bin. It provides a simple formattingatatat