Paul Eggert <address@hidden> wrote:
> How about the following further patch, on stylistic grounds? The
> macro IF_READDIR_NEEDS_REWINDDIR is a bit weird because it can't be
> emulated by a function. The new code should be just as fast as the
> old, if the compiler does reasonable optimizations.
>
> As I get older, I get more confused by C macro weirdnesses
> (even though I've been guilty of them myself...).
>
> 2003-05-04 Paul Eggert <address@hidden>
>
> * src/remove.c (HAVE_WORKING_READDIR): Define to 0 if not defined.
> (IF_READDIR_NEEDS_REWINDDIR): Remove.
> (remove_cwd_entries): Rewrite to avoid IF_READDIR_NEEDS_REWINDDIR,
> which was a bit weird because it couldn't be emulated by a function.
Thank you!
Applied.