1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-31 15:12:18 +01:00

Jun T.: 27351: zdelattr missed first argument

This commit is contained in:
Peter Stephenson 2009-11-05 09:44:32 +00:00
parent eeb5b6c941
commit 39e4cfd4db
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2009-11-05 Peter Stephenson <pws@csr.com>
* Jun T.: 27351: zdelattr missed first argument.
2009-11-04 Peter Stephenson <pws@csr.com>
* Mikael: 27347: Completion/Zsh/Command/_zattr,
@ -12292,5 +12296,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
* $Revision: 1.4801 $
* $Revision: 1.4802 $
*****************************************************

View file

@ -154,7 +154,7 @@ bin_delattr(char *nam, char **argv, Options ops, UNUSED(int func))
{
int ret = 0, slen;
int symlink = OPT_ISSET(ops, 'h');
char *file = argv[0], **attr = &argv[1];
char *file = argv[0], **attr = argv;
unmetafy(file, &slen);
while (*++attr) {