7 months ago[perl #121028] avoid creating a shell process tonyc/closepid-delay2
Tony Cook [Tue, 28 Jan 2014 04:52:22 +0000]
[perl #121028] avoid creating a shell process

7 months agoPATCH: Bump Locale-Codes from 3.28 to 3.29
Sullivan Beck [Mon, 27 Jan 2014 20:07:39 +0000]
PATCH: Bump Locale-Codes from 3.28 to 3.29

I just released Locale-Codes-3.29 which contains the core modules
Locale::Country, Locale::Language, and Locale::Currency.  The patch is
attached here.

====
Background:

The core modules Locale::Country, Locale::Language, and Locale::Currency
(all part of the Locale-Codes distribution) should be updated on a
regular basis. They contain "codes" from various internet standards
which change over time.

I plan on releasing new versions at 4 times a year to keep the codes
up-to-date. At this point, I'm not planning on any significant code
changes (other than bug fixes), so the only significant changes between
releases should be to update the codes.

Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>

7 months agoTaint more operands with case changes
Karl Williamson [Mon, 27 Jan 2014 17:42:28 +0000]
Taint more operands with case changes

 The documentation says that Perl taints certain operations when subject
 to locale rules, such as lc() and ucfirst().  Prior to this commit
 there were exceptions when the operand to these functions contained no
 characters whose case change actually varied depending on the locale,
 for example the empty string or above-Latin1 code points.  Changing to
 conform to the documentation simplifies the core code, and yields more
 consistent results.

7 months agofold_grind.t: Use LC_CTYPE, not LC_ALL
Karl Williamson [Fri, 24 Jan 2014 21:35:37 +0000]
fold_grind.t: Use LC_CTYPE, not LC_ALL

We are testing here just LC_CTYPE, so is better to use just that
category.

7 months agoAvoid unnecessary malformed checking
Karl Williamson [Fri, 24 Jan 2014 18:42:19 +0000]
Avoid unnecessary malformed checking

regen/regcharclass.pl can create macros for use where we need to worry
about the possibility of malformed UTF-8, and for where we don't.  In
the case of looking at regex patterns, the Perl core has complete
control over generating them, and hence isn't generally going to create
too short a buffer;  if it does, it's a bug that will show up and get
fixed.  This commit changes to generate and use the faster macros that
don't do bounds checking.

7 months agoregen/regcharclass.pl: Don't test UV >= 0
Karl Williamson [Sat, 25 Jan 2014 23:53:24 +0000]
regen/regcharclass.pl: Don't test UV >= 0

An unsigned must always be >= 0, and generating a test for that can lead
to a compiler warning, even if it gets optimized out.  The input to the
macros generated by this are supposed to be UV.  This commit suppresses
any >= 0 test.

7 months agoregen/regcharclass.pl: Fix warning
Karl Williamson [Fri, 24 Jan 2014 04:46:17 +0000]
regen/regcharclass.pl: Fix warning

wrap() is already defined by the regen infrastructure; no need to do so
again, and get warning if we persist in doing so.

7 months agoMove an inversion list generation to mktables
Karl Williamson [Fri, 24 Jan 2014 03:34:15 +0000]
Move an inversion list generation to mktables

Prior to this patch, this was in regen/mk_invlists.pl, but future
commits will want it to also be used by the header generated by
regen/regcharclass.pl, so use a common source so the logic doesn't have
to be duplicated.

7 months agoRegen porting/known_pod_issues.dat
Karl Williamson [Mon, 27 Jan 2014 17:28:46 +0000]
Regen porting/known_pod_issues.dat

This is to acknowledge the too-long verbatim lines in perlandroid,
which look to me to be better left long

7 months agoMove more locale code to t/loc_tools.pl
Karl Williamson [Fri, 24 Jan 2014 20:58:13 +0000]
Move more locale code to t/loc_tools.pl

This trivial code to determine if a locale is a utf8 one or not is
currently used in just one place, but future commits will use it in
others, and will make it non-trivial, and non-obvious.

7 months agoAndroid support
Brian Fraser [Sun, 26 Jan 2014 17:44:36 +0000]
Android support

This merge introduces Android support for Perl, for all three currently
available architectures (ARM, MIPS, x86), either through native builds
or cross-compilation (from x86_64 and x86 hosts).

7 months agoperldelta for Android
Brian Fraser [Sun, 26 Jan 2014 04:17:03 +0000]
perldelta for Android

Plus an entry in perlport

7 months agoAndroid hints: run-adb-shell was mishandling '\0'
Brian Fraser [Sun, 26 Jan 2014 04:12:45 +0000]
Android hints: run-adb-shell was mishandling '\0'

That's literally '\0', all four characters, not a null.  Previously, due to
mistakenly passing things through the shell twice, it turned '\0' into an
actual null, and that screwed up the test for fflush(NULL)

7 months agoConfigure: Fix the fflush(NULL) test in cross builds
Brian Fraser [Sun, 26 Jan 2014 04:06:40 +0000]
Configure: Fix the fflush(NULL) test in cross builds

Second attempt at this. This is less portable than the previous
version, since it assumes that the target system will have a cat, but unlike
the previous version this now actually works.

7 months agoREADME.android: minor wording fixups
Brian Fraser [Sat, 25 Jan 2014 04:54:07 +0000]
README.android: minor wording fixups

7 months agoreentr.c: Handle systems without getpwent
Brian Fraser [Wed, 22 Jan 2014 13:17:53 +0000]
reentr.c: Handle systems without getpwent

Namely, Android.

7 months agoExtUtils::ParseXS: Fix tests for native android builds
Brian Fraser [Tue, 21 Jan 2014 17:09:58 +0000]
ExtUtils::ParseXS: Fix tests for native android builds

7 months agoAUTHORS and MANIFEST for the CBuilder Android patch
Brian Fraser [Tue, 21 Jan 2014 18:22:58 +0000]
AUTHORS and MANIFEST for the CBuilder Android patch

7 months agoUp the version of ExtUtils::CBuilder
Brian Fraser [Sun, 26 Jan 2014 16:07:49 +0000]
Up the version of ExtUtils::CBuilder

7 months agoCBuilder, android: Fix the useshrplib check
Brian Fraser [Tue, 21 Jan 2014 16:15:56 +0000]
CBuilder, android: Fix the useshrplib check

7 months agoExtUtils::CBuilder: Android with useshrplib needs -lperl
Piotr Roszatycki [Wed, 15 Jan 2014 22:34:57 +0000]
ExtUtils::CBuilder: Android with useshrplib needs -lperl

7 months agopod fixups on README.android
Brian Fraser [Tue, 21 Jan 2014 18:23:12 +0000]
pod fixups on README.android

7 months agoREADME.android: Notes about cross-compiling from a x86 host
Brian Fraser [Mon, 20 Jan 2014 15:54:04 +0000]
README.android: Notes about cross-compiling from a x86 host

7 months agoREADME.android: Update for native builds
Brian Fraser [Sun, 19 Jan 2014 19:17:45 +0000]
README.android: Update for native builds

7 months agoAdded README.android
Brian Fraser [Sat, 9 Nov 2013 19:31:34 +0000]
Added README.android

7 months agoCwd.pm: Handle native android builds better
Brian Fraser [Mon, 13 Jan 2014 05:31:18 +0000]
Cwd.pm: Handle native android builds better

7 months agoext/POSIX/t/sysconf.t: Skip testing pathconf with _PC_LINK_MAX on android
Brian Fraser [Fri, 26 Apr 2013 07:16:19 +0000]
ext/POSIX/t/sysconf.t: Skip testing pathconf with _PC_LINK_MAX on android

7 months agoIO::Socket::INET: Handle getprotobyn{ame,umber} not being available
Brian Fraser [Mon, 29 Apr 2013 04:08:13 +0000]
IO::Socket::INET: Handle getprotobyn{ame,umber} not being available

7 months agoNet::Ping: Handle getprotobyn{ame,umber} not being available
Brian Fraser [Mon, 29 Apr 2013 03:23:56 +0000]
Net::Ping: Handle getprotobyn{ame,umber} not being available

7 months agodist/IO/t/io_pipe.t: Work around android only having an inbuilt echo
Brian Fraser [Fri, 26 Apr 2013 01:57:01 +0000]
dist/IO/t/io_pipe.t: Work around android only having an inbuilt echo

7 months agot/op/sigdispatch.t: SKIP, not TODO
Brian Fraser [Tue, 12 Nov 2013 06:19:17 +0000]
t/op/sigdispatch.t: SKIP, not TODO

7 months agot/io/fs.t: Handle Android's pwd being a shell builtin
Brian Fraser [Wed, 13 Nov 2013 02:59:15 +0000]
t/io/fs.t: Handle Android's pwd being a shell builtin

7 months agot/op/filetest.t: On Android, don't try checking if ln exists with which
Brian Fraser [Mon, 12 Aug 2013 00:00:26 +0000]
t/op/filetest.t: On Android, don't try checking if ln exists with which

Assume that it does -- even the most barebone of toolbox binaries
provides ln, but not which.

7 months agot/op/sigdispatch.t: Increase timeout to avoid issues on slow processors
Brian Fraser [Thu, 25 Apr 2013 16:46:09 +0000]
t/op/sigdispatch.t: Increase timeout to avoid issues on slow processors

7 months agot/op/stat.t: use 'ls -l' on android, even if d_readlink is defined
Brian Fraser [Wed, 24 Apr 2013 22:58:33 +0000]
t/op/stat.t: use 'ls -l' on android, even if d_readlink is defined

7 months agot/op/fork.t: Up the sleep time in a test to avoid timing issues
Brian Fraser [Wed, 24 Apr 2013 22:08:21 +0000]
t/op/fork.t: Up the sleep time in a test to avoid timing issues

7 months agot/op/fork.t: Work around android only having an inbuilt echo
Brian Fraser [Wed, 24 Apr 2013 22:07:44 +0000]
t/op/fork.t: Work around android only having an inbuilt echo

7 months agot/op/magic.t: Skip tests that use env on Android
Brian Fraser [Tue, 12 Nov 2013 06:40:44 +0000]
t/op/magic.t: Skip tests that use env on Android

7 months agot/op/magic.t: Work around android only having an inbuilt pwd
Brian Fraser [Wed, 24 Apr 2013 05:28:12 +0000]
t/op/magic.t: Work around android only having an inbuilt pwd

7 months agot/op/incfilter.t: Work around android only having an inbuilt echo
Brian Fraser [Wed, 24 Apr 2013 04:09:42 +0000]
t/op/incfilter.t: Work around android only having an inbuilt echo

7 months agot/op/sigdispatch.t: TODO tests that don't work on some Android builds
Jess Robinson [Fri, 19 Apr 2013 11:08:34 +0000]
t/op/sigdispatch.t: TODO tests that don't work on some Android builds

7 months agot/op/magic.t: TODO tests that don't work on some cross-compile builds
Jess Robinson [Fri, 19 Apr 2013 11:08:34 +0000]
t/op/magic.t: TODO tests that don't work on some cross-compile builds

7 months agot/op/sprintf.t: Add Android to the list of skips for %.0g
Jess Robinson [Fri, 19 Apr 2013 11:08:34 +0000]
t/op/sprintf.t: Add Android to the list of skips for %.0g

7 months agoAdjust fs test to try more ways of getting the CWD. Expire if we still didn't get it.
Jess Robinson [Fri, 19 Apr 2013 11:02:19 +0000]
Adjust fs test to try more ways of getting the CWD. Expire if we still didn't get it.

7 months agopod/perlport.pod: Note which functions are not available on Android
Brian Fraser [Sat, 18 May 2013 00:55:08 +0000]
pod/perlport.pod: Note which functions are not available on Android

7 months agoConfigure: If cross-compiling to linux, pick the proper hints file
Brian Fraser [Fri, 15 Nov 2013 06:39:02 +0000]
Configure: If cross-compiling to linux, pick the proper hints file

Something like arm-linux-gnueabihf -- which is what the raspberry pi
gets as its targetarch -- is really just plain Linux, so set osname
to that and load up the hints file.

7 months agoConfigure: added special osname checks for nto and android
Brian Fraser [Fri, 11 Oct 2013 19:55:08 +0000]
Configure: added special osname checks for nto and android

When cross-compiling, for android, anything matching *linux-android*
gets osname=linux-androideabi.  This is to allow compiling to
all three android variants (x86, arm, mips).
For QNX Neutrino, anything matching nto*|*-nto-* gets osname=nto. In
the future, that might change to 'qnx', but right now we don't want
it to pick up the hints file.
For anything else, keep the current behavior, which is to set osname
to the output of `echo $targetarch|sed 's,^[^-]*-,,'`

7 months agoAndroid hints: Set d_csh to undef in cross builds
Brian Fraser [Thu, 23 Jan 2014 22:41:22 +0000]
Android hints: Set d_csh to undef in cross builds

7 months agoAndroid hints: load the linux hints to get those defaults
Brian Fraser [Thu, 23 Jan 2014 14:13:34 +0000]
Android hints: load the linux hints to get those defaults

7 months agoAndroid hints: Clean up some files if cross-compiling with adb
Brian Fraser [Wed, 22 Jan 2014 19:45:10 +0000]
Android hints: Clean up some files if cross-compiling with adb

7 months agoAndroid hints: In native builds, add -L/system/lib to ldflags
Brian Fraser [Wed, 22 Jan 2014 11:23:00 +0000]
Android hints: In native builds, add -L/system/lib to ldflags

This is just a safety net against the linker being weird.

7 months agoConfigure, Android hints: Changes to allow native builds
Brian Fraser [Mon, 13 Jan 2014 02:56:47 +0000]
Configure, Android hints: Changes to allow native builds

7 months agoAndroid hints: When Configure finishes, turn $^O into 'android'
Brian Fraser [Mon, 13 Jan 2014 03:10:32 +0000]
Android hints: When Configure finishes, turn $^O into 'android'

During Configure, we want it to be linux-android, so that
it'll also go through all of the linux checks.

7 months agoAndroid hints: Add m to libswanted
Brian Fraser [Mon, 13 Jan 2014 00:10:11 +0000]
Android hints: Add m to libswanted

7 months agoAndroid hints: Set osvers to getprop ro.build.version.release
Brian Fraser [Sun, 12 Jan 2014 04:32:24 +0000]
Android hints: Set osvers to getprop ro.build.version.release

7 months agoMake compiling with adb work again
Brian Fraser [Fri, 25 Oct 2013 14:08:05 +0000]
Make compiling with adb work again

7 months agoAndroid hints: Only use adb if $targetrun is set to adb
Brian Fraser [Sat, 12 Oct 2013 02:53:46 +0000]
Android hints: Only use adb if $targetrun is set to adb

This loses us some DWIMnery, but allows cross-compiling to
android using ssh, which is much easier to set up than getting
the SDK.

7 months agoAndroid hints: Only set userelocatableinc if it doesn't have a value
Brian Fraser [Wed, 21 Aug 2013 03:38:14 +0000]
Android hints: Only set userelocatableinc if it doesn't have a value

Without this, Configure would've bailed out if trying to build a
-Duseshrplib perl.

7 months agohints/linux-androideabi.sh: If the host OS is darwin, set firstmakefile to GNUmakefile
Brian Fraser [Sun, 11 Aug 2013 21:43:17 +0000]
hints/linux-androideabi.sh: If the host OS is darwin, set firstmakefile to GNUmakefile

7 months agohints/linux-androideabi.sh: use $chmod instead of plain chmod
Brian Fraser [Sun, 11 Aug 2013 21:38:05 +0000]
hints/linux-androideabi.sh: use $chmod instead of plain chmod

7 months agohints/linux-androideabi.sh: use $cat instead of plain cat
Brian Fraser [Sun, 11 Aug 2013 21:37:35 +0000]
hints/linux-androideabi.sh: use $cat instead of plain cat

7 months agohints/linux-androideabi.sh: adb takes care of creating the target dir on the target
Brian Fraser [Sun, 11 Aug 2013 21:30:18 +0000]
hints/linux-androideabi.sh: adb takes care of creating the target dir on the target

7 months agohints/linux-androideabi.sh: sed might not understand "\r", use $tr instead
Brian Fraser [Sun, 11 Aug 2013 20:49:13 +0000]
hints/linux-androideabi.sh: sed might not understand "\r", use $tr instead

7 months agohints/linux-androideabi.sh: Rather than relaying on adb, save the exit status in...
Brian Fraser [Fri, 9 Aug 2013 09:39:49 +0000]
hints/linux-androideabi.sh: Rather than relaying on adb, save the exit status in a file and then copy it over

7 months agohints/linux-androideabi.sh: getservent_r() is a partial stub, mark it as undefined...
Brian Fraser [Sat, 18 May 2013 02:14:49 +0000]
hints/linux-androideabi.sh: getservent_r() is a partial stub, mark it as undefined to avoid issues with threads

7 months agoandroid hints: Always define d_libname_unique
Brian Fraser [Wed, 15 May 2013 12:09:58 +0000]
android hints: Always define d_libname_unique

7 months agoAndroid hints: Detect stub functions and mark them as undefined.
Brian Fraser [Sun, 28 Apr 2013 00:01:44 +0000]
Android hints: Detect stub functions and mark them as undefined.

Bionic implements several functions as stumps that simply warn
and return null, which leads to situations like this:

FIX ME! implement getprotobyname() bionic/libc/bionic/stubs.c:378

This commit introduces some probes for functions (getnetbyname,
getnetbyaddr, getmntent, getprotobyname, getprotobynumber, endpwent,
ttyname) that we use and are actually stubs in at least some
versions of Android.
If we find a stub, we pretend that the function is undefined, so
the above example becomes this:

Unsupported socket function "getprotobyname" called at -e line 1.

Note that this commit does not fix the modules that assume that
these functions are always available, so 'make test' still fails.

7 months agoCorrectly quote result from adb, otherwise multiline responses breal (eg signal_cmd)
Jess Robinson [Sat, 11 May 2013 13:37:39 +0000]
Correctly quote result from adb, otherwise multiline responses breal (eg signal_cmd)

7 months agoAndroid hints, run-ssh: Make sure that the stdout of commands run from Configure...
Jess Robinson [Mon, 29 Apr 2013 08:54:35 +0000]
Android hints, run-ssh: Make sure that the stdout of commands run from Configure and Makefile on remote hosts is transfered back correctly

7 months agoNo locales in Android, just set the lot to undef
Jess Robinson [Fri, 19 Apr 2013 11:18:46 +0000]
No locales in Android, just set the lot to undef

7 months agoAndroid hints, run-adb-shell: Handle the -env switch
Jess Robinson [Fri, 19 Apr 2013 11:00:14 +0000]
Android hints, run-adb-shell: Handle the -env switch

Currently, this is used during 'make test' to specify LD_LIBRARY_PATH

7 months agoAndroid hints: set targetsh to /system/bin/sh
Jess Robinson [Thu, 31 Jan 2013 14:15:17 +0000]
Android hints: set targetsh to /system/bin/sh

Android, for reasons best known to itself, doesn't have a "/bin/sh" it
has a "/system/bin/sh".  We need to run "/bin/sh" as $sh inside
./Configure on the host, but store a different path for use on the
actual Android system (eg by backticks, system etc, in SH_PATH).

The new variable is "targetsh" and defaults to "sh" unless changed by the hints file/Configure params.

7 months agoCreate a Perl with relocatable inc when building for Android.
Jess Robinson [Fri, 18 Jan 2013 18:55:02 +0000]
Create a Perl with relocatable inc when building for Android.

7 months agoHints file for android cross-compiling.
Jess Robinson [Fri, 4 Jan 2013 10:48:34 +0000]
Hints file for android cross-compiling.

The hints file names for cross-compiling (currently) need to match the prefix of the cross-compiler used.

7 months agoLinux hints: Improve the code that looks for libc.so
Brian Fraser [Wed, 22 Jan 2014 22:33:51 +0000]
Linux hints: Improve the code that looks for libc.so

7 months agoLinux hints: Improve the portability of the -lndbm check
Brian Fraser [Wed, 22 Jan 2014 20:19:28 +0000]
Linux hints: Improve the portability of the -lndbm check

7 months agoLinux hints: add some missing $ccflags
Brian Fraser [Wed, 22 Jan 2014 20:17:33 +0000]
Linux hints: add some missing $ccflags

7 months agoLinux hints: Handle `uname -m` in cross-compilation builds
Brian Fraser [Wed, 22 Jan 2014 20:14:59 +0000]
Linux hints: Handle `uname -m` in cross-compilation builds

7 months agoLinux hints: try using user-provided binaries before going for the defaults
Brian Fraser [Wed, 22 Jan 2014 20:13:25 +0000]
Linux hints: try using user-provided binaries before going for the defaults

This means that if the user called Configure with -Dnm=/foo/bar/nm, the
hints will try using that before going for plain 'nm'

7 months agoMake it clear what it means if there's no distinction between -M and -m.
Abigail [Sun, 26 Jan 2014 15:51:14 +0000]
Make it clear what it means if there's no distinction between -M and -m.

Triggered by perl #121078, where someone thought one could mimic the
behaviour of C<-m> by a clever use of C<-M> and C<=>.

7 months agotargetsh in configure.com again
Craig A. Berry [Sun, 26 Jan 2014 15:45:28 +0000]
targetsh in configure.com again

In 9056626be4b0df I had set it to empty string, but thanks to a
heads up from Brian Fraser I've realized it should be the same
thing as sh as it is now used to set up SH_PATH.

7 months agoFix targetsh in configure.com.
Craig A. Berry [Sat, 25 Jan 2014 20:48:51 +0000]
Fix targetsh in configure.com.

Specifically, there is no 'sh' variable, so if we try to reference
it we get:

%DCL-W-UNDSYM, undefined symbol - check validity and spelling
 \SH\

So enter an empty string for targetsh.

7 months agoMake fileify handle node specifications better.
Craig A. Berry [Sat, 25 Jan 2014 16:50:02 +0000]
Make fileify handle node specifications better.

In particular, a node specification containing only a single
directory (i.e., node::dev:[dir]) was not being handled properly.

This came up while reproducing the problem in [perl #121002] but
was not the cause of that problem as the OP's directory had
multiple subdirectories in it.

7 months agoIn vms.c's Perl_opendir, skip access check on remotes.
Craig A. Berry [Sat, 25 Jan 2014 15:52:09 +0000]
In vms.c's Perl_opendir, skip access check on remotes.

As reported in [perl #121002], the homegrown opendir has been
failing when the directory specification contains a DECNet node
specification indicating the directory to be accessed is on a
remote node.  The OP reports this worked with Perl 5.001 but not
5.8.6 or 5.18.2.

It appears that the culprit was the introduction of access
checking to Perl_opendir in 61bb59065bf1b12edab39b12, which would
first have been released in 5.004.  Yes, it's been broken for 17
years.

The reason access checking broke remote access is that it's based
on SYS$CHECK_ACCESS, which apparently does not work on remotes,
though the only hint of that in its documentation is that the
status SS$_UNSUPPORTED, "Operations on remote object are not
supported" is listed as a possible return value.  What it actually
returns, despite the documentation, is SS$_INVFILFOROP, "invalid
file specification for operation."

The fix is simple enough -- just skip the access check if the
directory name contains a node specification (which always ends
with "::").  All the access check is providing is a friendlier
error message in cases where we don't have access, so no harm is
done by skipping the check in cases where it can't work.

7 months agoresolve bug 121070 - preserve $^R after successful match
Yves Orton [Sat, 25 Jan 2014 15:48:56 +0000]
resolve bug 121070 - preserve $^R after successful match

We call LEAVE after successful eval matches, which clears $^R.

This changes a test that was added as part of handling bug 56194.

7 months agoMakefile.SH, make test: Copy config.sh when cross-compiling
Brian Fraser [Sat, 25 Jan 2014 15:38:04 +0000]
Makefile.SH, make test: Copy config.sh when cross-compiling

t/TEST uses this to determine which extensions to run tests for;
if it's missing, it'll end up running everything, which means a ton of
failures from, say, Win32 and VMS if cross-compiling to Linux.

7 months agot/porting/: Skips for cross-compilation
Brian Fraser [Wed, 13 Nov 2013 04:11:12 +0000]
t/porting/: Skips for cross-compilation

7 months agoUpdate Module-Load to CPAN version 0.30
Chris 'BinGOs' Williams [Sat, 25 Jan 2014 13:38:10 +0000]
Update Module-Load to CPAN version 0.30

  [DELTA]

0.30    Sat Jan 25 13:26:51 GMT 2014
* Fix 'uninitialized' warnings during testing
* Added done_testing() to tests

7 months agoUpdate Module-Load-Conditional to CPAN version 0.62
Chris 'BinGOs' Williams [Sat, 25 Jan 2014 13:37:15 +0000]
Update Module-Load-Conditional to CPAN version 0.62

  [DELTA]

0.62    Fri Jan 24 15:52:44 GMT 2014

* Resolve test failures on v5.16.x

7 months agoUpdate File-Fetch to CPAN version 0.48
Chris 'BinGOs' Williams [Sat, 25 Jan 2014 13:35:57 +0000]
Update File-Fetch to CPAN version 0.48

  [DELTA]

0.48        Fri Jan 24 10:32:52 2014

* Force curl to be IPv4 only during testing
  on NetBSD

7 months agoFile::Spec::Unix->tmpdir: Always return an absolute path
Brian Fraser [Fri, 17 Jan 2014 17:53:58 +0000]
File::Spec::Unix->tmpdir: Always return an absolute path

This is generally a non-issue, however, if /tmp doesn't exist
and $ENV{TMPDIR} isn't set, ->tmpdir() used to return ".", which
broke the following pattern:

    use File::Temp qw(tempdir);
    use File::Spec;
    my $tmpdir = tempdir(CLEANUP => 1);
    chdir $tmpdir;
    my $file = File::Spec->catfile($tmpdir, "foo");
    open my $fh, ">", $file or die $!;

Because $tmpdir would be something like 'bfhskjf94589', and after
the chdir, the open() would've tried to open $tmpdir/$tmpdir/foo.

Note that this is only the case when not running in taint mode.  If taint
is enabled, ->tmpdir will still return '.'; this mirrors the behavior of
File::Temp.

7 months agoUpgrade Scalar-List-Utils from version 1.37 to 1.38
Steve Hay [Fri, 24 Jan 2014 09:02:59 +0000]
Upgrade Scalar-List-Utils from version 1.37 to 1.38

7 months agoFix $ENV{PATH} flags in Peek.t.
Craig A. Berry [Fri, 24 Jan 2014 00:50:58 +0000]
Fix $ENV{PATH} flags in Peek.t.

Setting $ENV{PATH} explicitly in bea5cecf09ba646ff0ff made us no
longer have the TEMP flag set on VMS, so make it optional.

7 months agolib/locale.pm: Pod corrections
Karl Williamson [Fri, 24 Jan 2014 01:04:41 +0000]
lib/locale.pm: Pod corrections

7 months agoAllow 'use locale' on systems without locales.
Karl Williamson [Wed, 22 Jan 2014 21:23:26 +0000]
Allow 'use locale' on systems without locales.

Instead of throwing an error, just go ahead and do the import.
This will tell Perl internally to use the current underlying locale,
which should be the C locale.  Attempts to change the locale will fail.

This differs slightly from Brian Fraser's patch, in that his didn't
touch $^H, thus 'use locale' was a no-op.  He has told me to apply this
one, which does affect $^H.  The advantage here is that now programs
that are run on platforms with and without locales will behave
similarly, and should run identically if the locale is not switched from
the default.

7 months agoperllocale: Nit.
Karl Williamson [Wed, 22 Jan 2014 21:42:10 +0000]
perllocale: Nit.

7 months agoperldelta for -Dtargetsh
Brian Fraser [Thu, 23 Jan 2014 18:45:40 +0000]
perldelta for -Dtargetsh

7 months agoregen for uconfig.h
Brian Fraser [Thu, 23 Jan 2014 18:05:18 +0000]
regen for uconfig.h

7 months agoGlossary entry for targetsh
Brian Fraser [Thu, 23 Jan 2014 03:33:13 +0000]
Glossary entry for targetsh

7 months agoAdded targetsh to all the canned config files
Brian Fraser [Mon, 11 Nov 2013 20:16:58 +0000]
Added targetsh to all the canned config files