Mercurial > emacs
view move-if-change @ 56268:9853134cd610
* gtkutil.c (xg_get_image_for_pixmap): Call g_object_unref on
gpix and gmask just before return to avoid memory leak.
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Mon, 28 Jun 2004 12:21:54 +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