On Thu, Jan 19, 2012 at 4:18 AM, Edd Barrett <vex...@gmail.com> wrote: > I recently got caught out by scandir's quirky memory allocation. Should > we add a note so that others don't have to go through this pain too?
Could you elaborate on how this affected your code? I'm trying to think of some way for code to depend on this that isn't undefined behavior by the POSIX standard and (sorry) just a bad idea in practice... Philip