http://rpg.hamsterrepublic.com/bugzilla/show_bug.cgi?id=852
Bug #: 852
Summary: hspeak crashes when compiling a file with dos-style
line endings
Classification: Unclassified
Product: OHRRPGCE
Version: 20110506 Zenzizenzic
Platform: PC
OS/Version: All
Status: RESOLVED
Severity: normal
Priority: P3
Component: Hspeak compiler
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Ralph Versteegen <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |[email protected]
Resolution| |DUPLICATE
Hspeak crashes when the file it is compiling (or a file included into the one
you are compiling) has dos-style line endings.
In the compiled hspeak executable the crash will be a segfault. When run in the
euphoria interpreter, the crash is:
./hspeak.exw:1015 in function lex_line()
subscript value 128 is out of bounds, reading from a sequence of length 127
... called from ./hspeak.exw:1289 in procedure read_commands()
... called from ./hspeak.exw:1320 in procedure load_and_lex()
... called from ./hspeak.exw:3586
--> See ex.err
This seems to happen for any file with dos line endings. Converting to unix
line endings works around the problem.
--- Comment #1 from Ralph Versteegen <[email protected]> 2012-06-13 02:41:27
PDT ---
Duplicate, already fixed
*** This bug has been marked as a duplicate of bug 853 ***
--
Configure bugmail:
http://rpg.hamsterrepublic.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org