[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem with readdir in Darwin-6.5 and hfs?
From: |
Jim Meyering |
Subject: |
Re: problem with readdir in Darwin-6.5 and hfs? |
Date: |
Sun, 04 May 2003 09:09:14 +0200 |
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.