| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These are left from PERL_OBJECT, which was an implementation of
multiplicity using C++ objects. PERL_OBJECT was removed in 5.8, but the
macros seem to have been cargo-culted all over the core (including in
places where they would have been inappropriate originally). Since they
now do exactly nothing, it's cleaner to remove them.
I have left the definitions in perl.h, under #ifndef PERL_CORE, since
some CPAN XS code uses them (also often incorrectly). I have also left
STATIC alone, since it seems potentially more useful and is much more
ingrained.
The only appearance of these macros this patch doesn't touch is in
Devel-PPPort, because that's a CPAN module.
|
|
|
|
|
|
|
|
| |
Assignment of length() to a lexical is optimized by passing the
assigned-to variable as TARG, avoiding a pp_padsv and pp_sassign.
9f621b which changed length(undef) to return undef didn't take this into
account, and used SETs (which doesn't set TARG), so the code above left
$x == 3.
|
|
|
|
|
|
|
| |
It used to be a static function, hence the location, and I failed to spot that
I needed to move it, when I edited it to be non-static.
Problem spotted by Jerry D. Hedden.
|
|
|
|
|
|
| |
It assumes that it can read the contents twice and get the same result.
It's running in parallel with tests which do sometimes write in t/ so if it
runs at that level, it will sometimes fail due to race conditions.
|
|
|
|
|
|
| |
Move the definition of del_body() closer to where it is used.
Inline del_body_allocated() into its only remaining user, del_XPVGV().
Coalesce adjacent C comments.
|
| |
|
|
|
|
|
|
|
| |
Convert get_arena() to be static, as now its only user is Perl_more_bodies().
Perl_get_arena() was not in the public API, and neither Google codesearch
nor an upacked CPAN show anything to be using it.
|
|
|
|
| |
Also fix one value passed to the debugging *_printf() in the #else block.
|
| |
|
|
|
|
|
| |
This should have been done as part of commit 601dfd0af0604fa7. Its omission
did not cause bugs; it merely resulted in slightly less effective arena sizing.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
There's really no need to do this on the user side, as regcharclass.h is a real
file in the repository. Having this rule, while maybe handy for regexp
developers working on win32, otherwise only causes trouble if regcharclass.pl
changes in a way that doesn't require regcharclass.h to change.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Commit c410dd6ad7 indiscriminately pops elements from the stack
even when nothing has been pushed: file tests without arguments
(testing $_) and stacked filetests don't have anything on the
stack that needs to be removed.
The general idea is that we need to have the same side effects
as if we had called my_stat_flags(), so we shall only call POPs
under the same conditions as the code in my_stat_flags().
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
The globbing only works when done in the right directory.
|
|
|
|
|
|
|
| |
All these files used to be executable in the release tarballs. Apparently things
also work without that in the repository, but I'd rather add this possibly
unecessary change to blead instead of breaking the upcoming release. This should
probably be looked into again afterwards.
|
|
|
|
| |
to a char *.
|
|
|
|
| |
to be removed. Thanks to Rafael for pointing out prototypes in XS.
|
| |
|
| |
|
| |
|
|
|
|
| |
We're using cherrymaint on camel now.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This reverts commit d98a0e0610723630e3a6cf6f1de20f87701b22bc.
Yeah, I'm an idiot.
|
| |
|
| |
|
|
|
|
|
|
|
| |
A bug in Porting/corelist.pl made Module::Corelist think the VMS::Filespec
module was called Filespec. This bug was fixed in
f4ccb67a0c5b6089da1ebe8b42943cf67d6c087a. This change updates all the old
corelist entries accordingly.
|
|
|
|
|
| |
sv can't actually be used uninitialized, but set it to zero to
shut up stupid compilers
|
|
|
|
|
|
| |
Strictly speaking charid would only get used uninitialized in debugging
output with a trie state machine that has no entries, but initialise it
to zero just to keep everyone happy.
|
| |
|
| |
|
|
|
|
| |
corelist.pl also needs a few modules that aren't built by just `make perl'.
|
|\ |
|