summaryrefslogtreecommitdiff
path: root/hv.c
Commit message (Collapse)AuthorAgeFilesLines
* remove _() non-ansismGurusamy Sarathy1999-06-021-5/+5
| | | p4raw-id: //depot/perl@3518
* hv.c calling negative malloc()Ilya Zakharevich1999-05-251-1/+3
| | | | | Message-ID: <19990524174356.A1944@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@3470
* various fixes for clean build and test on win32; configpm broken,Gurusamy Sarathy1999-05-111-18/+32
| | | | | | | | | | needed to open myconfig.SH rather than myconfig; sundry adjustments to bytecode stuff; tweaks to DYNAMIC_ENV_FETCH code to make it work under win32; getenv_sv() changed to getenv_len() since SVs aren't visible in the lower echelons; remove bogus exports from config.sym; PERL_OBJECT-ness for C++ exception support; null out IoDIRP in filter_del() or sv_free() will attempt to close it p4raw-id: //depot/perl@3387
* applied non-conflicting parts of suggested patchCharles Bailey1999-05-051-12/+34
| | | | | | Message-id: <01J9AZY8I2PW001O2S@mail.newman.upenn.edu> Subject: [Patch 5.005_56] Revised VMS patch p4raw-id: //depot/perl@3306
* correct places that said newSVpv() when they meant newSVpvn()Gurusamy Sarathy1999-04-041-11/+11
| | | p4raw-id: //depot/perl@3217
* update copyright yearsGurusamy Sarathy1999-03-221-1/+1
| | | p4raw-id: //depot/perl@3124
* add const qualifier to most char* prototypes, handle ripple effectGurusamy Sarathy1999-02-151-8/+9
| | | p4raw-id: //depot/perl@2924
* typo in newHVhv()Gurusamy Sarathy1998-11-081-3/+2
| | | p4raw-id: //depot/perl@2214
* integrate changes#1982,2014,2021 (from maint-5.005)Gurusamy Sarathy1998-10-251-2/+2
| | | | | | | p4raw-link: @2021 on //depot/maint-5.005/perl: ece095e7b265a16d4ec3543b1418100f9c635a87 p4raw-link: @2014 on //depot/maint-5.005/perl: cca0b9804acab4b7678c0f185888d57497a5c2a9 p4raw-link: @1982 on //depot/maint-5.005/perl: fe676099d996f70caaedeb6ae85adc3ee59d2240 p4raw-id: //depot/perl@2059
* lock sv_mutex in new_he() and del_he() for USE_THREADSDrago Goricanec1998-09-251-10/+12
| | | | | | Message-Id: <19980924220109J.drago@otsd.ts.fujitsu.co.jp> Subject: [PATCH 5.005_51] Re: Perl 5.005_51 not yet multi Thread safe p4raw-id: //depot/perl@1880
* provide locked access to string table for USE_THREADSGurusamy Sarathy1998-09-241-0/+4
| | | p4raw-id: //depot/perl@1863
* complete s/foo/PL_foo/ changes (all escaped cases identified withGurusamy Sarathy1998-07-201-4/+4
| | | | | | brute force search script). Result builds and passes all tests on Solaris. win32 and PERL_OBJECT are still untested. p4raw-id: //depot/perl@1578
* PL_ for perl's mallocNick Ing-Simmons1998-07-191-2/+2
| | | p4raw-id: //depot/ansiperl@1569
* PL_ prefix to all perlvars, part1Nick Ing-Simmons1998-07-181-28/+28
| | | | | Builds and passes all tests at one limit i.e. -DPERL_GLOBAL_STRUCT p4raw-id: //depot/ansiperl@1532
* applied suggested fix for xhv_array sizing, with portability tweaksGisle Aas1998-07-051-18/+19
| | | | | | Subject: Re: [PATCH] Re: perl5.004_69 core dump Message-ID: <m3af6qowmk.fsf@furu.g.aas.no> p4raw-id: //depot/perl@1313
* patchlevel up to 5.004_70, various tweaksGurusamy Sarathy1998-07-051-29/+33
| | | | | | | | * fix taint problems due to maintbranch regression * PERL_OBJECT now builds again * deal with C++ strong-typing problems in hv.c * fix mismatch in "reserved word" diagnostic p4raw-id: //depot/perl@1311
* simplify xhv_array sizingGisle Aas1998-07-041-19/+6
| | | | | | Subject: Re: [PATCH] Re: perl5.004_69 core dump Message-ID: <m3yauav9bt.fsf@furu.g.aas.no> p4raw-id: //depot/perl@1304
* added patch for overloading constants, made PERL_OBJECT-awareIlya Zakharevich1998-06-291-0/+39
| | | | | Message-Id: <199806270328.XAA21088@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@1259
* applied patch, regen headersIlya Zakharevich1998-06-231-4/+3
| | | | | | Message-Id: <199806220819.EAA03295@monk.mps.ohio-state.edu> Subject: [PATCH 5.004_67] Malloc size feedback p4raw-id: //depot/perl@1201
* [asperl] integrate mainline changes (untested)Gurusamy Sarathy1998-05-181-1/+1
|\ | | | | p4raw-id: //depot/asperl@1010
| * [win32] make hv_iterinit() return HvKEYS()SynaptiCAD, Inc.1998-05-031-1/+1
| | | | | | | | | | | | Message-Id: <3.0.1.32.19980502162922.009e6320@www.syncad.com> Subject: incorrect return value for hv_iterinit p4raw-id: //depot/win32/perl@914
* | [asperl] integrate mainline changesGurusamy Sarathy1998-04-081-9/+13
|\ \ | |/ | | p4raw-id: //depot/asperl@884
| * [win32] change 866 was incompleteGurusamy Sarathy1998-04-041-1/+1
| | | | | | p4raw-id: //depot/win32/perl@879
| * [win32] fixup hv_free_ent() to not fail on null HeVAL()Gurusamy Sarathy1998-04-031-2/+5
| | | | | | p4raw-id: //depot/win32/perl@866
| * Missing dTHR in hv_fetch_ent when statics moved to thread struct.Malcolm Beattie1998-03-161-0/+1
| | | | | | p4raw-id: //depot/perl@825
| * [win32] merge C<local $tied{foo}> patch, also moved statics inGurusamy Sarathy1998-03-091-9/+7
| | | | | | | | | | [ah]v.c to thrdvar.h p4raw-id: //depot/win32/perl@802
* | [asperl] added AS patch#5 (patch #4 was intentionally skipped afterGurusamy Sarathy1998-02-141-4/+2
| | | | | | | | | | discussion) p4raw-id: //depot/asperl@521
* | [asperl] integrate win32 branch contentsGurusamy Sarathy1998-02-091-1/+17
|\ \ | |/ | | p4raw-id: //depot/asperl@493
| * nomemokGisle Aas1998-02-061-0/+16
| | | | | | p4raw-id: //depot/perl@475
| * Newer -DLEAKTEST patchIlya Zakharevich1998-02-061-1/+1
| | | | | | p4raw-id: //depot/perl@466
* | [asperl] initial merge of latest win32 branch into ASPerlGurusamy Sarathy1998-01-301-27/+41
|\ \ | |/ | | p4raw-id: //depot/asperl@445
| * Gisle's av_unshift tweak, two small patches from chipNick Ing-Simmons1998-01-241-4/+4
| | | | | | | | | | | | and check for NULL in hv_delete in case '~' and tie magic are present p4raw-id: //depot/ansiperl@438
| * [win32] change#398 breaks ENV_IS_CASELESS, fix itGurusamy Sarathy1998-01-081-12/+12
| | | | | | | | | | p4raw-link: @398 on //depot/perl: 0a0bb7c7269ef911ca3981a2b5365150a9ad4cfe p4raw-id: //depot/win32/perl@412
| * Fix hv_delete for 'm'-magic. Based on following patch, modifiedOwen Taylor1998-01-081-16/+30
| | | | | | | | | | | | to cope with ENV_IS_CASELESS: Subject: [perl5.004_56] [PATCH] hv_delete and 'm' magic p4raw-id: //depot/perl@398
* | [asperl] added AS patch#2Gurusamy Sarathy1998-01-301-7/+9
|/ | | p4raw-id: //depot/asperl@443
* [win32] tweak case-insensitive ENV implementationGurusamy Sarathy1998-01-071-11/+23
| | | p4raw-id: //depot/win32/perl@396
* [win32] Support case-tolerant %ENVGurusamy Sarathy1998-01-051-19/+80
| | | | | | | | - underlying system calls see the case-as-supplied by user - added tests to verify addition/deletion/enumeration case-tolerance - hv.c touched, but changes are fully conditional on -DENV_IS_CASELESS, which is default on win32 now p4raw-id: //depot/win32/perl@393
* Merge win32 and ansiperl branches post _55 tweaks from Sarathy.Nick Ing-Simmons1997-11-271-2/+2
|\ | | | | p4raw-id: //depot/ansiperl@314
| * [win32] Various changes to make it build cleanly and pass all tests:Gurusamy Sarathy1997-11-261-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - needed to run `perl embed.pl` - use PERL_CORE instead of PERLDLL in places that do mean PERL_CORE - fix prototypes for a few declarations (Borland is finally quiet) - move declaration of Mymalloc etc to perl.h (since win32 and other ports may #define malloc themselves, to let extensions bind to the version that perl used) - move struct reg_data into a public header file, since it is referenced in a public datatype - win32 makefile fixes - fix remaining s/thread/perl_thread/ p4raw-id: //depot/win32/perl@304
* | Fixup _55 for Win32:Nick Ing-Simmons1997-11-261-4/+2
|/ | | | | | | Missed thread :-> perl_thread changes Two #define THR (not the same) K&R style func in hv.c p4raw-id: //depot/ansiperl@309
* Fix minor thinkos in hv.c and pp_ctl.c. This is 5.004_55.Malcolm Beattie1997-11-251-1/+0
| | | p4raw-id: //depot/perl@301
* Make hv_ functions cope better with 'm'-magic:Owen Taylor1997-11-251-23/+45
| | | | | Subject: [5.004_54] Another neglected patch p4raw-id: //depot/perl@298
* Reverse integrate Malcolm's chanes into localNick Ing-Simmons1997-11-071-1/+1
| | | | | | | | repository, then import result back into my view of Malcolm's repository. Builds and passes (most) tests with GNU C++/Solaris and Borland C++, Win32. p4raw-id: //depot/ansiperl@210
* Builds C++ Borland, MSVC++ (Win32) and GCC++ (Solaris)Nick Ing-Simmons1997-11-051-1/+1
| | | p4raw-id: //depot/ansiperl@203
* Integrate mainline @ 18:15 CST 31 Oct 1997Nick Ing-Simmons1997-11-011-1/+1
|\ | | | | p4raw-id: //depot/ansiperl@199
| * Half way through moving per-thread magicals into per-thread fieldsMalcolm Beattie1997-10-311-1/+1
| | | | | | | | | | | | and the associated new OP_SPECIFIC and find_thread_magical stuff. perl will compile but plenty of the magicals are still broken. p4raw-id: //depot/perl@195
* | Convert miniperl sources to ANSI C. Several passes ofNick Ing-Simmons1997-10-311-100/+32
|/ | | | | | | | | GNU C's 'protoize' plus a few hand edits. Will compile miniperl with gcc -x c++ (i.e. treat .c a C++ files) Does not link seems gcc's C++ does not define a symbol for const char foo[] = "...."; i.e. with empty []. p4raw-id: //depot/ansiperl@194
* Merge maint-5.004 branch (5.004_04) with mainline.Malcolm Beattie1997-10-161-2/+5
|\ | | | | p4raw-id: //depot/perl@137
| * [inseparable changes from patch to perl 5.004_04]perl-5.004_04Perl 5 Porters1997-09-051-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [editor's note: this one imported like a charm!] TESTS - Subject: Improve pragma/locale test 102 - and don't fail, just warn From: Jarkko Hietaniemi <jhi@anna.in-berlin.de> Files: t/pragma/locale.t Subject: Invalid test output in t/op/taint.t in trial 1 From: Dan Sugalski <sugalsd@lbcc.cc.or.us> Files: t/op/taint.t t/op/taint.t prints out invalid ok messages for tests it skips. Rather than printing "ok 136" it prints "136 ok". p5p-msgid: 3.0.3.32.19970919160918.00857a50@stargate.lbcc.cc.or.us UTILITIES - Subject: Perldoc tiny patch to avoid $0 From: Ilya Zakharevich <ilya@math.ohio-state.edu> Files: utils/perldoc.PL Msg-ID: 199709122141.RAA16846@monk.mps.ohio-state.edu (applied based on p5p patch as commit 0b166b6635cf199f072db516b2a523ee659394d5) Subject: h2ph broken in 5.004_02 From: David Mazieres <dm@reeducation-labor.lcs.mit.edu> Files: utils/h2ph.PL Msg-ID: 199708201700.KAA02621@www.chapin.edu (applied based on p5p patch as commit 4a8e146e38ec2045f1f817a7cb578e1b1f80f39f) Subject: add key_t caddr_t to h2ph From: Tony Sanders <sanders@bsdi.com> Files: eg/sysvipc/ipcsem utils/h2ph.PL Msg-ID: 199708272301.RAA12803@austin.bsdi.com (applied based on p5p patch as commit 0806a92ffc3a74ca70aa81051cdf2a306cd0a8af) Subject: perldoc search ., lib and blib/* if -f 'Makefile.PL' From: Tim Bunce <Tim.Bunce@ig.co.uk> Files: utils/perldoc.PL Subject: perldoc finds wrong pod2man (from perldoc source) # We must look both in @INC for library modules and in PATH # for executables, like h2xs or perldoc itself. Unfortunately, searching PATH for installed perl executables like pod2man is INCORRECT. perldoc should start by searching the directory it was executed from, which might not be in the PATH at all. Credited: Joseph "Moof-in'" Hall <joseph@cscaper.com> p5p-msgid: 199708251732.KAA19299@gadget.cscaper.com Subject: 5.004m4t1: perlbug: NIS domainname gets into wrong places From: Andreas J. Koenig <koenig@anna.mind.de> Files: utils/perlbug.PL Msg-ID: sfcg1qy38as.fsf@anna.in-berlin.de (applied based on p5p patch as commit 41f926b844140b7f7eaa9302113e45df3a9f9ff4) Subject: add better local patch info to perlbug From: Tim Bunce <Tim.Bunce@ig.co.uk> Files: utils/perlbug.PL Subject: perldoc - suggest modules if requested module not found From: Anthony David <adavid@netinfo.com.au> Files: utils/perldoc.PL private-msgid: 3439CD83.6969@netinfo.com.au Subject: perldoc mail::foo tries to read binary /usr/ucb/mail From: Tim Bunce <Tim.Bunce@ig.co.uk> Files: utils/perldoc.PL Subject: perldoc weirdness perldoc mail::imap yields: {joseph}:79% perldoc mail::foo can't open /usr/ucb/mail: Permission denied at ./pod2man line 362. Credited: Joseph "Moof-in'" Hall <joseph@cscaper.com> p5p-msgid: 199710082014.NAA00808@gadget.cscaper.com Subject: perldoc -f setpwent (for example) returns no descriptive text From: Tim Bunce <Tim.Bunce@ig.co.uk> Files: utils/perldoc.PL Subject: perldoc diffs: don't search auto - much faster From: "Joseph N. Hall" <joseph@5sigma.com> Files: utils/perldoc.PL Msg-ID: MailDrop1.2d7dPPC.971012211957@screechy.cscaper.com (applied based on p5p patch as commit 62b753c6ae4ab9bf22fbb6ec7ceac820bcef8fe4)
* | Fixed sv_mutex locking for new_SV, del_SV and nice_chunks.Malcolm Beattie1997-10-031-6/+6
| | | | | | p4raw-id: //depot/perl@103