diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2011-12-11 17:22:59 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2011-12-11 17:22:59 +0000 |
commit | acb97e611501c92cc176b2ca130ffab00cb6299d (patch) | |
tree | e01a6fb141908edd0b899f5182ac39ad8c557d24 /Src | |
parent | a7794bd1532c2fc6ff984f9b743c08e9ac90a923 (diff) | |
download | zsh-acb97e611501c92cc176b2ca130ffab00cb6299d.tar.gz zsh-acb97e611501c92cc176b2ca130ffab00cb6299d.tar.xz zsh-acb97e611501c92cc176b2ca130ffab00cb6299d.zip |
29991: allow explicit "d" for days in time qualifiers
Diffstat (limited to 'Src')
-rw-r--r-- | Src/glob.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/glob.c b/Src/glob.c index 96c00dedb..076d0392a 100644 --- a/Src/glob.c +++ b/Src/glob.c @@ -1530,6 +1530,8 @@ zglob(LinkList list, LinkNode np, int nountok) g_units = TT_MONTHS, ++s; else if (*s == 's') g_units = TT_SECONDS, ++s; + else if (*s == 'd') + ++s; } /* See if it's greater than, equal to, or less than */ if ((g_range = *s == '+' ? 1 : *s == '-' ? -1 : 0)) |