summaryrefslogtreecommitdiff
path: root/mg.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* remove deprecated PERL_OBJECT cruft, it has long since stoppedGurusamy Sarathy2001-08-311-15/+11
| | | | | working in 5.7.x p4raw-id: //depot/perl@11803
* Changes USE_THREADS to USE_5005THREADS in the entire source.Artur Bergman2001-08-271-6/+6
| | | | | | Thanks to H. Merijn Brand for the patch. Some of the comments and or guards might be removable in perl.h now. p4raw-id: //depot/perl@11758
* New try for ID 20010407.006: detach the semanticsJarkko Hietaniemi2001-08-181-3/+3
| | | | | "was the last match target UTF8" into its own variable. p4raw-id: //depot/perl@11717
* Re: [ID 20010730.010] FETCH called twice with -TAbhijit Menon-Sen2001-08-121-19/+33
| | | | | Message-ID: <20010811061819.P526@lustre.dyn.wiw.org> p4raw-id: //depot/perl@11641
* UTF-8 bugs in string length & single line regex matchesDaniel P. Berrange2001-08-041-1/+7
| | | | | | | Message-ID: <20010803113932.A19318@berrange.com> (the mg_length() fix) p4raw-id: //depot/perl@11572
* setproctitle() API version nit from Anton Berezin.Jarkko Hietaniemi2001-08-021-1/+1
| | | p4raw-id: //depot/perl@11551
* setproctitle() made simpler. (This assumes the string isJarkko Hietaniemi2001-08-021-1/+1
| | | | | | | \0-terminated: if not, the three-arg form setproctitle(fmt, len, s) should be used. Note len, not len + 1.) BSD-fu from Anton Berezin. p4raw-id: //depot/perl@11548
* OS/2 multi-architectureIlya Zakharevich2001-07-231-5/+1
| | | | | Message-ID: <20010723192949.A14802@math.ohio-state.edu> p4raw-id: //depot/perl@11462
* Code cleanup based on turning off the -woffs in IRIX.Jarkko Hietaniemi2001-06-301-15/+9
| | | | | | | | Not all of the gripes cleaned up (hairy code in hv.c and regcomp.c; unused newsp, gimme, and optype from cop.h macros; unused 'key' arguments in ?DBM_File.xs) (and the -woffs left to the IRIX hints) p4raw-id: //depot/perl@11051