bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] New native function resolution has problems


From: Juergen Sauermann
Subject: Re: [Bug-apl] New native function resolution has problems
Date: Thu, 10 Apr 2014 16:53:19 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130330 Thunderbird/17.0.5

Hi Elias,

both is on purpose. Absolute filenames are fallbacks if the other mechanisms
fail and in that case the entire path must be correct.

The return value of 0 is how ⎕FX is defined by IBM APL2 (the failed line number
which is the header in this case). The ISO standard is a bit different.

/// Jürgen


On 04/10/2014 07:29 AM, Elias Mårtenson wrote:
When specifying a path that contains slashes but no file extension, the quad-FX function does not attempt to append the library suffix. This results in the following error:

      '/home/emartenson/prog/gnu-apl-mode/native/libemacs' ⎕FX 'E'
0
      )more
Could not find shared library '/home/emartenson/prog/gnu-apl-mode/native/libemacs'.
The following directories and file names were tried (without success):
    /home/emartenson/prog/gnu-apl-mode/native/libemacs

Another question: Does it really make sense to display a zero when an error occurs? Wouldn't a DOMAIN ERROR be better?

Regards,
Elias


reply via email to

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