summaryrefslogtreecommitdiff
path: root/Src/Modules/stat.c
AgeCommit message (Collapse)AuthorFilesLines
2025-01-3053332, 53334: Avoid strlen calls after sprintfOliver Kiddle1-2/+1
2022-12-1651212: remove STOUC() macroOliver Kiddle1-1/+1
This served as a workaround for ancient compilers where casts to unsigned char were broken.
2022-04-3050150: Filenames need unmetafy for printingBart Schaefer1-5/+7
2018-11-1543823: remove unnecessary metafy() in stattimeprint()Ivan Tkachenko1-3/+1
2018-06-2043075: Support nanosecond-precision time formattingdana1-5/+17
* Teach ztrftime() %9. and %N for nanoseconds * Update prompt expansion to pass sub-second times for time formatting * Update zsh/stat to pass sub-second times for atime/mtime/ctime Patch heavily based on Oliver's earlier work @ workers/24059
2016-01-3037838: use UNUSED() consistentlyJun-ichi Takimoto1-1/+1
2015-08-1836227: attempt to fix metafication problem with ztrftime.Peter Stephenson1-2/+5
fmt is treated as metafied on entry; use returned length to ensure we metafy or output the correct length if there are embedded nulls.
2014-07-30missed updates to calls to ztrftime()Peter Stephenson1-1/+1
2013-05-2131419: Add time zone and year to string formatted time output from zstatPeter Stephenson1-2/+2
2007-07-0623665: autoloading of module features and related tweaksPeter Stephenson1-3/+3
2007-05-28see 23479: add initial features support for modulesPeter Stephenson1-3/+26
2006-05-3022474: use variable argument lists to improve error message handlingPeter Stephenson1-14/+12
2006-02-1922284: add --disable-dynamic-nss configure switch to disable use of ↵Clint Adams1-2/+2
getpw*(), getgr*(), initgroups() functions.
2006-01-13Values being stored in an array or a hash needed to be metafiedWayne Davison1-5/+5
(using META_DUP) instead of just duplicated via ztrdup().
2005-12-1922082: print out uid or gid in stat if name not availablePeter Stephenson1-6/+18
2005-11-0221978: unmetafy file nameAndrey Borzenkov1-2/+2
2005-02-1820822: Initial code for Unicode/multibyte inputPeter Stephenson1-2/+2
20823: Debugging test in stat wrong for 64-bit systems
2004-06-02Marked unused parameters with the new UNUSED() macro.Wayne Davison1-3/+3
2003-10-29a la 19209: zcalloc -> zshcallocPeter Stephenson1-2/+2
2002-08-2717582: Improved option argument handling.Peter Stephenson1-27/+29
unposted: Updated version to 4.1.0-dev-6 because of interface change.
2001-05-1114314: writing const variable under cygwinPeter Stephenson1-3/+3
2001-04-30Bart 14144: fix compilation problem on current Cygwin 1.3.1 (macros wereAndrey Borzenkov1-3/+23
changed to external variables and cannot be used to initialize static array). Modified by me __CYGWIN -> __CYGWIN__
2000-04-07stat -o shows file modes in octalPeter Stephenson1-31/+117
1999-04-15Initial revisionTanaka Akira1-0/+535