WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
30096
RegisterFile.h uses errno() in case of HAVE(VIRTUALALLOC), but does not does not include it explicitly
https://bugs.webkit.org/show_bug.cgi?id=30096
Summary
RegisterFile.h uses errno() in case of HAVE(VIRTUALALLOC), but does not doe...
Alexander Vassilev
Reported
2009-10-05 14:52:11 PDT
RegisterFile.h: errno.h is included only in the HAVE(MMAP) case, but is used also in the HAVE(VIRTUALALLOC) case, which can cause a compile error in case errno.h was not implicitly included before. The same problem used to exist with fprintf(), but the <stdio.h> include was moved out of the #if HAVE(MMAP). <errno.h> should probably be also moved out of the #if HAVE(MMAP) case.
Attachments
Add attachment
proposed patch, testcase, etc.
Gavin Barraclough
Comment 1
2012-03-26 14:50:13 PDT
RegisterFile.h no longer uses error! cheers, G.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug