about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--Completion/compdump2
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index ebacb2f26..62f3a3160 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-02-18  Peter Stephenson  <pws@csr.com>
+
+	* Arkadiusz Miskiewicz <arekm@maven.pl>: 26573:
+	Functions/Completion/compdump: force compdump to overwrite
+	dump file if mv is a bit dubious.
+
 2009-02-14  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* Danek Duvall: 26571: Src/Zle/complete.mdd,
@@ -11188,5 +11194,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.4567 $                         
+* $Revision: 1.4568 $                         
 *****************************************************
diff --git a/Completion/compdump b/Completion/compdump
index 03b929fc3..068383c22 100644
--- a/Completion/compdump
+++ b/Completion/compdump
@@ -132,7 +132,7 @@ print >> $_d_file
 print "typeset -gUa _comp_assocs" >> $_d_file
 print "_comp_assocs=( ${(qq)_comp_assocs} )" >> $_d_file
 
-mv $_d_file ${_d_file%.$HOST.$$}
+mv -f $_d_file ${_d_file%.$HOST.$$}
 
 unfunction compdump
 autoload -Uz compdump