summaryrefslogtreecommitdiff
path: root/miniperlmain.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove the port to MiNT. It's a dead platform that hasn't had any love ↵Jesse Vincent2009-08-031-1/+1
| | | | since 5.005
* main: Unregister signal handler before destroying my_perlJohn Wright2009-06-071-1/+8
| | | | | | | | If the signal handler runs after perl_destruct() has been called, it will get an invalid (or NULL) my_perl when it asks for the thread-specific interpreter struct. This patch resets the signal handler for any signal previously handled by PL_csighandlerp to SIG_DFL before calling perl_destruct().
* PATCH: Large omnibus patch to clean up the JRRT quotesTom Christiansen2008-11-021-1/+5
| | | | | | Message-ID: <25940.1225611819@chthon> Date: Sun, 02 Nov 2008 01:43:39 -0600 p4raw-id: //depot/perl@34698
* Fix up copyright years for files modified in 2007.Nicholas Clark2007-11-071-1/+1
| | | p4raw-id: //depot/perl@32237
* Update copyright years in .c filesRafael Garcia-Suarez2007-01-051-1/+1
| | | p4raw-id: //depot/perl@29696
* z/OS: non-CPAN ext and lib + main() without the third arg + Stephen ↵Jarkko Hietaniemi2006-07-131-1/+11
| | | | | | | McCamant's comment Message-ID: <44B67921.6090901@iki.fi> p4raw-id: //depot/perl@28567
* PERL_TRACK_MEMPOOL cripples environment after exit()Marcus Holland-Moritz2006-02-271-1/+14
| | | | | Message-ID: <20060226204721.00be2bff@r2d2> p4raw-id: //depot/perl@27343
* unused context warningsAndy Lester2006-02-241-0/+1
| | | | | Message-ID: <20060221062711.GA16160@petdance.com> p4raw-id: //depot/perl@27300
* Include vim/emacs modelines in generated files to open themRafael Garcia-Suarez2005-05-111-2/+2
| | | | | | in read-only mode. Make vi modelines compatible with non-vim vi versions. p4raw-id: //depot/perl@24445
* Add editor boilerplates to all C filesRafael Garcia-Suarez2005-05-101-0/+10
| | | | | (except the generated ones) p4raw-id: //depot/perl@24440
* Symbian port of PerlJarkko Hietaniemi2005-04-211-12/+20
| | | | | Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2453D653@esebe105.NOE.Nokia.com> p4raw-id: //depot/perl@24271
* Update copyrights.Rafael Garcia-Suarez2005-03-301-1/+1
| | | p4raw-id: //depot/perl@24106
* Consting fiveAndy Lester2005-03-251-0/+1
| | | | | | | | Message-ID: <20050325231409.GB17660@petdance.com> [with modification - the extra argument to incpush was supposed to be being used] p4raw-id: //depot/perl@24081
* Update copyright years.Nicholas Clark2005-01-041-2/+2
| | | p4raw-id: //depot/perl@23746
* SuSE's perl safe_putenf diffMichael Schroeder2004-11-171-0/+3
| | | | | | | | | Message-ID: <20041111145443.GA1854@immd4.informatik.uni-erlangen.de> slightly reworked to make the PL_use_safe_putenv variable fit in the current framework. This patch turns on the use of safe putenv for any application that embeds a perl interpreter. p4raw-id: //depot/perl@23507
* more typo fixes for change 3176 (comments at top of .c files)Dave Mitchell2004-08-031-2/+2
| | | p4raw-id: //depot/perl@23187
* Add comment to top of reentr.c and fix typos in other filesDave Mitchell2004-08-011-2/+2
| | | p4raw-id: //depot/perl@23180
* Add comment to the top of most .c files explaining their purposeDave Mitchell2004-07-311-0/+9
| | | p4raw-id: //depot/perl@23176
* Move the PL_earlytaint initialization to the PERL_SYS_INIT()Jarkko Hietaniemi2003-06-291-3/+0
| | | | | as per suggestion from Sarathy. p4raw-id: //depot/perl@19878
* Introduce (global) variable PL_earlytaint whichJarkko Hietaniemi2003-06-271-0/+3
| | | | | | | is set very early in main(), before perl_parse() has been called and PL_tainting (or PL_taint_warn) might have been set. p4raw-id: //depot/perl@19863
* Fix up Larry's copyright statements to my best knowledge.Jarkko Hietaniemi2003-04-161-1/+2
| | | | | | | (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
* Reverse copyright update (#18801) for files not changed in 2003.Hugo van der Sanden2003-03-021-1/+1
| | | p4raw-id: //depot/perl@18807
* Update all copyrights to 2003, from JarkkoHugo van der Sanden2003-03-021-1/+1
| | | p4raw-id: //depot/perl@18801
* Happy chainsaw stories; The removal of the 5005 threadsH.Merijn Brand2002-10-191-1/+1
| | | | | Still imcomplete. Configure will follow p4raw-id: //depot/perl@18030
* Sprinkle some copyrights (use the oldest timestamp toJarkko Hietaniemi2002-01-241-0/+9
| | | | | | be found in the repository, which is most often not right, but at least consistent) p4raw-id: //depot/perl@14400
* Oh, bother. In Tru64 cc -std1 was looking rather niceJarkko Hietaniemi2001-10-171-13/+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-2/+13
| | | | | | Strict ANSI doesn't like the third argument of main() so enable ignoring it if using ultra picky compiler. p4raw-id: //depot/perl@12484
* END{} can change the return value even if we die from BEGIN{}Artur Bergman2001-08-291-5/+3
| | | p4raw-id: //depot/perl@11783
* Changes USE_THREADS to USE_5005THREADS in the entire source.Artur Bergman2001-08-271-1/+1
| | | | | | 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
* Adds PERL_EXIT_DESTRUCT_END to PL_exit_flags which if set moves END block ↵Artur Bergman2001-08-171-5/+4
| | | | | running to perl_destruct, changes prototype of perl_destruct to return exitstatus. p4raw-id: //depot/perl@11702
* SV: END {} blocks run in perl_runArthur Bergman2001-08-121-1/+4
| | | | | Message-ID: <03fd01c122b5$c803c600$052aa8c0@foo> p4raw-id: //depot/perl@11647
* Make perl fork()-safe (in a slightly limited way) even onGurusamy Sarathy2001-07-201-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | platforms that don't have pthread_atfork() (extension of the fix in change#11151). Note that this will not help extensions that call fork() directly in C, or that link to libraries that call fork() directly. Such cases must be fixed to either call PerlProc_fork(), or call atfork_lock() in parent before the calling the function that forks and call atfork_unlock() in both parent and child immediately after the fork(). (There are no worries if C code calls exec() in the child immediately after a fork(). Only cases where the child calls perl's API functions (including New()) after the fork() are problematic.) This change also eliminates the use of vfork() from perl, since all such uses were violating the severe restrictions on modifying the state of the process between the vfork() and the exec(). This is a modified version of patches suggested by Abhijit Menon-Sen and Richard Soderberg. p4raw-link: @11151 on //depot/perl: 50dd6e574ff39b609595ddb16b2fe9f625a26f8c p4raw-id: //depot/perl@11423
* [patch] pthread_atfork bandaidDoug MacEachern2001-07-121-0/+6
| | | | | Message-ID: <Pine.LNX.4.21.0107110855070.11688-100000@mako.covalent.net> p4raw-id: //depot/perl@11281
* [patch] perl.gprof controlDoug MacEachern2001-06-131-0/+4
| | | | | Message-ID: <Pine.LNX.4.21.0106122247380.24181-100000@mako.covalent.net> p4raw-id: //depot/perl@10559
* Memory tweaks and notes for OEMVS.Nick Ing-Simmons2001-03-261-1/+6
| | | p4raw-id: //depot/perlio@9360
* perldelta update, typos and whitespace adjustmentsGurusamy Sarathy2000-03-111-7/+7
| | | p4raw-id: //depot/perl@5640
* fixes for most warnings identified by gcc -WallGurusamy Sarathy2000-03-051-1/+0
| | | p4raw-id: //depot/perl@5540
* Re: [PATCH 5.005_62] OS/2 improvementsIlya Zakharevich1999-10-241-1/+1
| | | | | Message-Id: <199910240724.DAA12230@monk.mps.ohio-state.edu> p4raw-id: //depot/perl@4432
* more PERL_OBJECT cleanups (changes still untested on Unix!)Gurusamy Sarathy1999-07-081-0/+2
| | | p4raw-id: //depot/perl@3660
* most globals are now interpreter local; locale initializationGurusamy Sarathy1999-06-101-2/+0
| | | | | | | was too early, defer it until interpreter is allocated and initialized; multiple interpreters should now be concurrency-safe (untested) p4raw-id: //depot/perl@3527
* more complete support for implicit thread/interpreter pointer,Gurusamy Sarathy1999-06-091-0/+1
| | | | | | | | | | | | | | | | | | | | | enabled via -DPERL_IMPLICIT_CONTEXT (all changes are noops without that enabled): - USE_THREADS now enables PERL_IMPLICIT_CONTEXT, so dTHR is a noop; tests pass on Solaris; should be faster now! - MULTIPLICITY has been tested with and without PERL_IMPLICIT_CONTEXT on Solaris - improved function database now merged with embed.pl - everything except the varargs functions have foo(a,b,c) macros to provide compatibility - varargs functions default to compatibility variants that get the context pointer using dTHX - there should be almost no source compatibility issues as a result of all this - dl_foo.xs changes other than dl_dlopen.xs untested - still needs documentation, fixups for win32 etc Next step: migrate most non-mutex variables from perlvars.h to intrpvar.h p4raw-id: //depot/perl@3524
* initial stub implementation of implicit thread/thisGurusamy Sarathy1999-06-071-3/+4
| | | | | | | | | | | | pointer argument; builds/tests on Solaris, win32 hasn't been fixed up yet; proto.h, global.sym and static function decls are now generated from a common database in proto.pl; some inconsistently named perl_foo() things are now Perl_foo(), compatibility #defines provided; perl_foo() (lowercase 'p') reserved for functions that take an explicit context argument; next step: generate #define foo(a,b) Perl_foo(aTHX_ a,b) p4raw-id: //depot/perl@3522
* remove _() non-ansismGurusamy Sarathy1999-06-021-1/+1
| | | p4raw-id: //depot/perl@3518
* Atari MiNT port by Guido Flohr <gufl0000@stud.uni-sb.de>Jarkko Hietaniemi1999-01-131-0/+6
| | | | | | (the diffs were based on 5.004_02). Tested by Guido and Frank Naumann <fnaumann@prinz-atm.CS.Uni-Magdeburg.De>. p4raw-id: //depot/cfgperl@2594
* PL_ stuff for threadsNick Ing-Simmons1998-07-181-2/+2
| | | p4raw-id: //depot/ansiperl@1534
* PL_ prefix to all perlvars, part1Nick Ing-Simmons1998-07-181-2/+2
| | | | | Builds and passes all tests at one limit i.e. -DPERL_GLOBAL_STRUCT p4raw-id: //depot/ansiperl@1532
* #ifdef CAN_PROTOTYPE cleanupGisle Aas1998-02-251-7/+0
| | | p4raw-id: //depot/perl@581
* #undef new PERLVARIC macro in appropriate placesNick Ing-Simmons1997-12-141-1/+1
| | | p4raw-id: //depot/ansiperl@365
* [win32] Revert to keeping (some) constant strings as globalsGurusamy Sarathy1997-12-021-0/+2
| | | p4raw-id: //depot/win32/perl@349
* Create a struct for all perls globals (as an option)Nick Ing-Simmons1997-12-011-0/+8
| | | | | | | Mainly for Mingw32 which cannot import data. Now only Opcode tests fail (op_desc/op_name not handled yet stuff) p4raw-id: //depot/ansiperl@341