neko - 2008-02-07

I found bug (?) ir regina 3.4 (win32) running external commands. Part of input for command lost.

Sample:

test.rexx
------------
/* --- */
ADDRESS SYSTEM regina stdintest.rexx with INPUT STREAM "testfile.txt"

i = 0
DO UNTIL CHARS("testfile.txt") = 0
i = i + 1 ; teststem.i = LINEIN("testfile.txt")
end
teststem.0 = i
ADDRESS SYSTEM regina stdintest.rexx WITH INPUT STEM teststem.

------------

stdintest.rexx
------------
/* --- */
DO i=1 UNTIL LINES()==0
  PARSE LINEIN line
  IF line\="" THEN SAY line
END
-------------

Output from both "addess system" calls shows only first ~4k of input text. input after first ~4k is lost (not sent to stdintest.rexx ?)  

OS used: Windows XP SP2
This problem is new in regina 3.4 - there is no such problems in ver 3.3