WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
9501
Windows build fails with link error CharsetTable not defined
https://bugs.webkit.org/show_bug.cgi?id=9501
Summary
Windows build fails with link error CharsetTable not defined
Ben Goodger
Reported
2006-06-18 23:58:00 PDT
Windows builds fail with a link error: CharsetTable is not defined. WebCore/DerivedSources/CharsetData.cpp exists, but is empty. In the build log there is a report that a script failed whilst running. It seems that the script that generates this file - make-charset-table.pl - is having difficulty. make-charset-table.pl does not properly normalize alias names in subroutine process_iana_charsets. character-sets.txt has some Alias: lines that have escape characters on the end that are not properly chomped, meaning that in more than one case the statement: next if $new_alias eq "None"; does not work. This needs to be moved after the normalization steps and adjusted to: next if $new_alias eq "none";
Attachments
patch
(1.81 KB, patch)
2006-06-19 00:02 PDT
,
Ben Goodger
darin
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Ben Goodger
Comment 1
2006-06-19 00:02:37 PDT
Created
attachment 8918
[details]
patch move test for equality to "none" to after normalization steps. ChangeLog entry: * platform/make-charset-table.pl: (process_iana_charsets): Move test for equality to alias "None" until after normalization steps to ensure escape characters in the input data don't interfere with processing. Convert nearby tabs to 4 spaces in this function.
Darin Adler
Comment 2
2006-06-19 11:31:42 PDT
Comment on
attachment 8918
[details]
patch This looks fine -- but I'm working on a patch that eliminates the character set table entirely!
Darin Adler
Comment 3
2006-06-19 13:26:51 PDT
Comment on
attachment 8918
[details]
patch Seems fine to land this, but even better to remove this script entirely! r=me
David Kilzer (:ddkilzer)
Comment 4
2006-06-19 20:15:03 PDT
Committed revision 14919.
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