Abigail [Fri, 20 Dec 2013 16:08:38 +0000 (17:08 +0100)]
Document module changes.
./perl -Ilib Porting/corelist-perldelta.pl --mode=update pod/perldelta.pod
Abigail [Fri, 20 Dec 2013 15:47:49 +0000 (16:47 +0100)]
Update Module::CoreList for 5.19.7
Abigail [Fri, 20 Dec 2013 13:57:05 +0000 (14:57 +0100)]
Update perldelta.
Added a few issues from git log v5.19.6..HEAD that had not been added
to perldelta yet.
Removed sections that will not be needed in the final version.
Father Chrysostomos [Fri, 20 Dec 2013 06:19:35 +0000 (22:19 -0800)]
regen pod issues
Father Chrysostomos [Fri, 20 Dec 2013 06:06:47 +0000 (22:06 -0800)]
Fix string corruption with (??{}) and PERL_NO_COW
Commit
9ffd39ab75, which allowed PADTMPs’ string buffers to be stolen,
caused "$a$b" =~ /(??{})/ to cause string corruption with match varia-
bles on some systems, because the buffer from "$a$b"’s return value
was being stolen when ‘copied’ into a new $_ for the code block.
The string copy necessary for $& and $1 to work would happen only
after the code block’s $_ had been freed, and consequently after the
string buffer had been freed.
Whether this would cause observable buggy behaviour (as opposed to
things only memory tools like valgrind would catch) depended on
whether the malloc implementation would modify the string immediately
when freeing it.
Dave Mitchell observed in <
20131218113448.GN2490@iabyn.com> that tests
were failing under -DPERL_NO_COW. The added test will also fail (for
me at least) under copy-on-write, because the string is long enough to
favour swiping the buffer. (It happens for me only on Linux, not Dar-
win, incidentally.)
Copying the string with _nosteal fixes the problem.
Steve Hay [Thu, 19 Dec 2013 17:53:01 +0000 (17:53 +0000)]
Merge branch 'perldelta' into blead
Add a new mode to Porting/corelist-perldelta.pl to update the module
changes in pod/perldelta.pod for the perl you are currently building.
This can be run as:
./perl -Ilib Porting/corelist-perldelta.pl --mode=update pod/perldelta.pod
*after* updating Module::CoreList with something like:
./perl -Ilib Porting/corelist.pl cpan
There is still scope for improvement in the handling of removed modules,
and in automatically cribbing information from the Changes files of those
modules that have been updated, but this is a big step in the right
direction.
Steve Hay [Thu, 19 Dec 2013 17:25:28 +0000 (17:25 +0000)]
Porting/corelist-perldelta.pl - Minor tidy-ups
Steve Hay [Tue, 17 Dec 2013 08:49:33 +0000 (08:49 +0000)]
Update various instructions about the use of Porting/corelist-perldelta.pl
Steve Hay [Tue, 17 Dec 2013 08:26:17 +0000 (08:26 +0000)]
Add Abir Viqar to AUTHORS
Abir Viqar [Sat, 14 Dec 2013 19:07:28 +0000 (14:07 -0500)]
Porting/corelist-perldelta.pl - Make documentation clearer
* Fix incorrect usage example for update
* Document that removed modules are currently ignored
* Clarify why some distributions have to be manually checked
* Clarify why a distribution may not be listed in Module::CoreList
Abir Viqar [Sat, 14 Dec 2013 19:06:35 +0000 (14:06 -0500)]
Porting/corelist-perldelta.pl - Skip dummy items during update
Abir Viqar [Sat, 14 Dec 2013 19:05:43 +0000 (14:05 -0500)]
Porting/corelist-perldelta.pl - Use Unix newlines in perldelta
Abir Viqar [Sat, 14 Dec 2013 19:03:59 +0000 (14:03 -0500)]
Porting/corelist-perldelta.pl - Default to comparing last two versions
do_update_existing() previously required versions to be specified
Abir Viqar [Tue, 22 Oct 2013 17:31:18 +0000 (13:31 -0400)]
Porting/corelist-perldelta.pl - Make do_generate use DeltaUpdater
DeltaUpdater::sections_to_pod() makes generate_section() redundant
Abir Viqar [Sun, 6 Oct 2013 14:58:27 +0000 (10:58 -0400)]
Porting/corelist-perldelta.pl - Add a new mode update
This adds a new mode, update, which given an the path to an existing
perldelta file, will add missing entries and update incorrect version
information.
This commit introduces a new module, DeltaUpdater, which is used
for pod manipulation.
Abir Viqar [Thu, 3 Oct 2013 21:14:34 +0000 (17:14 -0400)]
Porting/corelist-perldelta.pl - Make do_check less noisy
The removed modules as returned by corelist_perldelta contains
too many false positives to be useful. Also, explictly state
whether the difference is from the pod or the results returned from
corelist_perldelta().
Abir Viqar [Thu, 3 Oct 2013 21:01:54 +0000 (17:01 -0400)]
Porting/corelist-perldelta.pl - Improve corelist_delta
corelist_delta now goes through almost all of the core distributions.
The problem with the previous approach was that the keys of %Modules in
Porting/Maintainers.pl do not all correspond to a valid distribution or
do not correspond to a module as listed in Module::CoreList.
This commit also updates the callers of the function.
Abir Viqar [Thu, 3 Oct 2013 20:48:34 +0000 (16:48 -0400)]
Porting/corelist-perldelta.pl - Cleanup DeltaParser
* Comment generation of accessor methods
* Make _parse_delta() more explicit by calling the section parsing
methods explicitly
* Ensure that the new_modules, updated_modules, and removed_modules
attributes exist even if the perldelta file does not contain the
corresponding sections
Abir Viqar [Thu, 3 Oct 2013 20:44:38 +0000 (16:44 -0400)]
Porting/corelist-perldelta.pl - Improve version parsing
Catch more forms of how updated modules have been listed in past
perldelta
Abir Viqar [Thu, 3 Oct 2013 20:40:13 +0000 (16:40 -0400)]
Porting/corelist.pl - DeltaParser: match modules in L<> and C<>
Module names have been listed in both
Abir Viqar [Thu, 3 Oct 2013 20:36:26 +0000 (16:36 -0400)]
Porting/corelist-perldelta.pl - Remove trailing whitespace
Abir Viqar [Sun, 6 Oct 2013 14:52:21 +0000 (10:52 -0400)]
Porting/corelist-perldelta.pl - fix usage example
lib needs to be included when generating the module changes
with the currently build Perl
Abir Viqar [Thu, 3 Oct 2013 20:32:42 +0000 (16:32 -0400)]
Porting/corelist-perldelta.pl - Use Module::CoreList in dist/
Ensure that the latest version of Module::CoreList is used when
running the script
Father Chrysostomos [Thu, 19 Dec 2013 14:14:46 +0000 (06:14 -0800)]
Father Chrysostomos [Thu, 19 Dec 2013 14:10:34 +0000 (06:10 -0800)]
Father Chrysostomos [Thu, 19 Dec 2013 14:08:01 +0000 (06:08 -0800)]
Father Chrysostomos [Thu, 19 Dec 2013 13:59:36 +0000 (05:59 -0800)]
Father Chrysostomos [Thu, 19 Dec 2013 13:57:02 +0000 (05:57 -0800)]
Martin McGrath [Wed, 18 Dec 2013 23:45:57 +0000 (00:45 +0100)]
Correct URL for github.com mirror of Perl 5 repository.
Add Martin McGrath to AUTHORS.
For: RT #120819
Brian Fraser [Wed, 18 Dec 2013 19:45:52 +0000 (16:45 -0300)]
config.ce: Use ~cc~, not ~CC~
This was preventing several things from working properly,
like Errno_pm.PL, which tried to use $Config{cppstdin},
which was not set properly.
Jess Robinson [Fri, 18 Jan 2013 15:54:51 +0000 (15:54 +0000)]
Amend pod_lib.pl to work with miniperl (no dynamic loading)
This is to allow cross-compilation builds to run installperl using a
host miniperl instead of the built Perl binary.
Matthew Horsfall (alh) [Wed, 18 Dec 2013 13:59:02 +0000 (08:59 -0500)]
Note usage compatability of Safefree / Newx and friends
Father Chrysostomos [Wed, 18 Dec 2013 14:21:22 +0000 (06:21 -0800)]
Long verbatim lines in SDBM_File.pm
Father Chrysostomos [Wed, 18 Dec 2013 02:06:34 +0000 (18:06 -0800)]
Document ->$#* in perlref
Father Chrysostomos [Wed, 18 Dec 2013 02:04:58 +0000 (18:04 -0800)]
Father Chrysostomos [Wed, 18 Dec 2013 02:01:11 +0000 (18:01 -0800)]
perldelta todos
Father Chrysostomos [Wed, 18 Dec 2013 01:53:54 +0000 (17:53 -0800)]
Tony Cook [Wed, 18 Dec 2013 04:47:25 +0000 (15:47 +1100)]
Tony Cook [Wed, 18 Dec 2013 04:32:20 +0000 (15:32 +1100)]
[perl #120384] make hash key quoting compatible between perl and XS
In particular:
- if quotekeys is set all hash keys are now quoted, previously the perl
code didn't quote "safe" numeric keys
- keys of the form ::foo are now quoted by XS as the perl code always did
- XS code quoted "safe" numbers, while the perl code didn't
- perl code didn't quote strings like "1\x{660}", since \x{660}
matches \d
Tony Cook [Wed, 18 Dec 2013 03:42:22 +0000 (14:42 +1100)]
[perl #120635] don't leak semaphores
I was calling semctl() with parameters in the incorrect order
Tony Cook [Wed, 18 Dec 2013 02:56:54 +0000 (13:56 +1100)]
perldelta for
ee71f1d151a
Tony Cook [Thu, 12 Dec 2013 05:22:06 +0000 (16:22 +1100)]
[perl #118651] don't overwrite $! in readdir()
POSIX expects readdir() to leave errno alone when it reaches end of
directory without an error so that case can be detected. Do the same
in perl.
Tony Cook [Tue, 17 Dec 2013 22:53:13 +0000 (09:53 +1100)]
Tony Cook [Tue, 17 Dec 2013 22:33:31 +0000 (09:33 +1100)]
[perl #114350] access to SDBM constants and explicit filenames
Kevin Ryde [Mon, 16 Dec 2013 00:44:11 +0000 (11:44 +1100)]
[perl #114350] improved documentation
Tony Cook [Wed, 11 Dec 2013 03:37:20 +0000 (14:37 +1100)]
[perl #114350] access to sdbm_prep()
This allows the .dir and .pag filenames to be specified explicitly
Tony Cook [Thu, 5 Dec 2013 04:01:11 +0000 (15:01 +1100)]
[perl #114350] add exportable PAGFEXT, DIRFEXT and PAIRMAX constants
Karl Williamson [Sun, 15 Dec 2013 02:53:29 +0000 (19:53 -0700)]
mg.c: White-space only
Indent code that's in a block added in the previous commit.
Karl Williamson [Sun, 15 Dec 2013 02:48:00 +0000 (19:48 -0700)]
Fix HP-UX $! failure
HP-UX strerror() returns an empty string for an unknown error code.
This caused an assertion to fail under DEBUGGING builds. This patch
removes the assertion and changes the return into a non-empty string
indicating the errno is for an unknown error.
Karl Williamson [Mon, 16 Dec 2013 18:52:20 +0000 (11:52 -0700)]
perl.h: Move a string constant to a #define
This is so it can be used in another file
Karl Williamson [Sun, 15 Dec 2013 02:46:27 +0000 (19:46 -0700)]
mg.c: White-space only
Properly indent code that is interior to a block
Karl Williamson [Wed, 11 Dec 2013 18:26:02 +0000 (11:26 -0700)]
perllocale: Note that LC_MESSAGES affects $^E
Karl Williamson [Wed, 11 Dec 2013 16:03:03 +0000 (09:03 -0700)]
run/locale.t: Fix bareword error
This string should be in quotes to be properly eval'd. Prior to this
patch this .t failed when run by hand as the bareword warning is made
fatal.
Karl Williamson [Sun, 8 Dec 2013 16:34:18 +0000 (09:34 -0700)]
lib/locale.t: Add tests
Commit
b99851e1941e002dd4816ee6c76fd49bbee1d7f3 should have added tests
in two places. This adds them in the second place, plus a cautionary
comment. The reason for the two places is the alternative I can think
of is to use a string eval, but that perturbs the test environment so
might affect the outcome.
Karl Williamson [Sun, 8 Dec 2013 15:42:49 +0000 (08:42 -0700)]
lib/locale.t: Move some lines
Commit
b99851e1941e002dd4816ee6c76fd49bbee1d7f3 should have added tests
at the end of the block. This moves them.
Karl Williamson [Thu, 12 Dec 2013 06:33:22 +0000 (23:33 -0700)]
posix.t, time.t: Correct saving/restoring locales
Code in these two tests assumed that setlocale returns the old locale.
Instead it returns the new one. A separate setlocale() call is needed
to get the previous locale value. These are the only two places I found
with this error.
Tony Cook [Tue, 17 Dec 2013 05:48:23 +0000 (16:48 +1100)]
perldelta for
b183d514e3e
Tony Cook [Thu, 21 Nov 2013 05:48:13 +0000 (16:48 +1100)]
bump $Data::Dumper::VERSION
Tony Cook [Thu, 21 Nov 2013 05:46:19 +0000 (16:46 +1100)]
[perl #82948] use re::regexp_pattern in list context for dumping qr//
Karl Williamson [Tue, 17 Dec 2013 01:51:02 +0000 (18:51 -0700)]
perldelta for [perl #120799]
Tony Cook [Tue, 17 Dec 2013 00:25:36 +0000 (11:25 +1100)]
Tony Cook [Tue, 17 Dec 2013 00:08:31 +0000 (11:08 +1100)]
bump $VERSION for base.pm
Graham Knop [Wed, 4 Dec 2013 10:54:02 +0000 (05:54 -0500)]
make base.pm more strict about nonexistent module check
Peter Martini [Mon, 16 Dec 2013 23:01:23 +0000 (18:01 -0500)]
Fix reference to chmod portability in chown
Karl Williamson [Mon, 16 Dec 2013 18:14:02 +0000 (11:14 -0700)]
Add comments that re tests can be commented in col 7
Karl Williamson [Mon, 16 Dec 2013 18:13:35 +0000 (11:13 -0700)]
regcomp.c: Add comment
Karl Williamson [Mon, 16 Dec 2013 17:59:36 +0000 (10:59 -0700)]
PATCH: [perl #120799] 5.18 regression with [:^ascii] and \x80-\xFF
Posix classes generally match different sets of characters under /d
rules than otherwise. This isn't true for [:ascii:], but the handling
for it is shared with the others, so it needs to use the same mechanism
to deal with that. I forgot this in commit
bb9ee97444732c84b33c2f2432aa28e52e4651dc which created this regression.
Our tests for this only use regexes with a single element, and an
optimization added in 5.18 causes this bug to be bypassed. These tests
should be enhanced to force both code paths, but not for this commit,
which should be suitable for a maintenance release.
Father Chrysostomos [Mon, 16 Dec 2013 14:04:29 +0000 (06:04 -0800)]
Get optree_samples.t passing when PERL_UNICODE is set
The testing infrastructure knows to strip out the ‘open’ hints when
they do not apply.
Father Chrysostomos [Mon, 16 Dec 2013 05:26:22 +0000 (21:26 -0800)]
Add Dabrien Murphy to AUTHORS
Dabrien 'Dabe' Murphy [Mon, 16 Dec 2013 05:24:54 +0000 (21:24 -0800)]
[perl #120752] Fix t/op/coreamp.t rand test
The way it was written it would even accept an empty string as
valid output.
Tony Cook [Mon, 16 Dec 2013 04:47:34 +0000 (15:47 +1100)]
Dennis Kaarsemaker [Sun, 10 Nov 2013 22:17:38 +0000 (23:17 +0100)]
Make tests work with detached git dir
In my jenkins replacement, I run all tests with .git outside the work tree,
pointed to by $GIT_DIR. This is fairly common git practice, so let's make the
testsuite support this and run the relevant porting tests that are skipped
without this patch.
Tony Cook [Sun, 15 Dec 2013 22:35:00 +0000 (09:35 +1100)]
fix format string warnings in regcomp.c
Father Chrysostomos [Sun, 15 Dec 2013 20:39:18 +0000 (12:39 -0800)]
[perl #72406] Bad read with do{} until CONST
According to the original bug report, ‘do{print("foobar");}until(1)}’
crashes. In recent perls it doesn’t, partly because of the slab allo-
cator, partly because such crashes are naturally fleeting.
‘foo while bar’ and ‘foo until bar’ make their way through newLOOPOP,
which then usually calls S_new_logop, to create and AND or OR op with
special pointers that turn it into a loop.
Because S_new_logop knows about folding ‘$x if 1’ down to a simple $x,
and because ‘do{foo()} while 0’ should still execute the do block,
newLOOPOP skips the call to S_new_logop in that case.
Hence, it assumes that if it has seen a do block on its lhs, then
S_new_logop must return an AND or OR op.
‘foo until bar’ is actually changed early on (in perly.y) to ‘foo
while !bar’, before it reaches newLOOPOP. Constant folding usually
folds !1 down to a simple ""/0 (actually &PL_sv_no), so newLOOPOP sees
‘foo while 0’ for ‘foo until 1’.
If constant folding fails (e.g., because the parser has seen an
unmatched } and constant folding is skipped after such errors), then
newLOOPOP will see the unfolded !1.
S_new_logop has a special optimisation that changes ‘!foo && bar’ to
‘foo || bar’, etc.
That optimisation allows it to ‘see through’ the unoptimised !1 (a NOT
with a CONST kid) and get to the constant, folding the resulting op
and returning something that newLOOPOP is not expecting to be folded.
In the case of ‘do{print("foobar");}until(1)}’, it optimises the do
block away, which is wrong.
So newLOOPOP reads past the end of the op in this line:
o->op_next = ((LOGOP*)cUNOPo->op_first)->op_other;
because it is treating an SVOP as a LOGOP.
I can trigger this condition by defeating constant folding some other
way. Croaking in boolean overloading, but just the first time, will
do that, and crashes with blead:
{ package o; use overload bool => sub { die unless $::ok++; return 1 } }
use constant OK => bless [], o::;
do{print("foobar");}until OK;
__END__
Bus error: 10
My reading of the source code leads me to believe that this bad read
has been present since perl 5.000. But back then it was not possible
to trigger it with this particular test case involving fatal overload-
ing (as of
b7f7fd0bb it seems*), but ‘do{print("foobar");}until(1)}’
would have triggered it.
* Thanks to Matthew Horsfall for finding it.
Matthew Horsfall [Sun, 15 Dec 2013 03:25:22 +0000 (22:25 -0500)]
Also optimise returning lists: 'return ($one, $two);'
Matthew Horsfall (alh) [Fri, 13 Dec 2013 17:57:47 +0000 (12:57 -0500)]
Tests for rpeep optimisations in
e45d8982ae
Father Chrysostomos [Sat, 14 Dec 2013 01:48:34 +0000 (17:48 -0800)]
Fix ‘Can't declare null operation in "my"’
This message is very unhelpful. This was brought up in
ticket #115688.
Father Chrysostomos [Sat, 14 Dec 2013 01:01:46 +0000 (17:01 -0800)]
op.c: Factor out two identical yyerror calls
James E Keenan [Sat, 14 Dec 2013 00:08:09 +0000 (01:08 +0100)]
Explain how '--' works in command-line invocation.
Excerpted from 'man bash': GNU Bash-2.05b, 2002 July 15.
For: RT #120732, as requested by bulk88.
Matthew Horsfall [Wed, 11 Dec 2013 23:28:21 +0000 (18:28 -0500)]
Optimise out PUSHMARK/RETURN if return is the last statement in a sub.
This makes:
sub baz { return $cat; }
Behave like:
sub baz { $cat; }
Which is notably faster.
Unpatched:
./perl -Ilib/ ~/stuff/bench.pl
Benchmark: timing
40000000 iterations of normal, ret...
normal: 3 wallclock secs ( 1.60 usr + 0.01 sys = 1.61 CPU) @
24844720.50/s (n=
40000000)
ret: 3 wallclock secs ( 2.08 usr + 0.00 sys = 2.08 CPU) @
19230769.23/s (n=
40000000)
Patched:
./perl -Ilib ~/stuff/bench.pl
Benchmark: timing
40000000 iterations of aret, normal...
normal: 2 wallclock secs ( 1.72 usr + 0.00 sys = 1.72 CPU) @
23255813.95/s (n=
40000000)
ret: 2 wallclock secs ( 1.72 usr + 0.00 sys = 1.72 CPU) @
23255813.95/s (n=
40000000)
The difference in OP trees can be seen here:
Unpatched:
$ perl -MO=Concise,baz -e 'sub baz { return $cat }'
main::baz:
5 <1> leavesub[1 ref] K/REFC,1 ->(end)
- <@> lineseq KP ->5
1 <;> nextstate(main 1 -e:1) v ->2
4 <@> return K ->5
2 <0> pushmark s ->3
- <1> ex-rv2sv sK/1 ->4
3 <#> gvsv[*cat] s ->4
-e syntax OK
Patched:
$ ./perl -Ilib -MO=Concise,baz -e 'sub baz { return $cat }'
main::baz:
3 <1> leavesub[1 ref] K/REFC,1 ->(end)
- <@> lineseq KP ->3
1 <;> nextstate(main 1 -e:1) v ->2
- <@> return K ->-
- <0> pushmark s ->2
- <1> ex-rv2sv sK/1 ->-
2 <$> gvsv(*cat) s ->3
-e syntax OK
(Includes some modifications from Steffen)
Brian Fraser [Mon, 18 Nov 2013 18:49:22 +0000 (15:49 -0300)]
cflags.SH: Fix a typo, cflags should be ccflags
This went undetected for the longest time since most flags are
irrelevant at this point, but is vital if you are using --sysroot.
Karl Williamson [Mon, 9 Dec 2013 23:06:01 +0000 (16:06 -0700)]
pod/perlhacktips: Further info on glibc bug
Commit
6bfe0388956736a32b874cc5e31cc6437260b227 prompted me to do some
more digging. The bug in glibc has apparently been fixed in 2.17.
David Mitchell [Mon, 9 Dec 2013 14:18:44 +0000 (14:18 +0000)]
perlfunc: clarify subroutine value of caller()
The docs don't actually say what the fourth value returned by caller()
is; in particular, the $subroutine value is a bit confusing because
it's the sub called by the call site, not the sub containing the call
site. [perl #120696].
Daniel Dragan [Mon, 9 Dec 2013 00:46:19 +0000 (19:46 -0500)]
WinCE makefile will now hypothetically build git_version.h
The dependency on $(CONFIGPM) is for git_version.h to exist early enough
to be copied to the CORE dir. In real life, git_version.h still is built
by a Desktop build since WinCE doesn't yet support being built with a
system Perl. This commit is a step in getting WinCE to build without
needing a Desktop build first and for better integration with Castaway's
Cross changes in the future. The changes in this commit were tested with
other unpublished changes that tried to do a WinCE build with a system
Perl.
Daniel Dragan [Mon, 9 Dec 2013 00:38:49 +0000 (19:38 -0500)]
cleanup ..\git_version.h rule in win32/Makefile
Group the nmake line onto 1 line similar to the dmake version, for 1 shell
call out vs 3. "&&" makes sure the build stops if miniperl returns non-0
instead of ignoring the code, cd'ing back to dir win32, and continuing
the build. Part of RT #120727.
Tony Cook [Mon, 9 Dec 2013 03:39:20 +0000 (14:39 +1100)]
Tony Cook [Wed, 4 Dec 2013 00:30:57 +0000 (01:30 +0100)]
Brian Childs is now a perl AUTHOR
Brian Childs [Tue, 3 Dec 2013 05:33:41 +0000 (06:33 +0100)]
Fixes the case where on 64bit big-endian boxes, calls to semctl(id,semnum,SETVAL,$wantedval) will ignore the passed in $wantedval, and always use 0
James E Keenan [Sun, 8 Dec 2013 15:10:01 +0000 (16:10 +0100)]
Test previously untested branches in lib/File/Find.pm.
Karl Williamson [Sun, 8 Dec 2013 16:48:55 +0000 (09:48 -0700)]
Improve comments
These improve some comments introduced by
99dd98225733b6b66a524dfeb20a486e012e39b3.
Suggested by Lukas Mai
Karl Williamson [Sun, 8 Dec 2013 15:20:58 +0000 (08:20 -0700)]
Silence core test Useless use of greediness modifier
There are two .t files that have useless greediness modifiers. A
warning was instroduced in commit
4fa6dd16d2149c2aeeb32633e3a796d5ebc5b657 when this occurs. This
silences those warnings in the two .t files
Craig A. Berry [Sun, 8 Dec 2013 14:06:58 +0000 (08:06 -0600)]
Error check VMS's backticks stdin inheritance.
This is a follow-up to
e2d6c6fbf5bb. The use case I've seen is
that the translation of SYS$INPUT succeeds but the stat on the
resulting file/device fails, possibly due to object protections.
So we would be giving the child something it can't open.
Add error checking to the logic so in order to set up inheritance
of SYS$INPUT:
1.) The translation of SYS$INPUT must succeed.
2.) stat() on the resulting spec must succeed.
3.) The resulting spec must not be a directory.
Karl Williamson [Sat, 7 Dec 2013 16:32:51 +0000 (09:32 -0700)]
regcomp.c: Silence compiler warnings
This changes some formats to add an 'l' modifier, and adds a cast.
Karl Williamson [Fri, 6 Dec 2013 22:50:52 +0000 (15:50 -0700)]
PATCH: [Perl #42957] Suggesting warning for useless greediness operator
This adds the requested warning. Now we'll see if anything breaks as a
result.
Karl Williamson [Fri, 6 Dec 2013 22:26:53 +0000 (15:26 -0700)]
regcomp.c: White-space only
Vertically stack ? : ternary operators for better visibility
James E Keenan [Sat, 7 Dec 2013 13:45:16 +0000 (14:45 +0100)]
Remove tests of $File::Find::untaint_pattern.
This in effect reverts commit
5ea8618bf5cf20c62d2ccca6aca10d97e0945b89.
The effects of this package variable are not yet well enough understood to
write tests that pass consistently. The block of tests removed was failing on
Win32 in all situations and on Linux in some.
For: RT #120711
Chris 'BinGOs' Williams [Sat, 7 Dec 2013 09:40:43 +0000 (09:40 +0000)]
Update Unicode-Collate to CPAN version 1.04
[DELTA]
1.04 Sat Dec 7 11:34:18 2013
- XS: a workaround for perl 5.6.x to handle U+FFFF correctly.
unpack_U() is implemented by using XS again as well as that in 1.02,
but now that is used only in the versions before perl 5.8.0.
Father Chrysostomos [Sat, 7 Dec 2013 02:41:08 +0000 (18:41 -0800)]
[Merge] Get minitest passing again
One significant change is to the way miniperl gets its @INC set up.
Now buildcustomize.pl replaces lib with its special list, instead of
clobbering the entirety of @INC. This allows tests to use runperl
with -I, without having to go through hoops to get things to work.
Father Chrysostomos [Wed, 4 Dec 2013 14:12:56 +0000 (06:12 -0800)]
t/uni/variables.t: Skip $[ test under miniperl
Father Chrysostomos [Wed, 4 Dec 2013 14:12:35 +0000 (06:12 -0800)]
Skip eintr_print.t under miniperl