Friday, 30 May 2014

[gccsdk] [Bug 253] GCC 4.7.4 Rel 1 Dev 2014-05-20: _kernel_osbget() failure

http://www.riscos.info/bugzilla3/show_bug.cgi?id=253

--- Comment #2 from Duncan Moore <duncan.moore@gmx.com> 2014-05-30 07:20:23 PDT ---
(In reply to comment #1)
> If you leave out the system calls and make sure there is already an upfront
> 'input_file' file, I can not reproduce your problem. Can you confirm this ?

No, I get the same problem with an upfront 'input_file'. I only used the system
calls to simplify the test case (i.e. everything is in the C source).

> The issue I see is that "system("Echo ABCDE { > input_file }");" simply leaves
> the input_file open (there is an outstanding RISC OS file handle) preventing
> you from reopening that file (using FileCore FS) or actually reading something
> from that file (used RISC OS 6 for this).

I don't get this issue with RISC OS 4.39. The system call does not leave
'input_file' open. Afterall, when I compile with -mlibscl, the test case gives
the expected output (see my original post).

--
Configure bugmail: http://www.riscos.info/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK

No comments:

Post a Comment