Changeset 252991 in webkit
- Timestamp:
- Dec 2, 2019 10:32:49 AM (4 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r252964 r252991 1 2019-12-02 Daniel Bates <dabates@apple.com> 2 3 REGRESSION (r195080): prepare-ChangeLog does not emit function list for file paths that contain a space 4 https://bugs.webkit.org/show_bug.cgi?id=204236 5 6 Reviewed by Brian Burg. 7 8 Revert the filename escape logic added in <http://trac.webkit.org/changeset/195080> as it broke 9 function list generation in file paths that contain space characters. Function list generation 10 broke because the escaping was performed after line range dictionaries were built up keyed off 11 the unescaped file path. Subsequent code would try to query these dictionaries to build up the 12 changed function list using the escaped file path and never a match. The escaping logic was not 13 necessary to fix the originally reported bug. All that was needed was to use the three-argument 14 open() call that took a mode. So, remove the escape logic. 15 16 * Scripts/prepare-ChangeLog: 17 (actuallyGenerateFunctionLists): 18 1 19 2019-11-30 Ross Kirsling <ross.kirsling@sony.com> 2 20 -
trunk/Tools/Scripts/prepare-ChangeLog
r251476 r252991 346 346 my %filesToExamine = map { $_ => 1 } (keys(%line_ranges_before_changed), keys(%line_ranges_after_changed)); 347 347 foreach my $file (keys %filesToExamine) { 348 # Escape whitespace in filenames rather than adding quotes, since many functions can open files349 # and other code doesn't expect to see a trailing " character when sniffing a file extension.350 chomp $file;351 $file =~ s/ /\\ /g;352 353 348 my %saw_function; 354 349
Note: See TracChangeset
for help on using the changeset viewer.