Hi Tristan, it seems i found and solved a bug: GRT's "File_Close" procedure doesn't check if the file is stdout or stdin before closing it. testbench that show the bug and patch are in attachement
on 2008-12-18 19:34
on 2008-12-18 21:30
On Thu, Dec 18, 2008 at 07:32:42PM +0100, Sylvere Teissier wrote: > Hi Tristan, > it seems i found and solved a bug: > GRT's "File_Close" procedure doesn't check if the file is stdout or > stdin before closing it. > > testbench that show the bug and patch are in attachement I think you are not allowed to open STD_INPUT or STD_OUTPUT except in std.textio. That's being said, it is currently allowed by GHDL and I don't think we should prevent the user from doing so. I will add your patch. Thanks, Tristan.