develooper Front page | perl.perl5.porters | Postings from April 2003

Re: Change 19150: LD_PRELOAD hack, still badly flawed / a solution

Thread Next
From:
Abe Timmerman
Date:
April 6, 2003 08:46
Subject:
Re: Change 19150: LD_PRELOAD hack, still badly flawed / a solution
Message ID:
20030406154652.5868.qmail@onion.perl.org
Op een frisse lentedag (Sunday 06 April 2003 00:30), schreef Rafael 
Garcia-Suarez(rgarciasuarez@free.fr):

> Change 19150 by rgs@rgs-home on 2003/04/05 21:10:00
> 
> Subject: LD_PRELOAD hack, still badly flawed / a solution

[..]

> ==== //depot/perl/Makefile.SH#265 (text) ====
> Index: perl/Makefile.SH
> --- perl/Makefile.SH#264~19120~       Tue Apr  1 08:32:03 2003
> +++ perl/Makefile.SH  Sat Apr  5 13:10:00 2003
> @@ -96,26 +96,32 @@
>  ldlibpth=`echo $ldlibpth | sed 's/:*$//'`
>  ;;
>          esac
> -     ;;
> -*)   pldlflags=''
> -     static_target='static'
> -     ;;
> -esac
>  
> -case "$ldlibpth" in
> -# Protect any spaces
> -*" "*) ldlibpth=`echo $ldlibpth|sed 's/ /\\\\ /g'` ;;
> -esac
> +     case "$ldlibpth" in
> +     # Protect any spaces
> +     *" "*) ldlibpth=`echo $ldlibpth|sed 's/ /\\\\ /g'` ;;
> +     esac

Both Cygwin and IRIX-6.2 don't seem to like this:

        ./Makefile.SH: 100: Syntax error: "|" unexpected 

Good luck,

Abe
-- 
Traditionally, we accept US or UK spelling everywhere. Life's too short
to ask British English speakers to learn American, or vice versa.
                                 -- Hugo van der Sanden on p5p @ 2002-05-27
Name "main::PHRASE_SEP" used only once: possible typo at 
/home/abeltje/signatures/sigintl line 8.


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About