perl fctnl woes

2015-08-11 Thread Tilo Stritzky
I'm trying to set up nonblocking writes to /dev/audio from within perl. It won't let me: $ cat ft.pl #!/usr/bin/perl use warnings; use strict; use Fcntl; my $fh_out; my $outfile="/dev/audio"; my $flags; open($fh_out, ">", $outfile) or die("open $outfile: $!"); $flags=fcntl($fh_out, F_GETFL, 0)

Re: perl fctnl woes

2015-08-13 Thread Steven McDonald
Hi Tilo, On Tue, 11 Aug 2015 17:11:13 +0200 Tilo Stritzky wrote: > Am I doing something silly here? Or is there a bug? > I see the same result on i386 and amd64. Same for /dev/sound. > This works on a 5.5 release, but not on later releases or current. I've been able to reproduce this with a si