1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-11 13:01:28 +02:00
Commit graph

23 commits

Author SHA1 Message Date
Oliver Kiddle
a73c705b0c 51212: remove STOUC() macro
This served as a workaround for ancient compilers where casts to
unsigned char were broken.
2022-12-16 23:28:10 +01:00
Bart Schaefer
276020522e 50150: Filenames need unmetafy for printing 2022-04-30 11:24:21 -07:00
Ivan Tkachenko
e258e7d251 43823: remove unnecessary metafy() in stattimeprint() 2018-11-15 10:59:09 +09:00
dana
394f3a47e4 43075: Support nanosecond-precision time formatting
* 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
2018-06-20 17:29:56 -05:00
Jun-ichi Takimoto
ca3bc0d95d 37838: use UNUSED() consistently 2016-01-30 00:26:23 +09:00
Peter Stephenson
f8164fb647 36227: attempt to fix metafication problem with ztrftime.
fmt is treated as metafied on entry; use returned length to ensure
we metafy or output the correct length if there are embedded nulls.
2015-08-18 16:20:48 +01:00
Peter Stephenson
51c0ccd303 missed updates to calls to ztrftime() 2014-07-30 14:20:07 +01:00
Peter Stephenson
a4d3b8f676 31419: Add time zone and year to string formatted time output from zstat 2013-05-21 17:42:57 +01:00
Peter Stephenson
1b52f47cf2 23665: autoloading of module features and related tweaks 2007-07-06 21:52:38 +00:00
Peter Stephenson
b0c5f09169 see 23479: add initial features support for modules 2007-05-28 22:57:39 +00:00
Peter Stephenson
dd5602f59b 22474: use variable argument lists to improve error message handling 2006-05-30 22:35:03 +00:00
Clint Adams
a915138852 22284: add --disable-dynamic-nss configure switch to disable use of getpw*(), getgr*(), initgroups() functions. 2006-02-19 19:36:31 +00:00
Wayne Davison
39b3d2b90a Values being stored in an array or a hash needed to be metafied
(using META_DUP) instead of just duplicated via ztrdup().
2006-01-13 09:15:59 +00:00
Peter Stephenson
7a389a2fc3 22082: print out uid or gid in stat if name not available 2005-12-19 11:35:40 +00:00
Andrey Borzenkov
0acbed6ab0 21978: unmetafy file name 2005-11-02 19:29:53 +00:00
Peter Stephenson
d7c13fb2c3 20822: Initial code for Unicode/multibyte input
20823: Debugging test in stat wrong for 64-bit systems
2005-02-18 13:57:25 +00:00
Wayne Davison
fb0937a69e Marked unused parameters with the new UNUSED() macro. 2004-06-02 22:14:25 +00:00
Peter Stephenson
815bc92148 a la 19209: zcalloc -> zshcalloc 2003-10-29 19:17:30 +00:00
Peter Stephenson
9634760d5e 17582: Improved option argument handling.
unposted: Updated version to 4.1.0-dev-6 because of interface change.
2002-08-27 21:10:30 +00:00
Peter Stephenson
7f7e58935b 14314: writing const variable under cygwin 2001-05-11 12:59:50 +00:00
Andrey Borzenkov
cd5e39ef50 Bart 14144: fix compilation problem on current Cygwin 1.3.1 (macros were
changed to external variables and cannot be used to initialize static array).
Modified by me __CYGWIN -> __CYGWIN__
2001-04-30 10:40:50 +00:00
Peter Stephenson
b4a2b47b64 stat -o shows file modes in octal 2000-04-07 20:07:10 +00:00
Tanaka Akira
e74702b467 Initial revision 1999-04-15 18:05:38 +00:00