[lazarus] Pipe problem fix.

Marco van de Voort marcov at stack.nl
Sun Nov 9 08:58:21 EST 2003



For 1.9 users, a possible temporary workaround for the piping problem.

The earlier diagnosis is correct. In the RTL startup code, there is a call
to find the timezone info fails, errno is poluted with a value. This can be
fixed by adding

Uses BaseUnix;

fpseterrno(0);

to any mainprogram (including lazarus), and the problem should be masked, at least 
the first time. (I have linux on a remote machine, couldn't test lazarus)

I'm thinking about a more fundamental fix.

Let me know if it works for you.






More information about the Lazarus mailing list