Re: regexp-split for Guile

2012-10-06 Thread Daniel Hartwig
On 19 September 2012 03:59, Chris K. Jester-Young wrote: > (define* (regexp-split pat str #:optional (limit 0)) > […] > (reverse (if (zero? limit) > (drop-while string-null? final) > final > Please simplify this limit arg, removing the maybe-drop-empty-st

Re: [PATCH] Don't augment LD_LIBRARY_PATH (was Re: [PATCH] do not augment environment)

2012-10-06 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: > Mark H Weaver skribis: > >> As I understand it, the reason given for why we cannot use that approach >> is that 'libtool --mode=execute -dlopen' would not work properly, > > Exactly. > >> but why do we have to do it that way? > > It is a fact that some proj

Re: [PATCH] Don't augment LD_LIBRARY_PATH (was Re: [PATCH] do not augment environment)

2012-10-06 Thread Ludovic Courtès
Hi, Mark H Weaver skribis: > l...@gnu.org (Ludovic Courtès) writes: >> Mark H Weaver skribis: >> >>> Following Bruce's suggestion, it causes 'sysdep_dynl_link' to manually >>> search additional directories if 'lt_dlopenext' fails to find the >>> library in the default paths. >> >> Thus, that do

Re: [PATCH] Don't augment LD_LIBRARY_PATH (was Re: [PATCH] do not augment environment)

2012-10-06 Thread Mark H Weaver
I wrote: > I've read the message referenced above several times, but I've failed to > understand why we cannot use 'lt_dladdsearchdir' to augment the path, as > shown in the first code excerpt of that message: > > env = getenv ("GUILE_SYSTEM_EXTENSIONS_PATH"); > > [...] > > if (env) > lt_

Re: Guile 2.0.6 - some tests fail

2012-10-06 Thread Mark H Weaver
Jan Synacek writes: > when I run 'make check', some guile tests fail and I'm not sure why [1, 2]. > > [1] http://jsynacek.fedorapeople.org/guile/check-guile.log > [2] http://jsynacek.fedorapeople.org/guile/check-guile-fails.log (only FAILs) Quoting from [2] (but rearranging the order somewhat):