Michael Kerrisk (man-pages) writes ("Re: Bug#848231: bugs in scandir example
program"):
> We've misunderstood each other. Here's how I think i is:
>
> 1. You sent me a patch against a reasonably old version of the program
> (pre 2012 upstream).
>
> 2. In 2012, I made this change in the code:
>
> - n = scandir(".", &namelist, 0, alphasort);
> + n = scandir(".", &namelist, NULL, alphasort);
Oh, right. Jolly good.
Thanks,
Ian.
--
Ian Jackson <[email protected]> These opinions are my own.
If I emailed you from an address @fyvzl.net or @evade.org.uk, that is
a private address which bypasses my fierce spamfilter.