Re: [fpc-pascal] Missing GetLastOSError() in DOS and MacOS

2010-06-10 Thread Jonas Maebe
On 10 Jun 2010, at 12:13, Bihar Anwar wrote: Thanks Jonas, your clarification strengthens my thought before. I saw other several defects in MacOS SysUtils, just mention the implementation of FindNext: Result:=DoFind (Rslt); // whereas DoFind() is declared as a procedure How can that

Re: [fpc-pascal] Missing GetLastOSError() in DOS and MacOS

2010-06-10 Thread Bihar Anwar
June 10, 2010 3:03:45 PM, Jonas Maebe wrote: >"MacOS" in the RTL stands for "System 7.5 - Mac OS 9.2.x", i.e., the "classic >Mac OS" which preceded Mac OS X. I don't think the sysutils unit was ever completely ported for that platform. Thanks Jonas, your clarification strengthens my thought

Re: [fpc-pascal] Missing GetLastOSError() in DOS and MacOS

2010-06-10 Thread Jonas Maebe
On 10 Jun 2010, at 06:29, Bihar Anwar wrote: Also, I notice that SysUtils.GetLastOSError() in MacOS is defined but it's implementation is empty. I've no knowledge on MacOS, so my question is... Is this by designed? "MacOS" in the RTL stands for "System 7.5 - Mac OS 9.2.x", i.e., the "cla

Re: [fpc-pascal] Missing GetLastOSError() in DOS and MacOS

2010-06-09 Thread Bihar Anwar
On June 10, 2010 1:00:27 PM, Tomas Hajny wrote: >... or whether it should return the last OS error for what OS function invoked recently (also directly without using RTL). Yes, I think this one is agreed with other similar RTL functions. __

Re: [fpc-pascal] Missing GetLastOSError() in DOS and MacOS

2010-06-09 Thread Tomas Hajny
On Thu, June 10, 2010 06:29, Bihar Anwar wrote: > I don't see SysUtils.GetLastOSError() in DOS. Looking at a glance, I think > it will be a trivial effort by just returning Dos.DosError variable > content. Thanks for the notification, I'll have a look at it (creating a bug report to make sure it i