Attention Shawn Pringle edx.ex error line 650

new topic     » topic index » view thread      » older message » newer message

Previously reported here: http://openeuphoria.org/forum/m/124706.wc

The version of edx.ex dated Sat Feb 07 12:18:45 2015 -0300 found here: http://scm.openeuphoria.org/hg/euphoria/file/a130176706bc/bin/edx.ex
Line 650 still has the same error, previously reported.

--  
-- 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 DOS files with blank lines under UNIX.  
--   
--  
ifdef UNIX  then                                                                                          
              -- replace this line (#650), in the function clean():   
              -- 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/> 
new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu