Mercurial > emacs
view move-if-change @ 76364:ebfc3239385f
* sound.c (wav_play): Check header->data_length to see how much we
shall read.
(alsa_period_size): Convert ALSA period size in frames to bytes.
(alsa_write): Return if frames is zero.
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Tue, 06 Mar 2007 12:14:14 +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