view move-if-change @ 50157:203d5a0f77a8

The following changes consolidate some of the gui-independent parts of the processing and drawing of "glyph strings" from xterm.c, w32term.c, and macterm.c into xdisp.c. * macterm.c: Remove consolidated defines and code. (mac_per_char_metric): New function for RIF. (mac_encode_char): Adapted to new RIF requirements. (mac_compute_glyph_string_overhangs): Adapt for RIF. (x_redisplay_interface): Add new members.
author Kim F. Storm <storm@cua.dk>
date Sun, 16 Mar 2003 20:48:56 +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