summaryrefslogtreecommitdiff
path: root/perl.c
Commit message (Collapse)AuthorAgeFilesLines
* Integrate macperl patch #16868.Jarkko Hietaniemi2002-05-301-3/+8
| | | | | | | | | | | | | | | | | | | | | | p4raw-id: //depot/perl@16882 p4raw-integrated: from //depot/macperl@16881 'copy in' ext/B/B/Concise.pm ext/B/t/deparse.t ext/B/t/terse.t ext/DynaLoader/DynaLoader_pm.PL ext/IO/lib/IO/t/io_dup.t ext/POSIX/t/sigaction.t ext/PerlIO/t/encoding.t ext/Socket/Socket.t lib/AutoSplit.t lib/Net/Ping/t/110_icmp_inst.t lib/Net/hostent.t lib/Pod/t/Usage.t lib/Pod/t/pod2html-lib.pl lib/Test/Harness/t/callback.t lib/blib.pm lib/strict.t lib/subs.t t/lib/filter-util.pl t/lib/warnings/doio t/lib/warnings/mg t/x2p/s2p.t (@16123..) lib/Test/Simple/t/exit.t (@16230..) lib/open.t lib/warnings.t (@16255..) perl.c (@16475..) lib/Unicode/Collate.pm lib/Unicode/UCD.t (@16651..) ext/PerlIO/t/fallback.t lib/Test/Harness/t/strap-analyze.t lib/Test/Harness/t/test-harness.t (@16825..) p4raw-integrated: from //depot/macperl@16868 'copy in' lib/blib.t (@16123..) t/lib/warnings/op (@16230..) ext/Cwd/t/cwd.t ext/Digest/MD5/t/files.t (@16475..) 'merge in' ext/Storable/t/utf8hash.t lib/Test/Harness/Straps.pm (@16730..)
* manual integrate of change#16332 from maint-5.6 branchGurusamy Sarathy2002-05-021-2/+14
| | | | | p4raw-link: @16332 on //depot/maint-5.6/perl: 9bf7742e23b67e3d7c671615795c570c51951513 p4raw-id: //depot/perl@16348
* Fix the "PerlIO require leak". Snag was that clean_objsNick Ing-Simmons2002-05-021-4/+8
| | | | | | | | autoloaded DESTROY (needing IO) after known layers had been freed. Postpone layer list free to PerlIO_cleanup, rather than PerlIO_destruct. Tweak sequence in perl_destruct so that sv_undef is immortal till layer list is done with it. p4raw-id: //depot/perlio@16335
* NetWare changeover from Watcom to Codewarrior, from C Aditya.Jarkko Hietaniemi2002-04-221-1/+6
| | | p4raw-id: //depot/perl@16076
* fixes for all the warnings reported by Visual C (most of thisGurusamy Sarathy2002-04-211-1/+1
| | | | | | 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-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Always flush the PerlIO buffers after running END blocks in Artur Bergman2002-04-181-0/+3
| | | | | perl_destruct. This should fix ext/threads/t/end.t under Win32. p4raw-id: //depot/perl@15989
* plug memory leak in perl_destruct() by cleaning out PL_debug_padDoug MacEachern2002-04-181-0/+10
| | | p4raw-id: //depot/perl@15988
* my $utf8here, our $utf8here, and package variable $utf8here.Jarkko Hietaniemi2002-04-161-0/+4
| | | | | | | | | | | | | | | The actual minimal fix is in utf8.c and from NI-S, the rest are the tests (in fresh_perl since I couldn't get them easily to work elsewhere) and a slight behaviour change: previously UTF-8 identifiers had to start with an alphabetic character. No more so, now they can start with an (Unicode) ID_Continue character (which however is not a (Unicode) digit). (Limiting the first character to ID_Start would be rather restrictive, since ID_Start allows only alphabetic letters.) TODO: use vars qw($utf8here). This I don't find to be a showstopper. p4raw-id: //depot/perl@15943
* Supporess spurious warnings for @+ and and @-Mark-Jason Dominus2002-04-151-4/+8
| | | | | Message-ID: <20020415064152.16958.qmail@plover.com> p4raw-id: //depot/perl@15921
* Re: [PATCH 5.7.3] Suppress warnings about @F when -a flag suppliedMark-Jason Dominus2002-04-151-0/+4
| | | | | Message-Id: <20020415043026.11417.qmail@plover.com> p4raw-id: //depot/perl@15917
* Make other nits nervous.Abhijit Menon-Sen2002-04-071-2/+0
| | | p4raw-id: //depot/perl@15792
* Prototype tweak for non-threaded builds.Jarkko Hietaniemi2002-04-031-1/+1
| | | p4raw-id: //depot/perl@15704
* Fix segfaults when mainthread exits with other threads running:Nick Ing-Simmons2002-04-031-7/+27
| | | | | | | - track number of running threads - if main thread calls perl_destruct() with other threads running skip most of cleanup (with a warning). p4raw-id: //depot/perlio@15698
* Update my email address in perl.cPaul Green2002-04-021-1/+1
| | | | | Message-Id: <200204022027.PAA29837@mailhub1.stratus.com> p4raw-id: //depot/perl@15691
* yfix fix for VMS (was YYDEBUG etc.)Craig A. Berry2002-03-251-1/+1
| | | | | | From: "Craig A. Berry" <craig.berry@SignalTreeSolutions.com> Message-Id: <5.1.0.14.2.20020325135745.01aeabc0@exchi01> p4raw-id: //depot/perl@15506
* Forgotten from #15486.Jarkko Hietaniemi2002-03-251-1/+6
| | | p4raw-id: //depot/perl@15488
* In the spirit of #15464.Jarkko Hietaniemi2002-03-241-2/+2
| | | p4raw-id: //depot/perl@15465
* Re: [ID 20020323.002] recently-introduced regex segfault Michael G. Schwern2002-03-241-2/+0
| | | | | Message-ID: <20020324072725.GA3554@blackrider> p4raw-id: //depot/perl@15464
* If it looks like UTF-8 (either nl_langinfo or locale variables),Jarkko Hietaniemi2002-03-201-0/+16
| | | | | | | | | | think UTF-8, embrace your inner UTF-8, as suggested by Larry. (And as suggested by Markus Kuhn.) While we are at it, document also the case of mixed hash keys as a known potential troublemaker. (Since it's locale-related, sometimes.) p4raw-id: //depot/perl@15350
* Make regex DEBUGGING faster.Jarkko Hietaniemi2002-03-181-0/+5
| | | p4raw-id: //depot/perl@15297
* Monster _r patch: try to scan for all known _r variants,Jarkko Hietaniemi2002-03-151-2/+1
| | | | | | | | | | | | | | | | | and then use them (under ithreads). May fail in HP-UX, and the op/groups is known to be fickle everywhere. Known to work in Solaris, Linux, Tru64, IRIX, AIX. (Some compiler warnings in AIX since the first arguments of getnetbyaddr and getnetbyadd_r are of different types. Thanks, IBM.) In non-Configure platforms deny the existence of any of the _r thingies. (Also add the recently introduced d_tm_* to places it wasn't already in.) TODO: the suggested glibc buffer growth retry loop in case some entries (at least for: gr*, host*) are big. Forgot win32/config.win64. p4raw-id: //depot/perl@15238
* Re: Win32: C:\Program FilesKen Williams2002-03-141-0/+1
| | | | | | | | From: "Ken Williams" <ken@mathforum.org> Message-Id: <2B174669-36DD-11D6-87FA-003065F6D85A@mathforum.org> Add -t to perl -h. p4raw-id: //depot/perl@15225
* Typo fixes.Abhijit Menon-Sen2002-03-111-2/+2
| | | p4raw-id: //depot/perl@15162
* Re: [PATCH] for broken /proc/curproc/file on FreeBSDJarkko Hietaniemi2002-03-111-1/+7
| | | | | | | | | | | | | | | From: Nicholas Clark <nick@unfortu.net> Date: Sun, 10 Mar 2002 18:17:50 +0000 Message-ID: <20020310181749.GC317@Bagpuss.unfortu.net> Subject: Re: [PATCH] for broken /proc/curproc/file on FreeBSD From: sthoenna@efn.org (Yitzchak Scott-Thoennes) Date: Sun, 10 Mar 2002 13:53:34 -0800 Message-ID: <eX9i8gzkg26G092yn@efn.org> (and reenable the feature in freebsd, and move the freebsd pr url to perl.c) p4raw-id: //depot/perl@15160
* more warnings tidyupPaul Marquess2002-03-111-8/+8
| | | | | | From: "Paul Marquess" <paul_marquess@yahoo.co.uk> Message-ID: <AIEAJICLCBDNAAOLLOKLMEEGDPAA.paul_marquess@yahoo.co.uk> p4raw-id: //depot/perl@15155
* Renaming tweaks, and split off the reentrant "superbuffer"Jarkko Hietaniemi2002-03-101-3/+2
| | | | | init routine. p4raw-id: //depot/perl@15139
* 5005threads wasn't even compiling.Jarkko Hietaniemi2002-03-061-0/+3
| | | p4raw-id: //depot/perl@15070
* Debugging OPsIlya Zakharevich2002-03-031-1/+1
| | | | | | Message-Id: <20020302054958.A5511@math.ohio-state.edu> p4raw-link: @14577 on //depot/perl: 0ad5258ff3f3328f321188cbb4fcd6a74b365431 p4raw-id: //depot/perl@14956
* DJGPP tweaks from Laszlo Molnar.Jarkko Hietaniemi2002-02-081-10/+0
| | | p4raw-id: //depot/perl@14596
* Copyright++. (Not all the toplevel *.h have one, it seems.)Jarkko Hietaniemi2002-01-231-8/+8
| | | p4raw-id: //depot/perl@14391
* Use PerlMemShared for CopSTASHPV and CopFILE. MUCH harder than it sounds!Nick Ing-Simmons2002-01-141-14/+3
| | | | | | | | | | | | Need to use CopXXXXX macros everywhere and add CopSTASH_free Add new scope type and add support for it to scope.c and scope stack dup-er in sv.c. Add savesharedpv(). Also zealous version of Win32's vmem.h to catch all the abuses. With this t/op/fork.t passes even with zealous checking and checker is point a finger at various threads/shared issues. PL_curcop->cop_io is still an issue. p4raw-id: //depot/perlio@14259
* Missed the =head1 additions.Jarkko Hietaniemi2002-01-031-0/+15
| | | p4raw-id: //depot/perl@14041
* -t without -w Michael G. Schwern2001-12-301-6/+22
| | | | | Message-ID: <20011230044625.GA14386@blackrider> p4raw-id: //depot/perl@13953
* Make -t equal -tw.Jarkko Hietaniemi2001-12-251-2/+4
| | | p4raw-id: //depot/perl@13884
* -t and the core tests; -t and PERL5OPTRafael Garcia-Suarez2001-12-171-2/+7
| | | | | Message-ID: <20011217152301.A704@rafael> p4raw-id: //depot/perl@13737
* -t taint warningsMichael G. Schwern2001-12-141-0/+7
| | | | | | | | | Message-ID: <20011214002707.GA10532@blackrider> (reword the perlrun -t description a bit, and move the Itaint_warn to the bottom of the intrpvar.h for binary compatibility) p4raw-id: //depot/perl@13684
* Passing in env to perl_parse did not workGisle Aas2001-12-121-35/+5
| | | | | Message-ID: <lrheqxniom.fsf@caliper.activestate.com> p4raw-id: //depot/perl@13660
* -P on VMS. Evicting sedMichael G. Schwern2001-11-301-108/+101
| | | | | | | | | | | | Message-ID: <20011129220510.A18869@blackrider> TODO 1: if cppstdin is used and not yet installed, the Px.t will fail (must do the same as in cpp.t) TODO 2: does this work if no Perl whatsoever has yet been installed? That is, we should be using the Perl we are building to execute the one-liner. p4raw-id: //depot/perl@13383
* Revert the /proc/self/auxv experiment for now.Jarkko Hietaniemi2001-11-251-50/+5
| | | p4raw-id: //depot/perl@13257
* The new way of finding out $^X in SolarisJarkko Hietaniemi2001-11-251-0/+12
| | | | | | | requires a little tweak if the executable pathname is *not* absolute: prepend "./" (otherwise `$^X ...` will start perl from PATH...) p4raw-id: //depot/perl@13254
* $$ readonly, take twoMichael G. Schwern2001-11-251-1/+4
| | | | | Message-ID: <20011124195618.A14614@blackrider> p4raw-id: //depot/perl@13252
* The debug_pag needs to be visible at all timesJarkko Hietaniemi2001-11-241-6/+0
| | | | | because of the re extension. p4raw-id: //depot/perl@13246
* Use /proc/self/auxv in Solaris to figure out the $^X.Jarkko Hietaniemi2001-11-241-5/+38
| | | | | (It seems that "./perl" gets resolved to "perl" now.) p4raw-id: //depot/perl@13234
* Use PROCSELFEXE_PATH.Jarkko Hietaniemi2001-11-231-1/+1
| | | p4raw-id: //depot/perl@13215
* perl.c change to use HAS_PROCSELFEXE, alsoNick Ing-Simmons2001-11-201-3/+26
| | | | | | tweak to $^X test to comprehend full path to real executable being returned (like Cygwin as it happens...) p4raw-id: //depot/perlio@13138
* Extra diagnostics for -DP Michael G. Schwern2001-11-201-0/+5
| | | | | Message-ID: <20011119195311.I11883@blackrider> p4raw-id: //depot/perl@13112
* Create a per-interpeter debug scratchpad containerJarkko Hietaniemi2001-11-201-0/+6
| | | | | and use that for the regexec debugging. p4raw-id: //depot/perl@13110
* Add comments to mark where $^X is being handled.Jarkko Hietaniemi2001-11-141-1/+1
| | | p4raw-id: //depot/perl@13000
* s/parse_perl/parse_body/Michael G. Schwern2001-11-141-1/+1
| | | | | Message-Id: <20011113231754.S32567@blackrider> p4raw-id: //depot/perl@12992