bug-gnulib
[Top][All Lists]
Advanced

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

Re: fdopendir closes the file descriptor on MinGW


From: Eli Zaretskii
Subject: Re: fdopendir closes the file descriptor on MinGW
Date: Wed, 18 Mar 2015 22:26:36 +0200

> Date: Wed, 18 Mar 2015 13:19:46 -0700
> From: Paul Eggert <address@hidden>
> CC: address@hidden, address@hidden
> 
> On 03/18/2015 01:04 PM, Eli Zaretskii wrote:
> > In this case, "work" means make that file descriptor become valid
> > again.  IOW, it should emulate what happens on Posix systems when
> > opendir is called: a new file descriptor is allocated.
> 
> Many POSIX systems do that, but POSIX doesn't require it

OK, but fdopendir's implementation clearly intends for this to happen,
doesn't it?  The fact that it doesn't was the reason for this bug
report in the first place, AFAIU.  So I think we should make that
happen somehow, do you agree?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]