autoconf
[Top][All Lists]
Advanced

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

Re: autom4te and perl 5.8.0


From: Alexandre Duret-Lutz
Subject: Re: autom4te and perl 5.8.0
Date: Wed, 19 Jun 2002 10:28:23 +0200
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i386-debian-linux-gnu)

| I made a bit of a fool of myself on automake list.. I wonder if any of you
| have perl 5.8.0rc1 installed, and our recent autoconf to try out:
| 
| % cat file.pl
| BEGIN
| { 
|   my $datadir = ($ENV{'autom4te_perllibdir'} || '/usr/local/share/autoconf');
|   unshift @INC, "$datadir";
| }
| use Autom4te::General;
| use Autom4te::Struct;
| use Autom4te::XFile;
| use Carp;
| use strict;
| 
| my $output=$ARGV[0];
| my $mode="0666";
| 
| my $out = new Autom4te::XFile;
| $out->open($output, O_CREAT | O_WRONLY | O_TRUNC, oct ($mode));
| % perl file.pl that
| % perl file.pl /dev/null
| Segmentation fault (core dumped)

To make sure that it's not the fault of Autoconf, can you try
this reduced test case?

use IO::File;
my $out = new IO::File;
$out->open("/dev/null", O_CREAT | O_WRONLY | O_TRUNC, 0666);

[...]

-- 
Alexandre Duret-Lutz




reply via email to

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