perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philippe M . Chiasson" <go...@cpan.org>
Subject Re: [Patch] Build system
Date Wed, 05 Sep 2001 16:57:43 GMT
On Wed, Sep 05, 2001 at 09:48:26AM -0700, Doug MacEachern wrote:
> On Sat, 1 Sep 2001, Philippe M . Chiasson wrote:
> 
> > The following patch makes sure that MP_APXS is an absolute path.  If you used
> > MP_APXS=../deps/httpd/bin/apxs it would make a bunch of things fail ;-)
> 
> thanks, could you send an updated patch based on barries comments?

Sure, also, I wonder what's the File::Spec clean way of canonical'izing a path
name (i.e. removing all '.' , '..' and the same), because apparently abs2rel
just does something like :

return $path if $path =~ m|^/|;
return cwd . '/' . $path;

so as far as File::Spec is concerned, this is an absolute path: /../foo/bar///../../../../foo/etc/../.
I know it's technically true, but it's pretty ugly.  canonpath() just removes
duplicates '/' and '.' 

Anyways, it's not that important, just annoying me.

> > And there was also a very small patch to Apache-Test that didn't include the
> > right package.
> 
> i've applied this.
>  
> > Note: Right now, with latest httpd & perl, I get a segfault in Perl_re_dup
> 
> i've not updated perl-current since @11577, but plan to get caught up
> there this week.
> 
> 

-- 
+----------------------------------------------------+
| Philippe M. Chiasson  <gozer@cpan.org>             |
+----------------------------------------------------+
| F9BF E0C2 480E 7680 1AE5  3631 CB32 A107 88C3 A5A5 |
+----------------------------------------------------+
gethostent not implemented : Your C library apparently
doesn't implement gethostent(), probably because if it did,
it'd feel morally obligated to return every hostname on the
Internet. 
        -- perldiag(1)

perl -e '$$=\${gozer};{$_=unpack(P26,pack(L,$$));/^Just Another Perl Hacker!\n$/&&print||$$++&&redo}'

Mime
View raw message