On 12/02/2014 06:17 AM, KO Myung-Hun wrote:
> Hi/2.
> 
> Paul Eggert wrote:
>> KO Myung-Hun wrote:
>>> * lib/fts.c (fts_build): Do not check dir_fd on OS/2 kLIBC.
>>
>> I'm afraid this change needs more explanation.  If the problem is that
>> dirfd returns -2, the earlier part of fts_build will return when that
>> happens, so that problem cannot be fixed by the patch that you sent.
>>
> 
> First of all, sorry. I've misread codes. Essential problem is that kLIBC
> dup() does not work on a directory fd. So this patch tries to use a path
> instead of fd.

Then we should probably try to figure out a workaround for broken dup()
first.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to