On 28 Jun 06, at 23:41, Marc Santhoff wrote:
> Am Mittwoch, den 28.06.2006, 12:17 -0500 schrieb Jeff Pohlmeyer:
 .
 .
> What I don't understand is why the var "errno" is not set or it's value
> is destroyed before Findfirst/-Next return. Does this value has to be
> set explicitely by using fpseterrno()? It returns always -1 in case of
> permission denied.

My opinion is that SysUtils.FindFirst should 
return 5 in case of an error; "errno" is not 
portable, whereas SysUtils is supposed to support 
portable code.

Tomas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to