view move-if-change @ 109660:85236524c2a3

Fix redisplay bugs due to uninitialized glyphs in frame glyph pool. dispnew.c (realloc_glyph_pool): Zero out newly allocated glyphs. msdos.c (IT_display_cursor): Log cursor position on termscript. .gdbinit (pgx): Display the avoid_cursor_p flag.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 06 Aug 2010 17:54:06 +0300
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