bug-findutils
[Top][All Lists]
Advanced

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

[bug #29435] fd_is_cloexec () does not work on Fedora buildhosts


From: James Youngman
Subject: [bug #29435] fd_is_cloexec () does not work on Fedora buildhosts
Date: Sun, 04 Apr 2010 10:59:13 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/533.2 (KHTML, like Gecko) Chrome/5.0.342.7 Safari/533.2

Follow-up Comment #1, bug #29435 (project findutils):

I suspect what's happening is that the library on your build hosts
defined O_CLOEXEC, but your kernel lacks support for it.   fcntl(fd, F_GETFL)
may just return the original flags we passed, meaning that it's not a
guarantee that the O_CLOEXEC actually had an effect.

Please test the attached alternative patch and let me know if it
solves your problem.


(file #20110)
    _______________________________________________________

Additional Item Attachment:

File name: 0001-Fix-open_cloexec-on-hosts-which-ignore-O_CLOEXEC-i.e.patch
Size:2 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?29435>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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