bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] ⎕FIO[1] behavior


From: David B. Lamkins
Subject: Re: [Bug-apl] ⎕FIO[1] behavior
Date: Sat, 24 Dec 2016 17:13:43 -0800
User-agent: Mutt/1.7.1 (2016-10-04)

Thank you.

On Sat, Dec 24, 2016 at 05:25:54PM +0100, Juergen Sauermann wrote:
> Hi David,
> 
> thanks, fixed in SVN 827.
> 
> I believe the reason was that some ⎕FIO functions return valid positive
> integers but can also
> fail (with an also positive errno). To distinguish between errrors and integer
> results I made all errors
> negative.
> 
> I have now adapted ⎕FIO[2] to accept both positive and negative errno values.
> 
> /// Jürgen
> 
> 
> On 12/23/2016 10:05 PM, David B. Lamkins wrote:
> 
>     I think that the behavior of ⎕fio[1] changed at some point. This is 
> supposed to return the value of errno (a positive value), but now returns 
> -errno, causing ⎕fio[2] ⎕fio[1] ⍬ to always return "Unknown error ...".
> 
> 
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]