From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Sun, 23 Feb 2003 04:53:57 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 53 ************************************************** Saturday 22 February 2003 Number 53 ************************************************** Subjects for today 1 Re: Building NCURSES using Posix/2 : John Poltorak 2 Re: Building NCURSES using Posix/2 : Stefan Neis **= Email 1 ==========================** Date: Sun, 23 Feb 2003 15:41:46 +0000 From: John Poltorak Subject: Re: Building NCURSES using Posix/2 On Sat, Feb 22, 2003 at 12:15:35AM +0100, Stefan Neis wrote: > On Fri, 21 Feb 2003, John Poltorak wrote: > Wasn't there a OS/2 specific fix with respect to malloc/Perl_malloc? > Anyone knows details about the changed file(s)? I assume it fails to > handle Posix/2 correctly. I think the changes were done within makedef.pl. IIRC they were made between RC3 and the actual release of v5.8.0. I'll see if there is a copy of RC3 that I can locate somewhere on my network... Meanwhile, looking through my list archives I came across this patch which may be related... diff -Naur RC3/makedef.pl Patched/makedef.pl --- RC3/makedef.pl Thu Jul 11 16:32:10 2002 +++ Patched/makedef.pl Wed Jul 17 15:38:46 2002 at at -1315,8 +1315,6 at at sub output_symbol { my $symbol = shift; - $symbol = $exportperlmalloc{$symbol} - if $exportperlmalloc and exists $exportperlmalloc{$symbol}; if ($PLATFORM =~ /^win(?:32|ce)$/) { $symbol = "_$symbol" if $CCTYPE eq 'BORLAND'; print "\t$symbol\n"; at at -1345,6 +1343,10 at at elsif ($PLATFORM eq 'os2') { printf qq( %-31s \ at %s\n), qq("$symbol"), $ordinal{$symbol} || ++$sym_ord; + if (exists $exportperlmalloc{$symbol}) { + printf qq( %-31s \ at %s\n), + qq("$exportperlmalloc{$symbol}" = "$symbol"), ++$sym_ord; + } } elsif ($PLATFORM eq 'aix' || $PLATFORM eq 'MacOS') { print "$symbol\n"; It means nothing to me, but made a significant difference to a number of Perl tests after it was applied. > Regards, > Stefan > -- > Micro$oft is not an answer. It is a question. The answer is 'no'. > -- John **= Email 2 ==========================** Date: Sun, 23 Feb 2003 17:56:41 +0100 (CET) From: Stefan Neis Subject: Re: Building NCURSES using Posix/2 On Sun, 23 Feb 2003, John Poltorak wrote: > On Sat, Feb 22, 2003 at 12:15:35AM +0100, Stefan Neis wrote: > > On Fri, 21 Feb 2003, John Poltorak wrote: > > > Wasn't there a OS/2 specific fix with respect to malloc/Perl_malloc? > > Anyone knows details about the changed file(s)? I assume it fails to > > handle Posix/2 correctly. > > I think the changes were done within makedef.pl. Just to make sure nobody keeps wondering about old problems: I got rid of the error popup (SYS2070) that made me believe there was a malloc problem left by simply deleting earlier versions of perl*{exe,dll} that were apparently interfering with the new build... Regards, Stefan -- Micro$oft is not an answer. It is a question. The answer is 'no'.