New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 753601 link

Starred by 2 users

Issue metadata

Status: ExternalDependency
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Fuchsia
Pri: 3
Type: Bug



Sign in to add a comment

Fuchsia's fdopen() accepts -1 as fd

Project Member Reported by scottmg@chromium.org, Aug 8 2017

Issue description

FileUtilTest.FileToFILE in base_unittests expects fdopen(-1, ...) to fail, but it succeeds on Fuchsia.

http://pubs.opengroup.org/onlinepubs/009695399/functions/fdopen.html says that it "may" fail with EBADF when "The fildes argument is not a valid file descriptor.".

So this may be technically correct, but it might be less surprising to fail here.

(I will fix the Chromium side test to not rely on this "may" behaviour of POSIX in the meantime.)
 
Components: Internals>PlatformIntegration
Labels: OS-Fuchsia
Status: ExternalDependency (was: Started)

Sign in to add a comment