summaryrefslogtreecommitdiff
path: root/vutil.c
Commit message (Collapse)AuthorAgeFilesLines
* vutil.c, vxs.inc: Avoid warnings from -Wmissing-prototypes -Wundef ↵Brian Fraser2014-02-041-9/+15
| | | | | | | | | | | | -Wunused-label -Wmissing-prototypes was complaining about declaring XS() functions without previously declaring a prototype. -Wundef didn't like using #if foo instead of #ifdef foo -Wunused-label warned because VER_{IV,NM,PV} were defined on all versions of perl, but only used on < 5.17.2
* And now the rest of the sync to 0.9908John Peacock2014-02-041-18/+35
|
* Sync bleadperl to version.pm 0.9908John Peacock2014-02-031-0/+5
| | | | | | | | | | | | | | | | | | | | Attached is a patch to bring blead up to date with the latest CPAN release of version.pm 0.9908. All tests pass (except the expected porting/customized.t). I'm hopeful that this will be the last update for a while. Thanks to Daniel Dragan for his insistent prodding to improve the code. ;-) Thanks John >From c501530aa386a3ccbdb35bcccbccd35d70315651 Mon Sep 17 00:00:00 2001 From: John Peacock <jpeacock@cpan.org> Date: Sun, 2 Feb 2014 11:57:44 -0500 Subject: [PATCH] Update bleadperl to CPAN 0.9908 release Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
* Explicit ENTER/LEAVE block for upg_versionJohn Peacock2014-01-181-0/+2
|
* Lots of C optimizations for both speed/correctnessJohn Peacock2014-01-181-38/+62
| | | | | | | | | | | Clean up a lot of the less efficient uses of various Perl macros and functions, mostly from bulk88@hotmail.com. Also deal with the fact that older Perl's were not handling locale setting in a consistent manner. This means going back to the less efficient but always correct method of ALWAYS copying the old locale and switch to C and then restoring, for all Perl releases prior to 5.19.0. Discontinue support for Perl's prior to v5.6.2.
* vutil.c: Use existing macros instead of reinventing themKarl Williamson2014-01-041-13/+2
| | | | | | If there had been documentation referring to these macros, I would have known they existed instead of reinventing them (not as well as the originals).
* Do not crash if passed garbage like array.John Peacock2014-01-041-3/+9
| | | | | Somehow we lost the test that caught getting passed an arrayref instead of a simple scalar. Also integrate fix from perl rt#120872.
* Grab latest changes from CPAN 0.9905John Peacock2014-01-041-1/+5
|
* Integrate CPAN version.pm release into coreJohn Peacock2014-01-041-1/+10
|
* vutil.c: Add preproc code specific to CPANFather Chrysostomos2014-01-041-12/+60
| | | | | | | The purpose is to bring the files into synch so that later version.pm upgrades involve dropping files into place. This requires changing vutil.h a bit to work in the core.
* Extract version routines into two new filesFather Chrysostomos2014-01-041-0/+942
This is to make synchronisation between the CPAN distribution and the perl core easier. The files have different extensions to match what the CPAN distribu- tion will have. vutil.c is a separate compilation unit that the CPAN dist already has. vxs.inc will be included by vxs.xs (vxs.c is obvi- ously alreday taken, being generated from vxs.xs). In the perl core util.c includes vutil.c and universal.c includes vxs.inc.