|
From: | Juergen Sauermann |
Subject: | Re: [Bug-apl] ⎕FIO[1] behavior |
Date: | Sat, 24 Dec 2016 17:25:54 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
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 ...". |
[Prev in Thread] | Current Thread | [Next in Thread] |