Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

FPC 3.0.4 rc1 release candidate (Announce)

posted by Rugxulo(R) Homepage, Usono, 28.11.2017, 14:00

> > A release candidate for 3.0.4 was uploaded last week.
> Seems to work same as before.
> Also, ISO mode is still having some output truncation when redirecting to
> file. (I blindly assume this has something to do with lack of closing
> preassigned program external files before exit. But I have no idea, I don't
> even know where to look.)

BTW, 3.0.4 "final" has apparently been released today. I'm assuming you'll want a separate thread announcing that. But ....

This "bug" I mentioned is in both 3.0.2 and 3.0.4, so it's not a regression. I can't easily replicate it (in made-up tiny source example) except with my "b" (b.pas) Befunge-93 interpreter (which compiles as-is with -Mtp or -Miso). Dumb example, but it does exhibit this problem.

Just to clarify, output is fine ... except when redirected to file. Then it's either truncated or not shown. It doesn't have any problem when compiled with {$mode tp}.

I did randomly get the idea to add a "flush(output);" at the end of my source, and that seems to workaround / fix the problem.

I (again) tried checking RTLSRC.ZIP for clues. The best guess I can come up with is that SYSTEM.INC's InternalExit isn't calling SysFlushStdIO when in ISO mode.

I almost don't think this is worth an official bug report. (I can't even remember how to file a FPC bug, only did so like once. Here? Bah, I forget my login. Username is case sensitive, ugh. Okay, lemme check my email to reset my dumb password.)


Complete thread:

Back to the forum
Board view  Mix view
15297 Postings in 1378 Threads, 254 registered users, 11 users online (0 registered, 11 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum