]LIB still ignores symlinks. Patch attached.
On Fri, Jun 27, 2014 at 7:43 AM, Juergen Sauermann <
[email protected]> wrote:
> Hi David,
>
> thanks, fixed in SVN 343.
>
> /// Jürgen
>
>
>
> On 06/26/2014 06:55 PM, David Lamkins wrote:
>
> Also: ]LIB does not see symlinks.
>
>
> On Thu, Jun 26, 2014 at 9:35 AM, David Lamkins <[email protected]> wrote:
>
>> )HELP says
>>
>> ...
>> ]LIB [lib or path]
>> ...
>>
>> but ]LIB accepts only a library number.
>>
>>
>> From: Juergen Sauermann <[email protected]>
>>
>>> To: David Lamkins <[email protected]>
>>> Cc: "[email protected]" <[email protected]>
>>> Date: Thu, 26 Jun 2014 15:36:13 +0200
>>> Subject: Re: [Bug-apl] Notes on )LIB
>>>
>>> Hi,
>>>
>>> thanks, done in SVN 341.
>>>
>>> /// Jürgen
>>>
>>>
>> --
>> "The secret to creativity is knowing how to hide your sources."
>> Albert Einstein
>>
>>
>> http://soundcloud.com/davidlamkins
>> http://reverbnation.com/lamkins
>> http://reverbnation.com/lcw
>> http://lamkins-guitar.com/
>> http://lamkins.net/
>> http://successful-lisp.com/
>>
>
>
>
> --
> "The secret to creativity is knowing how to hide your sources."
> Albert Einstein
>
>
> http://soundcloud.com/davidlamkins
> http://reverbnation.com/lamkins
> http://reverbnation.com/lcw
> http://lamkins-guitar.com/
> http://lamkins.net/
> http://successful-lisp.com/
>
>
>
--
"The secret to creativity is knowing how to hide your sources."
Albert Einstein
http://soundcloud.com/davidlamkins
http://reverbnation.com/lamkins
http://reverbnation.com/lcw
http://lamkins-guitar.com/
http://lamkins.net/
http://successful-lisp.com/
Index: src/Command.cc
===================================================================
--- src/Command.cc (revision 345)
+++ src/Command.cc (working copy)
@@ -862,7 +862,8 @@
const int dlen = strlen(entry->d_name);
#ifdef _DIRENT_HAVE_D_TYPE
- if (entry->d_type != DT_REG) continue; // not a regular file
+ if (entry->d_type != DT_REG && // not a regular file
+ entry->d_type != DT_LNK) continue; // ... or a symlink
#else
if (dlen == 1 && entry->d_name[0] == '.') continue;
if (dlen == 2 && entry->d_name[0] == '.'