X-Git-Url: https://diplodocus.org/git/flac-archive/blobdiff_plain/3c7d23bc411654d2964b81af85b94b8f7f293436..7d56ee20dd19a764ff301f4abffaf855b90262f4:/fa-flacd diff --git a/fa-flacd b/fa-flacd index 371f20b..c3413e5 100755 --- a/fa-flacd +++ b/fa-flacd @@ -12,7 +12,7 @@ B [B<-jv>] B -B ID TRACKCOUNT OFFSET [OFFSET ...] LENGTH +B I =cut @@ -117,7 +117,7 @@ sub flac { sub reaper { my $pid; - while (($pid = waitpid(0, WNOHANG)) > 0) { + while (($pid = waitpid(-1, WNOHANG)) > 0) { push(@finished, [$pid, $?]); } @@ -196,7 +196,7 @@ MAIN: { $opts{'j'} = 4; $opts{'v'} = 0; if (not getopts('j:v', \%opts)) { - print("usage: flacd [-jN -v]\n"); + print(STDERR "usage: flacd [-jN -v]\n"); exit(2); } @@ -271,11 +271,6 @@ B requires the number of tracks as its sole argument. =over 4 -=item CDDBURL - -B uses this to retrieve candidate Vorbis tags. Defaults to -"http://freedb.freedb.org/~cddb/cddb.cgi". - =item CDDEV B uses this to rip audio and save the cuesheet for a CD. It