in reply to Re: failing to use getdents system call on Linux
in thread failing to use getdents system call on Linux
But the logic in the Perl program is different. It subtracts from $read and shortens the buffer by the processed bytes.
I think the Perl program could run into an infinite loop if $read becomes negative, but that doesn't seem to be the problem here...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: failing to use getdents system call on Linux
by Anonymous Monk on Nov 06, 2016 at 19:59 UTC | |
by glasswalk3r (Friar) on Nov 07, 2016 at 19:07 UTC | |
|
Re^3: failing to use getdents system call on Linux
by glasswalk3r (Friar) on Nov 07, 2016 at 18:54 UTC |