| Summary: | BPLATFORM(IOS) always evaluates to false | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Daniel Bates <dbates> | ||||
| Component: | New Bugs | Assignee: | Daniel Bates <dbates> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | barraclough, ggaren, kling, rniwa, sam | ||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 135848 | ||||||
| Attachments: |
|
||||||
|
Description
Daniel Bates
2014-08-12 10:10:16 PDT
Created attachment 236452 [details]
Patch
The patch for bug #131658 defined BPLATFORM(X) as (defined BPLATFORM_##PLATFORM && PLATFORM_##PLATFORM). Notice that the second conjunct is PLATFORM_##PLATFORM. But it should be BPLATFORM_##PLATFORM. Otherwise BPLATFORM(X) will always evaluate to false for any X since PLATFORM_X is undefined for any X and an undefined macro value evaluates to false in a boolean context. Comment on attachment 236452 [details]
Patch
r=me
For completeness, with the proposed change iOS will use 16kB pages instead of 4kb pages. Committed r172510: <http://trac.webkit.org/changeset/172510> |