view move-if-change @ 100399:8d6fe7463149

* w32term.c (w32_term_init): Don't initialize the image cache here; it will be done in init_frame_faces. * xterm.h (struct xim_inst_t): Definition moved from xterm.c. (struct x_display_info): Remove unused member null_pixel. New member xim_callback_data. * xterm.c (struct xim_inst_t): Definition moved to xterm.h. (xim_initialize): Save pointer to callback function data. (xim_close_dpy): Free callback function data. Call XCloseIM, reverting 2008-11-04 change by David Smith. (x_term_init): Don't initialize the image cache here; it will be done in init_frame_faces. Remove ancient "null_pixel" cruft. (x_delete_display): Free x_dnd_atoms member.
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 13 Dec 2008 05:39:41 +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