Front page | perl.perl5.porters |
Postings from August 2001
Re: HPUX 10.20
Thread Previous
|
Thread Next
From:
Nicholas Clark
Date:
August 31, 2001 09:23
Subject:
Re: HPUX 10.20
Message ID:
20010831172220.H4950@plum.flirble.org
On Fri, Aug 31, 2001 at 06:05:58PM +0200, H . Merijn Brand wrote:
> On Fri 31 Aug 2001 09:34, Arthur Bergman <arthur@contiller.se> wrote:
> >
> > I think the problem is that we should not do
> >
> > SAVEI32 at regcomp.c:4738
> >
> > PL_reg_sv_utf8 is a bool indicating wheter or not there is UTF8.
> >
> > It apperently bus errors doing a SAVEI32 on HP-UX 10.20.
> >
> > One idea might just be to try
> >
> > SAVEI8
> > SAVEI16
> > SAVEIINT
> > SAVEIV
> >
> > or whatever bool is on HP-UX 10.20 ?
>
> I don't know how to check what perl has taken to represent bool, but just
> tried SAVEI8:
Seems reasonable. Try this
#include "EXTERN.h"
#include "perl.h"
#include "config.h"
int main () {
char buffer[256];
int len = sprintf (buffer, "%d '" STRINGIFY(bool) "'\n", sizeof(bool));
write (1, buffer, len);
return 0;
}
I get
1 'char'
on x86 Debian.
Nicholas Clark
Thread Previous
|
Thread Next