1. euphoria 4.1 edx.ex error line 649
- Posted by K_D_R Jun 24, 2014
- 1202 views
I have reported this error several times before. I believe it is still in the current edx.ex code:
-- -- For some reason, beginning in the ed.ex distributed with euphoria 4.0, -- the following simple error was introduced in the function clean(sequence line). -- If only lines of length > 2 are checked, edx.ex will not remove -- the CR from blank DOS file lines ('\n\r' ) which are of length 2 -- when edx.ex loads those lines under UNIX. -- -- ifdef UNIX then -- replace this line (#649): if length(line) > 2 and line[$-1] = '\r' then -- with: if length(line) > 1 and line[$-1] = '\r' then -- DOS file: remove CR cr_removed = TRUE line = line[1..$-2] & '\n' end if end ifdef <eucode/>