| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
In a UTF-8 locale, if the PERL_UNICODE environment variable is set,
perl may add a :utf8 layer.
v5.23.1-197-gfb10a8a deprecated using sysread(), syswrite() etc on such
handles, which meant that a test run under PERL_UNICODE could produce
a significant number of deprecation warnings.
Prevent those warnings, typically by binmode(), but in one case by
disabling the warning.
|
|
|
|
|
|
|
|
|
|
| |
Switch from two-argument form. Filehandle cloning is still done with the two
argument form for backward compatibility.
Committer: Get all porting tests to pass. Increment some $VERSIONs.
Run: ./perl -Ilib regen/mk_invlists.pl; ./perl -Ilib regen/regcharclass.pl
For: RT #130122
|
|
|
|
|
|
| |
See <20141126223250.GS19835@mars.tony.develop-help.com>
S_IFMT on os390 has the upper bit set but Perl is expecting an unsigned,
so force it to be so.
|
|
|
|
|
| |
This lets us make t/io/eintr.t more reliable by making sure we're
actually writing more than the buffer size.
|
| |
|
| |
|
|
|
|
|
| |
Core-only modules that have changed from v5.13.7, and dual-life modules
that have changed from v5.13.7 and didn't show up in earlier passes.
|
| |
|
|
|
|
|
|
|
|
| |
Its cleanup actions are implicit in the END block, so replace C<warn ...; bye>;
with C<die ...> and other calls of C<bye;> with C<exit 0;>
Also, remove the newlines from the strings passed to die, to make the
diagnostics more useful for locating failures.
|
|
|
|
|
|
| |
Now that we're using tempfiles, it no longer contains code to unlink the test
files, only a close. Inline the C<close BIG> into bye(), and remove the other
call to zap(), which was immediately after an explicit close of BIG.
|
|
|
|
| |
This will make it easier to refactoring to use Test::More/test.pl
|
|
|
|
| |
This reduces the differences between ext/Fcntl/t/syslfs.t and t/op/lfs.t
|
|
|
|
|
|
| |
The two are testing the same functionality, and comments in each reference the
other. However, the two have diverged, sometimes in the same commit, sometimes
when corrections have been applied to only one. (eg 972720f939262dd0)
|
|
|
|
|
|
| |
Also fix a bug introduced in 1c25d394345c1b97, which accidentally neutered the
test program of t/op/lfs.t, causing it to attempt to open an empty file, and
hence do nothing and then always exit with 0.
|
|
|
|
|
|
|
|
|
|
|
| |
Trivial changes to fix warnings of types
* unclear precedence
* assignment as conditional
* signed/unsigned mixing
* unused parameter/variable
* value computed not used
* wrong argument type for a printf format
* variable may be used uninitialised (due to unhandled switch case)
|
| |
|
|
|
|
|
| |
All 4 use ExtUtils::Constant::ProxySubs, and only have an AUTOLOAD to deal with
failed constant lookups.
|
|
|
|
|
| |
This is possible because all 5 use ExtUtils::Constant::ProxySubs, so the
constant() routine is only used for error conditions.
|
|
|
|
| |
Fixes a bug in 96d24b8ce2ce0411.
|
|
|
|
|
|
|
|
| |
Fcntl avoids using Carp::croak(), but its code was adding a full stop at the
end of all error messages. Other modules are using croak(), which has no full
stop between the line number and the newline.
Add a test for the error messages from Fcntl::AUTOLOAD.
|
|
|
|
|
|
|
| |
Previously each Makefile.PL had conditional code to only use them post 5.9.2,
so that the code would not diverge between blead and maint-5.8. That isn't an
important consideration any longer, whereas removing the conditional code here
will allow their AUTOLOAD routines to be simplified.
|
|
|
|
| |
96d24b8ce2ce0411 wasn't C++ friendly.
|
|
|
|
|
|
| |
This reduces quite a lot of repetition of symbol names.
Note that '&SUBNAME' and 'SUBNAME' are interchangeable to Exporter.
|
|
|
|
|
| |
This removes the requirement to call XSLoader::load() at BEGIN time, which
simplifies the Perl code further.
|
| |
|
|
|
|
|
| |
This reduces the memory usage of Fcntl by quite a bit, as the same XSUB is used
by all 9 S_IS* functions.
|
|
|
|
|
|
|
|
| |
I estimate that this saves 294 bytes in Perl space (per thread, or per-process
if memory pages become unshared after forking), but costs only 232 bytes in the
shared object (should always remain shared between threads and processes).
Oh, and it's XS code, and avoids 2 Perl subroutine calls.
|
|
|
|
|
|
|
|
| |
S_ISENFMT() and S_ISWHT() were added in 2000 as part of commit ca6e1c26e8ac218f.
1a16747c2ea1992d (2 weeks later) intended to fix the copy/paste error in that
previous commit which would prevent either from working. It did fix S_ISWHT().
However, there was a second error in the definition of S_ISEMFMT() which was
never picked up - S_ENFMT(), not S_IFENFMT().
|
| |
|
|
|
|
| |
Remove one vestigial mention of MacOS.
|
|
|
|
| |
https://bugs.launchpad.net/ecryptfs/+bug/390833)
|
|
|
|
|
|
|
|
| |
Since the module reorganisation and now that tests run cd'ed to
ext/Fcntl, expecting to run ../perl no longer works.
Also, for the benefit of future generations, make the inability
to find perl a failure rather than a skip, with a more relevant error
message.
|
|
|
|
|
|
|
|
|
|
|
| |
Inspired by, and in parts borrows from, Schwern's branch on github, but takes a
slightly different approach in places.
Not quite perfect yet - ext/File-Glob still runs from t, at least one FIXME
needs fixing, and the changes to dual-life modules' tests need to be filtered
back upstream, and possibly modified to suit their respective authors.
But it works.
|
| |
|
|
|
|
|
| |
A list submitted by Paul Fenwick was briefly factored into
directory-specific rules.
|
|
|
|
|
| |
Message-ID: <20070425141222.GA24828@solemn.turbinal>
p4raw-id: //depot/perl@31080
|
|
|
| |
p4raw-id: //depot/perl@30671
|
|
|
|
|
| |
inlined within the functions that Fcntl defines.
p4raw-id: //depot/perl@26701
|
|
|
|
|
| |
So far just enough to make Fcntl work.
p4raw-id: //depot/perl@26453
|
|
|
| |
p4raw-id: //depot/perl@20764
|
|
|
|
|
| |
Message-ID: <20030813204609.G20130@plum.flirble.org>
p4raw-id: //depot/perl@20686
|
|
|
|
|
| |
Be more conservative and use @EXPORT_OK instead of @EXPORT.
p4raw-id: //depot/perl@19798
|
|
|
| |
p4raw-id: //depot/perl@19797
|
|
|
| |
p4raw-id: //depot/perl@19796
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
p4raw-link: @18189 on //depot/maint-5.8/perl: 27314835b1b1ea8730d4a0eb871861ac238c63f9
p4raw-link: @18187 on //depot/maint-5.8/perl: 94e81ce4c47784f86829e70129b1d0a3e95ca51c
p4raw-link: @18174 on //depot/maint-5.8/perl: f8d24d869503bcd9df0e86aa5898c89996220bf8
p4raw-id: //depot/perl@18221
p4raw-branched: from //depot/maint-5.8/perl@18220 'branch in'
ext/POSIX/t/is.t
p4raw-integrated: from //depot/maint-5.8/perl@18220 'copy in'
README.os2 ext/GDBM_File/GDBM_File.pm ext/GDBM_File/Makefile.PL
lib/Unicode/UCD.pm t/op/subst.t (@17645..) INSTALL t/op/grep.t
(@18080..) ext/Fcntl/t/syslfs.t t/op/lfs.t (@18133..) 'merge
in' t/op/eval.t (@17645..) pod/perldiag.pod (@18146..)
lib/Unicode/UCD.t (@18156..) MANIFEST (@18173..)
|
|
|
|
|
|
| |
From: "david@dhaller.de (via RT)" <perlbug@perl.org>
Message-Id: <rt-18065-40384.14.044473925414@bugs6.perl.org>
p4raw-id: //depot/perl@18122
|
|
|
|
|
|
|
| |
Message-ID: <Pine.SOL.4.10.10207031150540.6601-100000@maxwell.phys.lafayette.edu>
(with an additional paranoid nit : skip test unless -c $devnull)
p4raw-id: //depot/perl@17398
|
|
|
|
|
| |
Message-ID: <20020319215246.GC311@Bagpuss.unfortu.net>
p4raw-id: //depot/perl@15338
|
|
|
|
|
| |
Message-ID: <20020304224837.GA4284@Bagpuss.unfortu.net>
p4raw-id: //depot/perl@15023
|
|
|
|
|
| |
Message-ID: <20011007205333.S38756@plum.flirble.org>
p4raw-id: //depot/perl@12356
|