NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PR/42879 CVS commit: src

The following reply was made to PR lib/42879; it has been noted by GNATS.

From: (YAMAMOTO Takashi)
Subject: Re: PR/42879 CVS commit: src
Date: Tue,  8 May 2012 16:25:04 +0000 (UTC)

 >  > the problem is that, the compat version of opendir is calling the newer
 >  > getdents via _initdir, right?
 >  Yes.
 >  > does rewinddir have the same problem as well?
 >  Certainly.  I didn't notice it.
 unfortunately it's too late to version rewinddir.
 how about:
        1. version _initdir as your patch.
        2. DIR: add a new member, dd_initdir.
        3. opendir: dirp->dd_initdir = _initdir
        4. rewinddir: use dirp->dd_initdir instead of _initdir.

Home | Main Index | Thread Index | Old Index