New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
t/op/sprintf.t fails one test on FreeBSD 4.6 #12092
Comments
From @nwc10Created by @nwc10t/op/sprintf.t fails one test on FreeBSD 4.6 Patch adds a skip for FreeBSD 4, and should not skip on FreeBSD 5 and later. Inline Patchdiff --git a/t/op/sprintf.t b/t/op/sprintf.t
index 9c942b4..34086c8 100644
--- a/t/op/sprintf.t
+++ b/t/op/sprintf.t
@@ -399,7 +399,7 @@ __END__
> %.0g< >[]< > 0 MISSING<
>%.2g< >[]< >0 MISSING<
>%.2gC< >[]< >0C MISSING<
->%.0g< >-0.0< >-0< >C99 standard mandates minus sign but C89 does not skip: MSWin32 VMS hpux:10.20 openbsd netbsd:1.5 irix darwin<
+>%.0g< >-0.0< >-0< >C99 standard mandates minus sign but C89 does not skip: MSWin32 VMS hpux:10.20 openbsd netbsd:1.5 irix darwin freebsd:4.9<
>%.0g< >12345.6789< >1e+04<
>%#.0g< >12345.6789< >1.e+04<
>%.2g< >12345.6789< >1.2e+04<
Nicholas Clark Perl Info
|
From @nwc10On Tue, May 08, 2012 at 01:47:10PM -0700, Nicholas Clark wrote:
This isn't exactly true. It's a tarball made from a clean git checkout Inline Patchdiff --git a/sv.c b/sv.c
index 3ac2fd8..5d0f961 100644
--- a/sv.c
+++ b/sv.c
@@ -1507,7 +1507,7 @@ Perl_sv_grow(pTHX_ register SV *const sv, register STRLEN newlen)
if (newlen > SvLEN(sv)) { /* need more room? */
STRLEN minlen = SvCUR(sv);
- minlen += (minlen >> PERL_STRLEN_EXPAND_SHIFT) + 10;
+ minlen += (minlen >> PERL_STRLEN_EXPAND_SHIFT);
if (newlen < minlen)
newlen = minlen;
#ifndef Perl_safesysmalloc_size
Why? Because without that I ran out of swap. With the above, I can build in 96M "The marvel is not that the bear dances well, but that the bear dances at all." I think that this means that blead would probably build and test OK within Nicholas Clark |
From @tonycozOn Tue, May 08, 2012 at 10:04:01PM +0100, Nicholas Clark wrote:
The pogoplug I do ARM builds on has less RAM than my now fairly dated I don't do parallel builds or tests on it. Tony perlsmoke@iapetus:~/smoke-me/smoke$ free Hardware : Marvell SheevaPlug Reference Board |
The RT System itself - Status changed from 'new' to 'open' |
From @cpansproutOn Tue May 08 13:47:10 2012, Mr. Clark wrote:
Thank you. Applied as f60cb31. -- Father Chrysostomos |
@cpansprout - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#112820 (status was 'resolved')
Searchable as RT112820$
The text was updated successfully, but these errors were encountered: