[Webkit-unassigned] [Bug 127842] New: ConnectionUnix: use F_SETFD to set the FD_CLOEXEC flag
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jan 29 10:13:09 PST 2014
https://bugs.webkit.org/show_bug.cgi?id=127842
Summary: ConnectionUnix: use F_SETFD to set the FD_CLOEXEC flag
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: New Bugs
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: berto at igalia.com
Using F_SETFL to set the FD_CLOEXEC flag in the following code is
wrong, the correct command here is F_SETFD.
while (fcntl(fileDescriptors[i], F_SETFL, FD_CLOEXEC) == -1) {
if (errno != EINTR) {
ASSERT_NOT_REACHED();
break;
}
}
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list