bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] LibPaths::compute_bin_path typo


From: Juergen Sauermann
Subject: Re: [Bug-apl] LibPaths::compute_bin_path typo
Date: Wed, 09 Apr 2014 19:22:50 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130330 Thunderbird/17.0.5

Hi Masayuki,

thanks, found one more of that kind related to our recently introduced DynArray macro.
Should be fixed in SVN 196.

/// Jürgen


On 04/09/2014 06:16 PM, Masayuki Onjo wrote:
I found typo of LibPaths.cc's compute_bin_path.
There are sizeof(plen + alen + 8) instead of sizeof(filename).
It cause "No binary found for AP..." error.

how to reproduce:

[before patch]
lambda% OLD_PATH=$PATH
lambda% which apl
/home/onjo/arch/x86_64/apl/bin/apl
lambda% PATH=/home/onjo/arch/x86_64/apl/bin
lambda% apl

                     ______ _   __ __  __    ___     ____   __
                    / ____// | / // / / /   /   |   / __ \ / /
                   / / __ /  |/ // / / /   / /| |  / /_/ // /
                  / /_/ // /|  // /_/ /   / ___ | / ____// /___
                  \____//_/ |_/ \____/   /_/  |_|/_/    /_____/

                      Welcome to GNU APL version 1.3 / 6214

                 Copyright (C) 2008-2014  Dr. J端rgen Sauermann
                        Banner by FIGlet: www.figlet.org

                 This program comes with ABSOLUTELY NO WARRANTY;
                           for details run: apl --gpl.

      This program is free software, and you are welcome to redistribute it
          according to the GNU Public License (GPL) version 3 or later.

No binary found for AP 1001 (interpreter path = .)
*** Failed to start APnnn: processor 1001 will not accept incoming
shared variable offers. Expect surprises.
       )OFF

Goodbye.

[after patch]
lambda% PATH=/home/onjo/arch/x86_64/apl/bin
lambda% apl

                     ______ _   __ __  __    ___     ____   __
                    / ____// | / // / / /   /   |   / __ \ / /
                   / / __ /  |/ // / / /   / /| |  / /_/ // /
                  / /_/ // /|  // /_/ /   / ___ | / ____// /___
                  \____//_/ |_/ \____/   /_/  |_|/_/    /_____/

                      Welcome to GNU APL version 1.3 / 6214

                 Copyright (C) 2008-2014  Dr. J端rgen Sauermann
                        Banner by FIGlet: www.figlet.org

                 This program comes with ABSOLUTELY NO WARRANTY;
                           for details run: apl --gpl.

      This program is free software, and you are welcome to redistribute it
          according to the GNU Public License (GPL) version 3 or later.


       )OFF

Goodbye.





reply via email to

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