> On Thu, 6 Nov 2003 23:31:27 +0100 (CET), you wrote:
> 
> >> * Minor difference with Delphi units: 
> >>     * RaiseLastOSError is not defined in SysUtils.
> >
> >What is it supposed to do, specifically on non windows, or should it
> >be windows only? 
> 
> I had a look at Kylix's RaiseLastOSError function. It uses
> GetLastError which calls '__errno_location' from 'libc.so.6'. On
> Windows this uses the GetLastError WinAPI call.
> 
> This is Delphi's implementation for RaiseLastOSError:

[/me pinches his eyes. Doesn't want to see Delphi code out of cleanroom reasons]

The __errno_location (threadsafe errno) is a bit of a problem for various reasons.

But anyway, essentially it takes the OS error, and raises some exception.
 


_______________________________________________
fpc-devel maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to