Mercurial > hg > xemacs-beta
view move-if-change @ 4404:80e07b006f9c
Prevent access to uninitialized variables in x_init_device.
2008-01-18 Jerry James <james@xemacs.org>
* device-x.c (x_init_device): Don't write to path or read from
format when neither has been initialized.
author | Jerry James <james@xemacs.org> |
---|---|
date | Fri, 18 Jan 2008 16:12:31 -0700 |
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