Mercurial > hg > xemacs-beta
view move-if-change @ 4988:4cfb6aeb989d
fix compile problems on Windows native
-------------------- ChangeLog entries follow: --------------------
src/ChangeLog addition:
2010-02-05 Ben Wing <ben@xemacs.org>
* syswindows.h (LOCAL_FILE_FORMAT_TO_TSTR):
Cast pointer when storing value to avoid problems because some
store vars are Extbyte * and some are LPTSTR.
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Fri, 05 Feb 2010 23:22:59 -0600 |
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