summaryrefslogtreecommitdiff
path: root/t/op/pack.t
Commit message (Collapse)AuthorAgeFilesLines
* [perl #90160] U* gives ‘U0 mode on an empty string’Father Chrysostomos2011-05-181-1/+5
| | | | | | This is a regression in 5.10 caused by change 23966/08ca2aa38a29, which added a bit of faulty logic. It was treating U* in the middle of a pack template as equivalent to U0, if the input string was empty.
* Fix typos (spelling errors) in t/*.Peter J. Acklam) (via RT2011-01-071-1/+1
| | | | | | | # New Ticket Created by (Peter J. Acklam) # Please include the string: [perl #81916] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81916 >
* RT#73814 - unpack() didn't handle scalar context correctly for %32H and %32uTony Cook2010-04-301-1/+9
| | | | | | | split() would crash because the third item on the stack wasn't the regular expression it expected. unpack("%2H", ...) would return both the unpacked result and the checksum on the stack, similarly for unpack("%2u", ...).
* Mark all .t and .pm files as non executableRafael Garcia-Suarez2009-06-061-0/+0
|
* in unpack, () groups in scalar context were still returning a list,Nicholas Clark2008-02-061-1/+6
| | | | | | resulting in garbage on the stack, which could manifest as a SEGV (Bug 50256) p4raw-id: //depot/perl@33239
* make t/op/pack.t not explode when u64size=''Alexander Gough2007-10-081-1/+1
| | | | | Message-ID: <20071008150935.GE24241@the.earth.li> p4raw-id: //depot/perl@32072
* Re: Compress::Zlib, pack "C" and utf-8 [PATCH]Marc Lehmann2007-05-101-7/+4
| | | | | Message-ID: <20070412064153.GA22475@schmorp.de> p4raw-id: //depot/perl@31194
* Some diagnostic output was giving warnings in op/pack.tRafael Garcia-Suarez2006-10-311-1/+4
| | | | | | under UTF-8 locales, and warnings where fatal by default. Make them non-fatal for diagnostics. p4raw-id: //depot/perl@29175
* z/OS: t/ - mostly EBCDIC fixesJarkko Hietaniemi2006-07-121-6/+15
| | | | | Message-Id: <200607112101.k6BL1TGr321715@kosh.hut.fi> p4raw-id: //depot/perl@28550
* [patch] blead@25226 - t/op/pack.t undefined value fixJohn E. Malmberg2005-08-011-1/+1
| | | | | | From: "John E. Malmberg" <wb8tyw@qsl.net> Message-ID: <42ED866B.3000308@qsl.net> p4raw-id: //depot/perl@25249
* Don't ignore errors from an eval.Nicholas Clark2005-06-091-0/+1
| | | p4raw-id: //depot/perl@24777
* Avoid generating thousands of UTF-8 warnings when testing under aNicholas Clark2005-04-191-8/+8
| | | | | UTF-8 locale p4raw-id: //depot/perl@24251
* Re: PATCH: byte count feature request for unpackTon Hospel2005-03-301-22/+170
| | | | | | | Message-Id: <d26u7b$i3v$1@post.home.lunix> (rework of a patch from Arne Ahrend <aahrend@web.de>) p4raw-id: //depot/perl@24100
* Re: unpack A strip patchTon Hospel2005-03-211-1/+16
| | | | | Message-Id: <d1nefp$lpe$1@post.home.lunix> p4raw-id: //depot/perl@24060
* pack / for general typesTon Hospel2005-03-211-1/+26
| | | | | | | Message-Id: <d1i7ed$62c$1@post.home.lunix> Allow "len/format" to work for any format type, not just strings. p4raw-id: //depot/perl@24052
* Re: Encoding neutral unpackTon Hospel2005-03-121-1/+13
| | | | | | | Message-ID: <d0vdt5$81a$1@post.home.lunix> A new test. p4raw-id: //depot/perl@24031
* Encoding neutral unpackTon Hospel2005-03-081-4/+249
| | | | | Message-Id: <d0fi6i$k06$1@post.home.lunix> p4raw-id: //depot/perl@24010
* Re: encoding neutral unpackTon Hospel2005-02-141-6/+7
| | | | | | | | Message-ID: <cu17rk$k78$1@post.home.lunix> tweaked to remove the 'not supported on this platform' error messages p4raw-id: //depot/perl@23966
* [perl #34062] pack Z0 destroys the character before perl-5.8.0@ton.iguana.be2005-02-081-1/+7
| | | | | | | From: perl-5.8.0@ton.iguana.be (via RT) <perlbug-followup@perl.org> Message-ID: <rt-3.0.11-34062-107199.19.360569328007@perl.org> (plus a regression test) p4raw-id: //depot/perl@23946
* Re: encoding neutral unpackTon Hospel2005-02-021-1/+10
| | | | | | | | | From: perl5-porters[at]ton.iguana.be (Ton Hospel) Message-ID: <ctg12a$j0e$2[at]post.home.lunix> Counted length prefixes shouldn't change C0/U0 mode in pack/unpack (plus a regression test) p4raw-id: //depot/perl@23924
* Re: encoding neutral unpackTon Hospel2005-02-021-1/+8
| | | | | | | | | From: perl5-porters[at]ton.iguana.be (Ton Hospel) Message-ID: <ctg1qq$j0e$3[at]post.home.lunix> Make U0 and C0 scoped to () pack subtemplates. (plus a regression test) p4raw-id: //depot/perl@23923
* Re: encoding neutral unpackTon Hospel2005-02-021-1/+4
| | | | | | | | | From: perl5-porters[at]ton.iguana.be (Ton Hospel) Message-ID: <ctg2r7$j0e$4[at]post.home.lunix> Ensure that with the C format, unpack checksums don't get overflowed. (plus a regression test) p4raw-id: //depot/perl@23922
* Re: encoding neutral unpackTon Hospel2005-01-311-1/+9
| | | | | | | | | From: perl5-porters[at]ton.iguana.be (Ton Hospel) Message-ID: <ctg09g$j0e$1[at]post.home.lunix> Forgotten character progress while checksumming over partial b or B format. (plus a regression test) p4raw-id: //depot/perl@23915
* Oops. Was forgetting to test n! N! v! V! in packNicholas Clark2005-01-271-3/+3
| | | p4raw-id: //depot/perl@23888
* Check that the warning behaviour on the modifiers !, < and > is as weNicholas Clark2005-01-271-1/+49
| | | | | expect it for this perl. p4raw-id: //depot/perl@23886
* Make the tests for the endianness modifiers < and >, and theNicholas Clark2005-01-271-44/+82
| | | | | | signnedness modifier ! conditional on perl version. Surprisingly little change needed. p4raw-id: //depot/perl@23884
* Name another pack testNicholas Clark2005-01-211-1/+1
| | | p4raw-id: //depot/perl@23850
* Better test diagnostics for the numbers tests.Nicholas Clark2005-01-141-6/+6
| | | | | | (Failure diagnostics were always good, but now the tests have names, which show even when they pass) p4raw-id: //depot/perl@23805
* Add byte-order group modifiers to (un)pack templates.Marcus Holland-Moritz2004-05-041-3/+71
| | | | | | | | Follow-up on: #22734, #22745, #22753, #22754. Subject: Group modifiers in (un)pack templates Message-Id: <20040503201441.1b058e0d@r2d2> p4raw-id: //depot/perl@22780
* byte-order modifiers for (un)pack templatesMarcus Holland-Moritz2004-04-231-45/+244
| | | | | Message-Id: <20040421210920.3c467772@r2d2> p4raw-id: //depot/perl@22734
* Make the ! suffix handle n/N/v/V as signed integersMarcus Holland-Moritz2004-04-061-1/+10
| | | | | within pack templates. p4raw-id: //depot/perl@22663
* Re: NCR MP-RAS perl problems [perl #23791]grommel@sears.com2003-09-301-1/+1
| | | | | Message-ID: <OF9B00605E.3CC90F32-ON86256DB0.006B13F0-86256DB0.006C8E85@LocalDomain> p4raw-id: //depot/perl@21390
* More suggested patches for NCR MP-RAS from Andy Dougherty.Jarkko Hietaniemi2003-09-161-1/+7
| | | p4raw-id: //depot/perl@21249
* Better skip() explicit number of tests, test counts gettingJarkko Hietaniemi2003-08-291-6/+6
| | | | | out of sync less likely that way. p4raw-id: //depot/perl@20932
* Some Ultrix test dodgings.Jarkko Hietaniemi2003-08-291-2/+5
| | | p4raw-id: //depot/perl@20931
* Re: [perl #23463] compiler version on sparc/netbsdNicholas Clark2003-08-221-8/+9
| | | | | Message-ID: <20030821222618.T558@plum.flirble.org> p4raw-id: //depot/perl@20824
* Re: [perl #23463]: compiler version on sparc/netbsdAlain Barbet2003-08-221-1/+1
| | | | | Message-ID: <3F43C055.6030709@jupiter.alianet> p4raw-id: //depot/perl@20823
* MPE/iX gets serious indigestion on w-packed infinities.Jarkko Hietaniemi2003-06-191-0/+3
| | | p4raw-id: //depot/perl@19816
* pack.t tweak for non-IEEE VMS systemsCraig A. Berry2003-06-091-0/+8
| | | | | | From: "Craig A. Berry" <craigberry@mac.com> Message-ID: <3EE3AF77.7060302@mac.com> p4raw-id: //depot/perl@19714
* Add a test case for [perl #15288] (already solved).Jarkko Hietaniemi2003-04-271-1/+9
| | | p4raw-id: //depot/perl@19351
* [patch] for Stratus VOSPaul Green2003-03-261-1/+5
| | | | | | | From: "Green, Paul" <Paul.Green@stratus.com> Message-ID: <A2A34F15EE916148BC4C4748223E67A403D99C74@exna4.stratus.com> (plus a small tweak to the test script) p4raw-id: //depot/perl@19070
* pack changes and related fixesLAUN Wolfgang2003-03-171-11/+110
| | | | | Message-ID: <75A46BF1A9D8D311863A00508B6259A405F17EB8@ATTMSX4> p4raw-id: //depot/perl@19010
* 'A' is not 65 everywhere.Jarkko Hietaniemi2003-02-191-2/+2
| | | p4raw-id: //depot/perl@18752
* Support one-parameter unpack(), which unpacks $_.Chip Salzenberg2003-02-191-1/+3
| | | p4raw-id: //depot/perl@18751
* Integrate from maint-5.8 #18156, #18218.Hugo van der Sanden2002-12-111-1/+4
| | | | | | | | | | | | p4raw-id: //depot/perl@18281 p4raw-integrated: from //depot/maint-5.8/perl@18280 'copy in' lib/unicore/Category.pl lib/unicore/SpecialCasing.txt lib/unicore/UnicodeData.txt lib/unicore/lib/C.pl lib/unicore/lib/Cf.pl lib/unicore/lib/Cntrl.pl lib/unicore/lib/Graph.pl lib/unicore/lib/P.pl lib/unicore/lib/Pd.pl lib/unicore/lib/Print.pl lib/unicore/lib/Punct.pl (@17645..) t/op/pack.t (@18080..) p4raw-integrated: from //depot/maint-5.8/perl@18156 'merge in' lib/Unicode/UCD.t (@17645..)
* Re: [PATCH] Re: [perl #17772] pack "w" /* this cannot happen ;-) */ is ↵Nicholas Clark2002-10-281-1/+1
| | | | | | | fallacious Message-ID: <20021027223108.GK292@Bagpuss.unfortu.net> p4raw-id: //depot/perl@18069
* t/op/pack.t: Tru64 5.1A gcc 3.2.1 no infJarkko Hietaniemi2002-10-201-1/+1
| | | | | Message-ID: <20021014114954.GB80937@lyta.hut.fi> p4raw-id: //depot/perl@18037
* Re: [perl #17772] pack "w" /* this cannot happen ;-) */ is fallaciousNicholas Clark2002-10-121-1/+39
| | | | | Message-ID: <20021008205253.GA283@Bagpuss.unfortu.net> p4raw-id: //depot/perl@18010
* Re: [PATCH] pack 'w' should be using NV, not doubleNicholas Clark2002-06-301-1/+18
| | | | | Message-ID: <20020629172408.GB322@Bagpuss.unfortu.net> p4raw-id: //depot/perl@17382
* Re: OK, what did I break in unpack?Nicholas Clark2002-04-121-5/+52
| | | | | Message-ID: <20020412205906.GD353@Bagpuss.unfortu.net> p4raw-id: //depot/perl@15883