about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--Src/Modules/attr.c2
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 40214da3c..2877b8d81 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 $
 *****************************************************
diff --git a/Src/Modules/attr.c b/Src/Modules/attr.c
index 88ebb1618..72348623a 100644
--- a/Src/Modules/attr.c
+++ b/Src/Modules/attr.c
@@ -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) {