| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
lib/Time/Local.pm
lib/Time/Local.t
reentr.h
|
| |
| |
| |
| |
| |
| | |
Work around a system that doesn't have gm/localtime_r(). This replaces Perl's
own gm/localtime() wrapper which couldn't be called outside a PP anyway
because it needs my_perl.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
From: Michael G Schwern <schwern@pobox.com>
Date: Fri, 26 Sep 2008 00:06:31 -0400
Message-ID: <48DC5FC7.3000807@pobox.com>
I was reading reentr.h and noticed a lot of the endif's for the
HAS_XXX_R macros were wrongly indented and their comments had the
wrong condition.
The attached patch fixes the indentation and removes all but the last
comment which is shortest and furthest from its start. No point in an
end-of-block comment on a one statement block, just falls out of date
and obscures the structure.
(plus "make regen")
|
|
|
|
|
|
|
|
| |
Thanks to the wisdom of london.pm, stuff the filename into the SCALAR
slot of the typeglob created in safer_open(), so that ...
Add safer_close(), that will die (with the filename) if the close
fails.
p4raw-id: //depot/perl@33539
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
what it does. Use File::Compare rather than Digest::MD5, as the files
are small enough to simply read in. (File::Compare dates from 5.004)
Remove safer_rename_always(), which isn't used.
DRY by replacing the cargo-culted "open or die" with a new function
safer_open(), which uses Gensym (5.002) to create an anonymous file
handle, and opens and binmodes the file, or dies.
This necessitates replacing bareword file handles with lexicals in all
the callers.
Correct the names of files in close or die constructions.
p4raw-id: //depot/perl@33538
|
|
|
|
|
|
| |
Message-ID: <47D720CE.7060004@gmail.com>
Date: Tue, 11 Mar 2008 18:16:14 -0600
p4raw-id: //depot/perl@33537
|
|
|
|
|
|
|
|
|
|
|
|
| |
ability to create landmines that will explode under someone in the
future when they upgrade their compiler to one with better
optimisation. We've already done this at least twice.
(Yes, some of the assertions are after code that would already have
SEGVd because it already deferences a pointer, but they are put in
to make it easier to automate checking that each and every case is
covered.)
Add a tool, checkARGS_ASSERT.pl, to check that every case is covered.
p4raw-id: //depot/perl@33291
|
|
|
|
|
|
|
|
| |
Message-ID: <46DC3C7B.9000602@iki.fi>
Message-ID: <46DC3C7B.9000602@iki.fi>
Add { } to keep all variable declarations at the start of blocks.
p4raw-id: //depot/perl@31789
|
|
|
|
|
| |
Message-ID: <46D617B5.3000002@iki.fi>
p4raw-id: //depot/perl@31765
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[ 24458]
Fix from Steve Peters
[ 24464]
Subject: RE: 5.8.7-tobe fails to compile on AIX 4.3.3
From: "Jan Dubois" <jand@ActiveState.com>
Message-Id: <200505131921.j4DJLgG5007986@smtp3.ActiveState.com>
and then regenerate reentr.h, with the , no longer inside
REENTR_MEMZERO(). This keeps macros looking like functions.
p4raw-link: @24464 on //depot/maint-5.8/perl: 65af2a75d112159ec53912329b2e01abfb9a3fb4
p4raw-link: @24458 on //depot/maint-5.8/perl: ef0ef25c116d419e8978d636281fda0a90743c2a
p4raw-id: //depot/perl@30235
p4raw-integrated: from //depot/maint-5.8/perl@24464 'edit in' reentr.pl
(@24458..)
|
|
|
|
|
| |
generate code (thanks to Jarkko)
p4raw-id: //depot/perl@29704
|
|
|
| |
p4raw-id: //depot/perl@29210
|
|
|
|
|
| |
Message-ID: <451BAEE1.1070509@iki.fi>
p4raw-id: //depot/perl@28898
|
|
|
|
|
| |
Message-ID: <451B9874.7060000@iki.fi>
p4raw-id: //depot/perl@28896
|
|
|
|
|
|
|
|
| |
Message-ID: <45175CA4.3020900@iki.fi>
remove casts that were causing failure on FreeBSD -Duse64bitint, and
some other cleanups.
p4raw-id: //depot/perl@28886
|
|
|
|
|
| |
Message-ID: <45122C6F.9080904@iki.fi>
p4raw-id: //depot/perl@28877
|
|
|
| |
p4raw-id: //depot/perl@28750
|
|
|
| |
p4raw-id: //depot/perl@28749
|
|
|
| |
p4raw-id: //depot/perl@28565
|
|
|
| |
p4raw-id: //depot/perl@26572
|
|
|
|
|
|
|
|
| |
Message-ID: <42CC3CE9.5050606@divsol.com>
(reverted all dual-lived modules since they must work with older
perls too so must wait for a new Devel::PPPort)
p4raw-id: //depot/perl@25101
|
|
|
|
|
|
|
| |
Too small a buffer would cause ERANGE and a retry with double the
buffer size. later at EOF, the apparent error got 'stuck' as
ERANGE rather than ENOENT, so the buffer size doubled recursively
p4raw-id: //depot/perl@25084
|
|
|
| |
p4raw-id: //depot/perl@25059
|
|
|
|
|
| |
starts.
p4raw-id: //depot/perl@24774
|
|
|
|
|
|
|
|
| |
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2453D793@esebe105.NOE.Nokia.com>
completed by:
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2453D7A0@esebe105.NOE.Nokia.com>
p4raw-id: //depot/perl@24492
|
|
|
|
|
|
| |
in read-only mode. Make vi modelines compatible with non-vim
vi versions.
p4raw-id: //depot/perl@24445
|
|
|
|
|
| |
Message-Id: <20050510174413.GA19686@mccoy.peters.homeunix.org>
p4raw-id: //depot/perl@24441
|
|
|
|
|
| |
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2453D653@esebe105.NOE.Nokia.com>
p4raw-id: //depot/perl@24271
|
|
|
| |
p4raw-id: //depot/perl@24176
|
|
|
| |
p4raw-id: //depot/perl@23180
|
|
|
|
|
| |
Message-Id: <45igqvsus3hr8bno3si087j5qnrqvn79bf@4ax.com>
p4raw-id: //depot/perl@21660
|
|
|
|
|
| |
Message-ID: <8dqbqvg16ln2r807l1l2c905lh7hte303v@4ax.com>
p4raw-id: //depot/perl@21645
|
|
|
|
|
|
|
|
|
|
| |
when returning an int can either return the error in the return
value or in the errno. We need a new per-interp variable to store
the return value instead of clobbering the errno with it. The new
variable, PL_reentrant_retint, is only used within the reentrancy
framework, and immediately after it's set, so there should not be
similar visibility issues as for the errno. Spotted by Edward Moy.
p4raw-id: //depot/perl@19357
|
|
|
|
|
|
|
| |
(Lots of Perl 5 source code archaeology was involved.)
Larry didn't make strangled noises when I showed him
the patch, either :-)
p4raw-id: //depot/perl@19242
|
|
|
|
|
|
|
|
|
|
| |
[ 19119]
Address "5.8.1@19053: crypt_r() takes 128K per thread".
p4raw-link: @19119 on //depot/maint-5.8/perl: 5338c2bbd71426ba96ace22615fafeda3d05e36d
p4raw-link: @19053 on //depot/maint-5.8/perl: dab75801826d3b09804fff099d3631e91578dcd1
p4raw-id: //depot/perl@19122
p4raw-integrated: from //depot/maint-5.8/perl@19121 'copy in' reentr.c
reentr.h reentr.pl (@19106..) 'merge in' pp.c (@19045..)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[ 19106]
Subject: [PATCH 5.8.1 @19053] OS/2-related patches
Message-ID: <20030331204337.GA3634@math.berkeley.edu>
and regen Configure.
p4raw-link: @19106 on //depot/maint-5.8/perl: 8257dec7ed17c0d4d721411d2a781ceadf724da5
p4raw-id: //depot/perl@19120
p4raw-edited: from //depot/maint-5.8/perl@19118 'edit in' embedvar.h
(@18804..)
p4raw-integrated: from //depot/maint-5.8/perl@19118 'copy in'
os2/Makefile.SHs os2/OS2/ExtAttr/Changes
os2/OS2/ExtAttr/ExtAttr.pm os2/OS2/PrfDB/Changes
os2/OS2/PrfDB/PrfDB.pm os2/OS2/REXX/DLL/DLL.pm
os2/OS2/REXX/REXX.pm os2/dl_os2.c os2/os2thread.h (@17645..)
ext/threads/threads.xs (@18619..) perlio.c (@18948..)
Makefile.SH (@19061..) 'ignore' embed.pl (@18872..) embed.h
(@19011..) embed.fnc (@19030..) 'merge in' os2/os2ish.h
(@17645..) os2/os2.c (@18347..) perlapi.h (@18804..) perlvars.h
(@18808..) makedef.pl (@18896..) intrpvar.h (@18920..) sv.c
(@18961..)
p4raw-edited: from //depot/maint-5.8/perl@19106 'edit in' Configure
(@19040..)
p4raw-integrated: from //depot/maint-5.8/perl@19106 'copy in' reentr.h
(@18850..) reentr.c reentr.pl (@18922..)
|
|
|
|
|
| |
pull shorts off the va_args, int is the shortest (ahem).
p4raw-id: //depot/perl@18919
|
|
|
|
|
|
| |
the random() macros were all wrong. (I don't know why
metaconfig did so much reordering of config_h.SH.)
p4raw-id: //depot/perl@18831
|
|
|
| |
p4raw-id: //depot/perl@18801
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
18422 :
Third Degree found a read of uninit memory (after setting
grent_size with sysconf(), pwent_size was read). Also make
the ERANGE/INVARG more consistent.
18423 :
spent_size was still off. (As far as I can tell
_SC_GETPW_R_SIZE_MAX is supposed to be used also
for spents, not just pwents.)
p4raw-link: @18422 on //depot/maint-5.8/perl: c45c44aa17d6498a967957363477eb572b803726
p4raw-id: //depot/perl@18498
p4raw-integrated: from //depot/maint-5.8/perl@18497 'copy in' reentr.h
(@17645..) reentr.c reentr.pl (@18422..)
|
|
|
|
|
| |
Message-ID: <20021004131157.GD278184@lyta.hut.fi>
p4raw-id: //depot/perl@17999
|
|
|
|
|
| |
Message-ID: <20020926220856.GA339120@lyta.hut.fi>
p4raw-id: //depot/perl@17967
|
|
|
| |
p4raw-id: //depot/perl@17781
|
|
|
| |
p4raw-id: //depot/perl@16711
|
|
|
|
|
| |
convoluted code, but it ain't broken, so...
p4raw-id: //depot/perl@16590
|
|
|
| |
p4raw-id: //depot/perl@16588
|
|
|
| |
p4raw-id: //depot/perl@16525
|
|
|
|
|
| |
only for the APIs where it matters.
p4raw-id: //depot/perl@15910
|
|
|
|
|
|
| |
having/not having FILE**. Also make the names of the
{set,get,end}* interface struct members a bit shorter.
p4raw-id: //depot/perl@15831
|