The following reply was made to PR bin/30612; it has been noted by GNATS.
From: Jeff Rizzo <riz@xxxxxxxxxx>
Subject: PR/30612 CVS commit: [netbsd-2] src/usr.bin/audio/record
Date: Mon, 18 Jul 2005 04:11:00 +0000 (UTC)
Module Name: src
Committed By: riz
Date: Mon Jul 18 04:11:00 UTC 2005
src/usr.bin/audio/record [netbsd-2]: record.c
Pull up revisions 1.39-1.41 (requested by mrg in ticket #5498):
check that an output file is given before doing any other work.
avoids touching the audio device and then printing an error.
move some more processing before opening the audio device. don't
default the encoding to ulaw; default it to what ever the device
has. the latter fixes PR#30612.
play.c: allow empty files to exit gracefully rather than with an error
of "header seems really large". reported by wiz.
record.c: don't use total_size in the header if is -1 (it's initial value)
To generate a diff of this commit:
cvs rdiff -r188.8.131.52 -r184.108.40.206.2.1 src/usr.bin/audio/record/record.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.