| Summary: | [SOUP] Use st_birthtime on FreeBSD and NetBSD instead of setting xattr | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Ting-Wei Lan <lantw44> | ||||||||
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | ajacoutot, benjamin, cgarcia, cmarcelo, commit-queue, darin, koivisto | ||||||||
| Priority: | P2 | ||||||||||
| Version: | 528+ (Nightly build) | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Ting-Wei Lan
2015-05-13 23:15:53 PDT
Created attachment 253099 [details]
Patch
Comment on attachment 253099 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=253099&action=review > Source/WebKit2/NetworkProcess/cache/NetworkCacheFileSystemPosix.h:80 > -#if PLATFORM(COCOA) > +#if PLATFORM(COCOA) || (USE(SOUP) && (OS(DARWIN) || OS(FREEBSD) || OS(NETBSD))) Maybe we could simplify this by defining a macro for this in WTF/wtf/Platform.h, something like HAVE_STAT_BIRTHTIME or something similar. Created attachment 253272 [details]
Patch
Comment on attachment 253272 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=253272&action=review > Source/WebKit2/NetworkProcess/cache/NetworkCacheFileSystemPosix.h:80 > -#if PLATFORM(COCOA) > +#if PLATFORM(COCOA) || (USE(SOUP) && HAVE(STAT_BIRTHTIME)) I think we could use just #if HAVE(STAT_BIRTHTIME) Comment on attachment 253272 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=253272&action=review >> Source/WebKit2/NetworkProcess/cache/NetworkCacheFileSystemPosix.h:80 >> +#if PLATFORM(COCOA) || (USE(SOUP) && HAVE(STAT_BIRTHTIME)) > > I think we could use just #if HAVE(STAT_BIRTHTIME) Yes, that’s right. Created attachment 253384 [details]
Patch
Comment on attachment 253384 [details]
Patch
Thanks!
Comment on attachment 253384 [details] Patch Clearing flags on attachment: 253384 Committed r184567: <http://trac.webkit.org/changeset/184567> All reviewed patches have been landed. Closing bug. |