From 9537a79fbf3853a34e3117722e2c107bf60e4496 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 18 Feb 2009 11:21:57 +0000 Subject: Arkadiusz Miskiewicz : 26573: force compdump overwrite --- ChangeLog | 8 +++++++- Completion/compdump | 2 +- 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 + + * Arkadiusz Miskiewicz : 26573: + Functions/Completion/compdump: force compdump to overwrite + dump file if mv is a bit dubious. + 2009-02-14 Peter Stephenson * 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 -- cgit 1.4.1