| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
platforms that don't have pthread_atfork() (extension of
the fix in change#11151).
Note that this will not help extensions that call fork()
directly in C, or that link to libraries that call fork()
directly. Such cases must be fixed to either call
PerlProc_fork(), or call atfork_lock() in parent before the
calling the function that forks and call atfork_unlock()
in both parent and child immediately after the fork().
(There are no worries if C code calls exec() in the child
immediately after a fork(). Only cases where the child
calls perl's API functions (including New()) after the
fork() are problematic.)
This change also eliminates the use of vfork() from perl,
since all such uses were violating the severe restrictions
on modifying the state of the process between the vfork()
and the exec().
This is a modified version of patches suggested by Abhijit
Menon-Sen and Richard Soderberg.
p4raw-link: @11151 on //depot/perl: 50dd6e574ff39b609595ddb16b2fe9f625a26f8c
p4raw-id: //depot/perl@11423
|
|
|
|
|
| |
Message-ID: <20010712235432.J24707@lustre.dyn.wiw.org>
p4raw-id: //depot/perl@11321
|
|
|
| |
p4raw-id: //depot/perl@11293
|
|
|
| |
p4raw-id: //depot/perl@11289
|
|
|
|
|
|
|
| |
Message-ID: <20010708132434.A9448@deep-dark-truthful-mirror>
Split out pending_ident().
p4raw-id: //depot/perl@11213
|
|
|
|
|
|
|
|
|
|
| |
usemymalloc by exporting Perl_malloc() et al as simple wrappers
around the system functions (this allows most extensions built
using one mode to coexist with perls built in the other mode)
XXX the Perl_mfree() wrapper might need to do return(free()) on
platforms where Free_t isn't "void"
p4raw-id: //depot/perl@11152
|
|
|
|
|
|
|
|
|
|
| |
naming discipline
win32 fix: enable getcwd_sv() to work on windows (POSIX.t was failing
because of this)
fix a warning about "fd" being used without being set in Cwd.xs
p4raw-id: //depot/perl@11067
|
|
|
|
|
| |
for the benefit of C++ compilers, as suggested by Guruprasad.
p4raw-id: //depot/perl@10928
|
|
|
|
|
|
| |
strange SEGVs in 64bit x86 FreeBSD observed by
Nicholas Clark.
p4raw-id: //depot/perl@10798
|
|
|
| |
p4raw-id: //depot/perl@10758
|
|
|
|
|
| |
(src/lib/libc/stdlib/realpath.c 1.4).
p4raw-id: //depot/perl@10750
|
|
|
|
|
|
|
| |
with getcwd() since there's a danger of buffer overflow.
Also make the POSIX extension to use sv_getcwd().
Finally, a missed proto.h fragment.
p4raw-id: //depot/perl@10748
|
|
|
| |
p4raw-id: //depot/perl@10685
|
|
|
| |
p4raw-id: //depot/perlio@10619
|
|
|
| |
p4raw-id: //depot/perlio@10585
|
|
|
|
|
| |
Message-ID: <Pine.SOL.4.10.10106121706360.11034-100000@maxwell.phys.lafayette.edu>
p4raw-id: //depot/perl@10542
|
|
|
|
|
| |
from sv.c statics to util.c and public.
p4raw-id: //depot/perl@10505
|
|
|
|
|
|
|
| |
Message-Id: <200106101023.LAA32085@crypt.compulink.co.uk>
Encapsulate the scan of the decimal radix separator.
p4raw-id: //depot/perl@10495
|
|
|
| |
p4raw-id: //depot/perl@10485
|
|
|
| |
p4raw-id: //depot/perl@10464
|
|
|
| |
p4raw-id: //depot/perl@10392
|
|
|
|
|
| |
Message-Id: <200105311949.UAA02798@crypt.compulink.co.uk>
p4raw-id: //depot/perl@10379
|
|
|
|
|
| |
Message-ID: <Pine.LNX.4.21.0105311733270.732-100000@mako.covalent.net>
p4raw-id: //depot/perl@10369
|
|
|
|
|
| |
Message-Id: <200105261605.RAA12295@crypt.compulink.co.uk>
p4raw-id: //depot/perl@10223
|
|
|
|
|
| |
Message-ID: <Pine.LNX.4.21.0105101546510.2962-100000@mako.covalent.net>
p4raw-id: //depot/perl@10076
|
|
|
|
|
| |
Message-ID: <Pine.LNX.4.21.0105061142040.12858-100000@localhost.localdomain>
p4raw-id: //depot/perl@10015
|
|
|
|
|
|
| |
at the left hand side if there were 0x100.. characters in the
character class.
p4raw-id: //depot/perl@9901
|
|
|
|
|
| |
as my_strftime(), requires HAS_STRFTIME.
p4raw-id: //depot/perl@9746
|
|
|
|
|
| |
in preparation of Time::Piece.
p4raw-id: //depot/perl@9745
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
keep eval"" CVs alive until the end of the statement in which
they're called
add README.macos (from Chris Nandor)
tyop in change#9555
p4raw-link: @9587 on //depot/maint-5.6/perl: d72c2fc956b5cb46ede17d06f89a463c78f1cf5f
p4raw-link: @9584 on //depot/maint-5.6/perl: e6fbcc36a54a8afd8dbcdcb9a8d8e178df530b97
p4raw-link: @9555 on //depot/perl: 6a0af2f17bcde4767b90a72eff7083c5effff21d
p4raw-id: //depot/perl@9588
p4raw-branched: from //depot/maint-5.6/perl@9583 'branch in'
README.macos
p4raw-integrated: from //depot/maint-5.6/perl@9583 'copy in'
pod/perlfaq9.pod (@9585..) 'merge in' scope.h (@8568..)
pod/perl.pod (@8986..) MANIFEST (@9227..) win32/Makefile
(@9286..) pp_ctl.c scope.c (@9288..) global.sym (@9289..)
embed.h embed.pl objXSUB.h perlapi.c proto.h (@9292..)
pod/buildtoc.PL (@9312..) win32/makefile.mk (@9495..) sv.c
(@9496..) pod/perlguts.pod (@9514..)
|
|
|
| |
p4raw-id: //depot/perl@9499
|
|
|
|
|
| |
Message-ID: <20010327205710.A24053@puffinry.freeserve.co.uk>
p4raw-id: //depot/perl@9390
|
|
|
| |
p4raw-id: //depot/perlio@9319
|
|
|
|
|
|
|
|
|
|
| |
more thorough cleaning of arenas.
p4raw-link: @9197 on //depot/maint-5.6/perl: ec3d44d040803cac937295d8f4740e6a36ba30fb
p4raw-id: //depot/perl@9201
p4raw-integrated: from //depot/maint-5.6/perl@9200 'merge in'
t/op/sort.t (@7895..) perl.c (@9064..) sv.c (@9108..) embed.pl
proto.h (@9154..)
|
|
|
|
|
|
|
|
|
|
|
|
| |
PerlIO_stdoutf() wasn't properly supported under PERL_IMPLICIT_SYS
(caused Storable 1.0.10 to break on windows)
p4raw-link: @9154 on //depot/maint-5.6/perl: 241ea079897f140daac27d059c9935e78ec152ec
p4raw-id: //depot/perl@9156
p4raw-integrated: from //depot/maint-5.6/perl@9155 'copy in' globals.c
(@5902..) 'merge in' global.sym (@8599..) iperlsys.h (@8800..)
objXSUB.h perlapi.c (@8993..) embed.h embed.pl proto.h
(@9108..)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
fix memory leak in C<sub X { sub {} }> arising from a refcount
loop between the outer sub and the inner prototype anonsub
this also enables closures returned by subroutines that
subsequently get redefined to work without generating coredumps :)
completely removed the free_closures() hack--it shouldn't be
needed anymore
p4raw-link: @9108 on //depot/maint-5.6/perl: 1cf1f64f42eb50a67f2427ff9d6d24023a2b9997
p4raw-id: //depot/perl@9109
p4raw-branched: from //depot/maint-5.6/perl@9107 'branch in'
t/op/anonsub.t
p4raw-integrated: from //depot/maint-5.6/perl@9107 'merge in' sv.c
(@8871..) embed.h (@8886..) pod/perlapi.pod proto.h (@8993..)
embed.pl (@8995..) MANIFEST (@9030..) op.c op.h (@9055..)
pp_ctl.c (@9076..)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- rename utf8/uv functions to indicate what sort of uv they provide (uvuni/uvchr)
- use utf8n_xxxx (c.f. pvn) for forms which take length.
- back out vN.N and $^V exceptions to e2a/a2e
- make "locale" isxxx macros be uvchr (may be redundant?)
Not clear yet that toUPPER_uni et. al. return being handled correctly.
The tr// and rexexp stuff still needs an audit, assumption is they are working
in Unicode space.
Need to provide v5.6 names for XS modules (decide is uni or chr ?).
p4raw-id: //depot/perlio@9096
|
|
|
|
|
|
|
| |
Minor additions to test.
Tweaks sv_utf8_upgrade() to force SvPV, and always SvUTF8_on and return length.
Adds STRLEN to standard typemap.
p4raw-id: //depot/perlio@8923
|
|
|
|
|
|
|
| |
Message-ID: <Pine.LNX.4.21.0102222356460.14249-100000@mako.covalent.net>
Gets things running but not complete.
p4raw-id: //depot/perl@8912
|
|
|
| |
p4raw-id: //depot/perl@8870
|
|
|
|
|
| |
the DB_File tie problem.
p4raw-id: //depot/perl@8846
|
|
|
|
|
| |
Message-ID: <Pine.LNX.4.21.0102181448290.10021-100000@mako.covalent.net>
p4raw-id: //depot/perl@8840
|
|
|
|
|
| |
Message-ID: <Pine.LNX.4.21.0102161519500.30352-100000@mako.covalent.net>
p4raw-id: //depot/perl@8815
|
|
|
| |
p4raw-id: //depot/perl@8783
|
|
|
|
|
| |
Message-ID: <Pine.LNX.4.21.0102101047320.15298-100000@mako.covalent.net>
p4raw-id: //depot/perl@8760
|
|
|
| |
p4raw-id: //depot/perl@8716
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- canonical UTF-8 hash keys: if a key string for a hash is
UTF8-on, try downgrade the string and use it if
unicode::distinct is not in effect.
For the task, I added a function bytes_from_utf8() to utf8.c.
It might resemble utf8_to_bytes() but it is not convenient
to the task.
Made a test for it and added to t/op/each.t
- Changed do_print in doio.c to apply sv_utf8_(downgrade|upgrade) to
the mortal copy of the argument SV.
And changed t/io/utf8.t test 18 which expects print() to
upgrade its argument.
- re-implement sv_eq with bytes_from_utf8()
- some bug fixes
- tr/// does not handle UTF8 range (\x{}-\x{})
- \ before raw UTF8 character produced
"Malformed UTF-8 character" warning.
- "\x{100}\N{CENT SIGN}" is Malformed.
Added tests for these 3.
- and one silly bug (by me) with qu operator.
p4raw-id: //depot/perl@8583
|
|
|
|
|
| |
Message-ID: <20010122021722.A9334@pembro26.pmb.ox.ac.uk>
p4raw-id: //depot/perl@8562
|
|
|
|
|
|
|
| |
parser as Bison)
Message-ID: <5930DC161690D21196670090271575470397E915@madt009a.siemens.es>
p4raw-id: //depot/perl@8532
|
|\
| |
| | |
p4raw-id: //depot/perlio@8495
|