Mercurial > emacs
view move-if-change @ 81106:f4d5f1a40875
Fix tq.el edge case
(tq-queue-pop): Stifle error when a process has died and we are trying to
send a signal to it. The program using tq.el should periodically check
to see whether the process has died and react appropriately -- this is
not the responsibility of tq.el, and is consistent with the rest of the
tq.el source code.
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-779
Creator: Michael Olson <mwolson@gnu.org>
author | Miles Bader <miles@gnu.org> |
---|---|
date | Wed, 30 May 2007 14:06:39 +0000 |
parents | 354e0c45cedf |
children | 14a97ab281d5 |
line wrap: on
line source
#!/bin/sh if test -r $2 then if cmp $1 $2 > /dev/null then echo $2 is unchanged rm -f $1 else mv -f $1 $2 fi else mv -f $1 $2 fi