Bug#167897: Patch

2002-11-05 Thread Burton Windle
:15.0 -0500 @@ -51,7 +51,14 @@ int i, p; dsp_fd = open("/dev/dsp", O_WRONLY, 0); + if (dsp_fd<0) { + fprintf(stderr,"Cannot initialize DSP:"); + perror(""); + exit(0); + }

Bug#167897: wavtools: Poor error messages when unable to open DSP

2002-11-05 Thread Burton Windle
Package: wavtools Version: 1.3.2-8 Severity: normal When wavp is unable to open the DSP, it gives somewhat-less-than-ideal errors. IE, if someone is already using the DSP, it should say its busy, and not just that it cannot initialize the DSP. pen("/dev/dsp", O_WRONLY) = -1 EBUSY (D