view move-if-change @ 5626:eb41da9b4469

More documentation about glyphs cache coherency problem. -------------------- ChangeLog entries follow: -------------------- src/ChangeLog addition: 2011-12-27 Didier Verna <didier@xemacs.org> * glyphs.c (update_image_instance): * glyphs.c (image_instantiate): More comments about the current glyphs cache coherency problem.
author Didier Verna <didier@xemacs.org>
date Tue, 27 Dec 2011 21:59:03 +0100
parents 376386a54a3c
children
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