mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-04 10:41:11 +02:00
zsh-workers/8371
This commit is contained in:
parent
ef583ea5d4
commit
da00a39290
1 changed files with 4 additions and 2 deletions
|
@ -462,6 +462,10 @@ bin_stat(char *name, char **args, char *ops, int func)
|
|||
for (aptr = args; *aptr; aptr++)
|
||||
nargs++;
|
||||
|
||||
if (ops['g']) {
|
||||
flags |= STF_GMT;
|
||||
ops['s'] = 1;
|
||||
}
|
||||
if (ops['s'] || ops['r'])
|
||||
flags |= STF_STRING;
|
||||
if (ops['r'] || !ops['s'])
|
||||
|
@ -470,8 +474,6 @@ bin_stat(char *name, char **args, char *ops, int func)
|
|||
flags |= STF_FILE;
|
||||
if (ops['t'])
|
||||
flags |= STF_NAME;
|
||||
if (ops['g'])
|
||||
flags |= STF_GMT;
|
||||
|
||||
if (!(arrnam || hashnam)) {
|
||||
if (nargs > 1)
|
||||
|
|
Loading…
Reference in a new issue