|Anonymous | Login | Signup for a new account||2015-10-09 23:34 EDT|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000150||TADS 3||Compiler||public||2012-06-17 21:33||2012-08-29 00:06|
|Assigned To||Michael Roberts|
|Summary||0000150: t3make -Os generates incomplete list of strings|
|Description||The t3make -Os option generates an incomplete list of strings, rather than all strings found in all compiled files.|
It appears to output only the strings found in _main.t, the first source file in the first included library (system.tl).
|Steps To Reproduce||1) Add `-Os strings.txt` to Makefile.t3m|
2) Run `t3make -clean` to remove compiled files.
3) Run `t3make` to recompile.
4) Output is attached.
|Tags||No tags attached.|
|Fixed In Version||3.1.1|
|Attached Files||strings.txt [^] (1,263 bytes) 2012-06-17 21:33 [Show Content]|
Michael Roberts (administrator)
|Fixed for the next update. (I also happened to notice while investigating that the underlying problem also caused internal input file stream corruptions when the build consisted of a large number of modules, which manifested as spurious compiler errors. The underlying bug is that the compiler closed the -Os file handle upon reaching the end of each source module, but then continued to use the now invalid handle. So strings from subsequent files were never added to the -Os file, since its handle was no longer available. The possible stream corruption happened because there was a chance that the closed -OS handle could be reassigned to a subsequent source file; but since the -Os writer still thought it had dibs on the handle, it would keep writing to it, which sometimes corrupted the stream buffer of the source file that thought *it* had dibs. Fortunately the sources were opened in read-only mode, so the actual file contents on disk weren't overwritten.)|
|2012-06-17 21:33||bcressey||New Issue|
|2012-06-17 21:33||bcressey||File Added: strings.txt|
|2012-06-19 15:02||Michael Roberts||Fixed In Version||=> 3.1.1|
|2012-06-19 15:02||Michael Roberts||Note Added: 0000246|
|2012-06-19 15:02||Michael Roberts||Status||new => resolved|
|2012-06-19 15:02||Michael Roberts||Resolution||open => fixed|
|2012-08-29 00:03||Michael Roberts||Status||resolved => assigned|
|2012-08-29 00:03||Michael Roberts||Assigned To||=> Michael Roberts|
|2012-08-29 00:06||Michael Roberts||Status||assigned => resolved|
|Copyright © 2000 - 2015 MantisBT Team|