Bug 80033

Summary: WebKitTestRunner: Explicitly include unistd.h for gcc 4.7
Product: WebKit Reporter: Kalev Lember <kalevlember>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Linux   
Attachments:
Description Flags
Patch none

Description Kalev Lember 2012-03-01 09:37:24 PST
WebKitTestRunner/TestInvocation.cpp uses getcwd(), but only includes the unistd.h header for Mac. This worked fine in the past because gcc < 4.7 included unistd.h from standard C++ library headers. However, this is no longer the case with gcc 4.7 and we need to explicitly include unistd.h.
Comment 1 Kalev Lember 2012-03-01 09:40:54 PST
Created attachment 129717 [details]
Patch
Comment 2 WebKit Review Bot 2012-03-01 22:26:24 PST
Comment on attachment 129717 [details]
Patch

Clearing flags on attachment: 129717

Committed r109509: <http://trac.webkit.org/changeset/109509>
Comment 3 WebKit Review Bot 2012-03-01 22:26:27 PST
All reviewed patches have been landed.  Closing bug.