This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] for glibc-2.2 getdents code


On Tue, Feb 20, 2001 at 04:37:02PM -0800, H . J . Lu wrote:
> Thanks for your testcase. But I believe your proposed patch is
> incorrect. It won't work with telldir/seekdir. I think the glibc
> bug is to use the getdents64 system call to implement getdents ()
> on a 32bit system. It doesn't make any senses since getdents () is
> a 32bit interface on a 32bit system.  Here is a patch.

It makes a lot of sense. Only getdents64 system call sets the d_type field.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]