--- AnyEvent-Watchdog/Watchdog.pm 2009/08/14 23:07:09 1.4 +++ AnyEvent-Watchdog/Watchdog.pm 2009/08/14 23:08:54 1.5 @@ -166,7 +166,7 @@ # due to bugs in perl, try to remember file offsets for all fds, and restore them later # (the parser otherwise exhausts the input files) -# this causes perlio to flush it's handles internally, so +# this causes perlio to flush its handles internally, so # seek offsets become correct. exec "."; # toi toi toi #{ @@ -180,7 +180,7 @@ # } #} -# now records all fd positions +# now record "all" fd positions, assuming 1023 is more than enough. for (0 .. 1023) { open my $fh, "<&$_" or next; $SEEKPOS{$_} = (sysseek $fh, 0, 1 or next);