summaryrefslogtreecommitdiff
path: root/mg.c
Commit message (Collapse)AuthorAgeFilesLines
* $0 modifying part II (HP-UX only)Jarkko Hietaniemi2002-12-021-0/+12
| | | | | | Subject: [PATCH] $0 modifying Message-ID: <20021130181651.GA5876@kosh.hut.fi> p4raw-id: //depot/perl@18230
* $0 mofifying part IJarkko Hietaniemi2002-12-021-0/+2
| | | | | | Subject: [PATCH] $0 modifying Message-ID: <20021130181651.GA5876@kosh.hut.fi> p4raw-id: //depot/perl@18229
* The Inaba patch for tr/// vs. use encodingDan Kogai2002-10-241-14/+19
| | | | | Message-Id: <218B4434-E4D0-11D6-A668-0003939A104C@dan.co.jp> p4raw-id: //depot/perl@18058
* Happy chainsaw stories; The removal of the 5005 threadsH.Merijn Brand2002-10-191-25/+0
| | | | | Still imcomplete. Configure will follow p4raw-id: //depot/perl@18030
* enable -ansi -pedanticJarkko Hietaniemi2002-09-261-1/+8
| | | | | Message-ID: <20020917221925.GF85044@lyta.hut.fi> p4raw-id: //depot/perl@17925
* Copy On WriteNicholas Clark2002-08-171-0/+5
| | | | | | Message-id: <20020815001035.A69079@plum.flirble.org> specify "-Accflags='-DPERL_COPY_ON_WRITE'" to use p4raw-id: //depot/perl@17728
* Remove pseudo-hashes (complete)Michael G. Schwern2002-08-171-20/+6
| | | | | Message-id: <20020806200510.GC31473@ool-18b93024.dyn.optonline.net> p4raw-id: //depot/perl@17725
* [ID 20020704.001] again: #17678 caused test failures in pod2html,Hugo van der Sanden2002-08-041-13/+14
| | | | | in which $1 could leak from previous regexp p4raw-id: //depot/perl@17679
* Re: [ID 20020704.001] my $foo = $1 won't taint $foo (with use re 'taint')Hugo van der Sanden2002-08-041-7/+13
| | | | | Message-id: <200208041640.g74GeUU25061@crypt.compulink.co.uk> p4raw-id: //depot/perl@17678
* Retract #16820, #16819, #16810, #16669, #16531, #16530, #16501Jarkko Hietaniemi2002-05-281-11/+2
| | | | | to restore some level of sanity in the tied scalars can of worms. p4raw-id: //depot/perl@16845
* A shot in the dark.Jarkko Hietaniemi2002-05-271-3/+3
| | | p4raw-id: //depot/perl@16820
* Fix for the IO::Scalar bug (I think).Nick Ing-Simmons2002-05-271-2/+11
| | | | | | | | | | At tie time break the loop but in a different place: A. Increment REFCNT of the RV involved in the self-tie B. Decrement REFCNT of the thing RV points to (e.g. the GV) At mg_free time Break the connection between the RV and its referent so that we do not try and free it (again). p4raw-id: //depot/perlio@16808
* manual integrate of change#16332 from maint-5.6 branchGurusamy Sarathy2002-05-021-8/+18
| | | | | p4raw-link: @16332 on //depot/maint-5.6/perl: 9bf7742e23b67e3d7c671615795c570c51951513 p4raw-id: //depot/perl@16348
* Integrate #16334 from maint-5.6;Jarkko Hietaniemi2002-05-021-2/+1
| | | | | | | | don't pad $0 with spaces when setting it, use nulls instead (the spaces show up as a very long line in a ps listing) p4raw-id: //depot/perl@16339 p4raw-integrated: from //depot/maint-5.6/perl@16338 'merge in' mg.c (@16332..)
* More VC5-induced casting found by Nikola Knezevic.Jarkko Hietaniemi2002-04-271-1/+1
| | | p4raw-id: //depot/perl@16232
* fixes for all the warnings reported by Visual C (most of thisGurusamy Sarathy2002-04-211-10/+10
| | | | | | change is from change#12026) p4raw-link: @12026 on //depot/maint-5.6/perl: ff42b73b40f5a895aef4bed81c794f468e0609bc p4raw-id: //depot/perl@16048
* Windows 64-bit support:Gurusamy Sarathy2002-04-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | * support for building it in the regular makefiles * large files support via the _*i64() functions (this should be portable to the 32-bit universe too, but quite untested and and binary-incompatible, therefore not enabled there) * three additional test failures in addition to the t/end.t one (see README.win32) * sprintf() on Windows gets %I{32,64,}[xoud] format that parallel the ones available from the CRT (needed because Perl uses the UVxf macros in both sprintf() *and* in sv_catpvf() et al.) * add a few 64-bit notes to README.win32 The following general problems were also fixed: * s/struct stat/Stat_t/g * Data::Dumper had some naughty 'long' typecasts * Errno_pm.PL didn't work safe when winsock.h was not in the same directory as errno.h * various tell/seek things were incorrectly prototyped * squelch ugly looking noise when running tests * Embed.t wasn't linking in all the libraries * perl57.dll is now perl58.dll (anticipating 5.8.0-RC1) * re-enable all the disabled warnings (additional fixes may be needed for the warnings uncovered by this) p4raw-id: //depot/perl@16033
* Humbly pay homage to the redundancy gods.Abhijit Menon-Sen2002-04-081-0/+1
| | | p4raw-id: //depot/perl@15818
* Remove, eliminate, and destroy multiple, redundant occurences of theAbhijit Menon-Sen2002-04-081-1/+0
| | | | | same line of code. (As suggested by Simon Cozens.) p4raw-id: //depot/perl@15797
* warnings for perlio + othersPaul Marquess2002-03-251-1/+1
| | | | | | From: "Paul Marquess" <paul_marquess@yahoo.co.uk> Message-ID: <AIEAJICLCBDNAAOLLOKLMEKNEAAA.paul_marquess@yahoo.co.uk> p4raw-id: //depot/perl@15485
* more warnings tidyupPaul Marquess2002-03-111-2/+2
| | | | | | From: "Paul Marquess" <paul_marquess@yahoo.co.uk> Message-ID: <AIEAJICLCBDNAAOLLOKLMEEGDPAA.paul_marquess@yahoo.co.uk> p4raw-id: //depot/perl@15155
* If we get to sighandler by mistake (no perl handler set) thenNick Ing-Simmons2002-01-261-11/+12
| | | | | | | warn() and exit() rather than die() - should never happen but if it does context needed to die is likely to be trashed as well. p4raw-id: //depot/perlio@14427
* Integrate mainlineNick Ing-Simmons2002-01-251-1/+1
| | | | | All but ../lib/Unicode/UCD.t pass. p4raw-id: //depot/perlio@14412
* Miss mg_len == 0 meaning don't SafefreeNick Ing-Simmons2002-01-221-6/+6
| | | p4raw-id: //depot/perlio@14373
* Nearly-working threads re-structuring. Do not integrate,Nick Ing-Simmons2002-01-191-1/+5
| | | | | submit-ing to get to Win32, and as "off site" backup. p4raw-id: //depot/perlio@14352
* Integrate mainline (for ndbm fixes etc.)Nick Ing-Simmons2002-01-171-0/+8
| | | p4raw-id: //depot/perlio@14312
* A mostly-stable version of "new" Win32 signal/kill support.Nick Ing-Simmons2002-01-111-7/+8
| | | p4raw-id: //depot/perlio@14192
* Missed the =head1 additions.Jarkko Hietaniemi2002-01-031-0/+4
| | | p4raw-id: //depot/perl@14041
* MULTIPLICITY fixups Charles Lane2001-12-061-0/+1
| | | | | Message-Id: <011205223453.8122e@DUPHY4.Physics.Drexel.Edu> p4raw-id: //depot/perl@13484
* $., $%, $=, and $- are IV's nowH.Merijn Brand2001-12-041-4/+4
| | | | | Message-Id: <20011204233412.304B.H.M.BRAND@hccnet.nl> p4raw-id: //depot/perl@13466
* Various small nits found by DJGPP build.Jarkko Hietaniemi2001-12-021-1/+1
| | | p4raw-id: //depot/perl@13427
* VMS pre7 default signal handlingCharles Lane2001-11-291-11/+57
| | | | | Message-Id: <011129141454.666c6@DUPHY4.Physics.Drexel.Edu> p4raw-id: //depot/perl@13371
* [PATCH] Re: $\ very brokenJarkko Hietaniemi2001-11-291-0/+2
| | | | | | | | | | | | From: Rafael Garcia-Suarez <rgarciasuarez@free.fr> Date: Wed, 28 Nov 2001 22:33:08 +0100 Message-ID: <20011128223308.E732@rafael> Subject: Re: [PATCH] Re: $\ very broken From: Nicholas Clark <nick@ccl4.org> Date: Wed, 28 Nov 2001 22:29:00 +0000 Message-ID: <20011128222859.K37621@plum.flirble.org> p4raw-id: //depot/perl@13345
* A bit more descriptive name.Jarkko Hietaniemi2001-10-311-7/+7
| | | p4raw-id: //depot/perl@12798
* make setting signal() persistentCharles Lane2001-10-311-4/+39
| | | | | Message-Id: <011031134318.231c@DUPHY4.Physics.Drexel.Edu> p4raw-id: //depot/perl@12796
* Add the encoding pragma to control the "upgrade"Jarkko Hietaniemi2001-10-281-54/+65
| | | | | | | from the native eight bit data to Unicode. TODO: \x.. and \0... literals. \N{}. chr()? ord()? p4raw-id: //depot/perl@12750
* USE_ENVIRON_ARRAY instead of !MACOS_TRADITIONAL,Jarkko Hietaniemi2001-10-261-4/+4
| | | | | as suggested by Sarathy. p4raw-id: //depot/perl@12687
* Integrate maintperl changes #12268 and #12669;Jarkko Hietaniemi2001-10-261-21/+9
| | | | | | | | | | | | | | | | | | | | | | | | final touches to the audit for statics and thread-unsafe code * make DB_File, ODBM_File thread-safe * remove unnecessary/dangerous statics and protect others from not getting accidentally enabled under threaded perls windows support functions get_childdir() et al aren't exported correctly under vanilla build Testing under win32 appreciated since changes there had to be manually merged and I cannot test how badly did I do. p4raw-link: @12268 on //depot/perlio: bb407f0b8769c638c05e60ebfd157a1e676a6c22 p4raw-id: //depot/perl@12678 p4raw-integrated: from //depot/maint-5.6/perl@12677 'copy in' win32/vmem.h (@5902..) 'merge in' ext/DB_File/DB_File.xs (@8693..) win32/win32iop.h (@8917..) ext/ODBM_File/ODBM_File.xs (@8995..) iperlsys.h (@9154..) scope.c (@9584..) makedef.pl (@11425..) gv.c (@12026..) op.c (@12145..) util.c (@12220..) toke.c (@12550..) ext/B/B.xs ext/File/Glob/Glob.xs ext/Opcode/Opcode.xs ext/re/re.xs (@12653..) mg.c win32/win32.c (@12668..)
* Oh, bother. In Tru64 cc -std1 was looking rather niceJarkko Hietaniemi2001-10-171-8/+2
| | | | | | | | | | in speed (upto 20% speedup in certain operations) but meanwhile regexps and arithmetics got slower (5-10%) (according to perlbench average speedup is negligible, and within measuring flutter, 1%). Therefore retracting all the changes aimed at getting -std1 to compile cleanly: #12475, #12476, #12479, #12480, #12481, #12482, #12483, #12484. p4raw-id: //depot/perl@12485
* (retracted by #12485)Jarkko Hietaniemi2001-10-171-0/+3
| | | | | Add explanatory comment. p4raw-id: //depot/perl@12482
* (retracted by #12485)Jarkko Hietaniemi2001-10-171-4/+2
| | | | | KISS. p4raw-id: //depot/perl@12480
* (retracted by #12485)Jarkko Hietaniemi2001-10-171-4/+4
| | | | | | Thou shalt not #ifdef inside macro invocations, noticed by Rafael Garcia-Suarez. p4raw-id: //depot/perl@12479
* (retracted by #12485)Jarkko Hietaniemi2001-10-171-1/+3
| | | | | Unterminated #ifdef. p4raw-id: //depot/perl@12476
* (retracted by #12485)Jarkko Hietaniemi2001-10-171-1/+4
| | | | | | Avoid dollar signs in identifiers (in non-VMS) to placate ultra picky ANSI compilers (such as DEC^WCPQ^WHP). p4raw-id: //depot/perl@12475
* Re: [PATCH mg.c gv.c and others] ${^TAINT}Michael G. Schwern2001-10-081-3/+7
| | | | | Message-ID: <20011008170014.L17083@blackrider> p4raw-id: //depot/perl@12367
* Fixes obscure bug that manifests itself by.Artur Bergman2001-10-021-0/+2
| | | | | | | local $!=0;undef*STDOUT;#segfaults Has been around for a while. Possible other magic IO vars are possibly affected as well. Reported by Jos Boumans. p4raw-id: //depot/perl@12303
* Re: [ID 20010815.012] Unfortunate interaction between -0 cmd line arg & ↵Hugo van der Sanden2001-09-151-3/+1
| | | | | | | (??{CODE}) regex Message-Id: <200109091741.f89HfsM18534@crypt.compulink.co.uk> p4raw-id: //depot/perl@12027
* [ID 20010912.007] substr reference core dumpme-01@ton.iguana.be2001-09-121-1/+1
| | | | | Message-Id: <20010912141116.6058.qmail@quasar.home.lunix> p4raw-id: //depot/perl@12005
* Silence the remaing format warningRobin Barker2001-09-071-1/+1
| | | | | Message-Id: <200109071728.SAA13569@tempest.npl.co.uk> p4raw-id: //depot/perl@11941
* Rename the variable: it *used* to be (wrongly) that theJarkko Hietaniemi2001-09-021-3/+3
| | | | | | code related to PL_reg_sv (so PL_reg_sv_utf8 was logical) but that is no more the case: PL_reg_match_utf8 is better. p4raw-id: //depot/perl@11823