Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

New bug in FreePascal 2.6.0 (Developers)

posted by Laaca Homepage, Czech republic, 18.03.2012, 10:34

I had no reason to try FPC 2.6.0 earlier because I am happy with 2.4.2 and with 1.0.10.
However today I look at it and was disappointed.
The first visible problem is in IDE. You can compile any program but the compiled EXE is not run. After some tracking I discovered that problem is in the DosShell function in all FreeVision based applications and it is because of bug in Procedure Exec.
Procedure Exec is in DOS.PP file and these is some bug in procedure EXEC_Ansistring.
I have not tracked it more preciously however not all parameters are properly passed from pascal into DOS environment.
There even sometimes raises a general protection fault when calling Exec with empty command line - "Exec(GetEnv(COMSPEC),'')"

---
DOS-u-akbar!

 

Complete thread:

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