summaryrefslogtreecommitdiff
path: root/unixish.h
Commit message (Collapse)AuthorAgeFilesLines
* Unixish.h, doshish.h: Reorder terminations; simplifyKarl Williamson2022-07-251-16/+22
| | | | | | | | | | | | | | | | | | | | | The IO and memory terminations need to be after other things. Add a comment so that future maintainers won't make the mistakes I did. Also refactor so that amiga os doesn't have a separate list to get out of sync I suspect that the amiga termination should be moved to earlier in the sequence, but absent any evidence; I'm leaving it unchanged. vms destruction was missing a bunch of things and I didn't see any reason to have special handling, so I changed it to just use the standard, presuming the discrepancies were due to changes in the standard not getting propagated to vms. The common definitions are also moved to perl.c which is the only place they are used (including cpan). This makes them available in all circumstances. Otherwise, the #ifdef's for including the relevant header files only include one, so there would be undefined macros.
* style: Detabify indentation of the C code maintained by the core.Michael G. Schwern2021-01-171-2/+2
| | | | | | | | | | | This just detabifies to get rid of the mixed tab/space indentation. Applying consistent indentation and dealing with other tabs are another issue. Done with `expand -i`. * vutil.* left alone, it's part of version. * Left regen managed files alone for now.
* Add mutex for accessing ENVKarl Williamson2020-03-111-1/+3
|
* Add mutex for dealing with qr/\p{user-defined}/Karl Williamson2019-02-141-2/+2
| | | | This will be used in future commits
* add wrap_keyword_plugin function (RT #132413)Lukas Mai2017-11-111-7/+8
|
* (perl #126228) partly revert 8cc95fdb and fix a3c8358cTony Cook2017-01-191-1/+1
| | | | | | | | | | | | | | | | | | | a3c8358c changed: -#define dXSUB_SYS int dummy +#define dXSUB_SYS which made dXSUB_SYS into not-a-declaration, this apparently broke something, since 8cc95fdb then went through all the definitions of dXSUB_SYS, made each of them into not-a-declaration and then ensured ExtUtilis::Miniperl emitted dXSUB_SYS in a place where it didn't matter whether it was a declaration or a statement. When these changes were made perl.h didn't have dNOOP, but now we do, so we can make dXSUB_SYS a declaration again, as its name implies. Based on a patch originally created by Daniel Dragan (bulk88).
* Add locale mutexKarl Williamson2016-04-091-6/+8
| | | | | This adds a new mutex for use in the next commit for use with locale handling.
* amigaos4: whitespace onlyAndy Broad2015-09-161-2/+2
| | | | For preprocessor code use 2-indent instead of 4-indent.
* amigaos4: use #ifdef/ifndef __amigaos4__ when feasibleAndy Broad2015-09-161-1/+1
|
* amigaos4: declare the amigaos protos in amigaos.hAndy Broad2015-09-161-3/+0
|
* amigaos4: use afstat for fstatAndy Broad2015-09-051-1/+10
|
* amigaos4: use our own environ implementationAndy Broad2015-09-051-2/+3
|
* amigaos4: PERL_SYS_INIT_BODY and PERL_SYS_TERM_BODYAndy Broad2015-09-051-0/+10
|
* Replace common Emacs file-local variables with dir-localsDagfinn Ilmari Mannsåker2015-03-221-6/+0
| | | | | | | | | | | | | | | | An empty cpan/.dir-locals.el stops Emacs using the core defaults for code imported from CPAN. Committer's work: To keep t/porting/cmp_version.t and t/porting/utils.t happy, $VERSION needed to be incremented in many files, including throughout dist/PathTools. perldelta entry for module updates. Add two Emacs control files to MANIFEST; re-sort MANIFEST. For: RT #124119.
* update the editor hints for spaces, not tabsRicardo Signes2012-05-291-2/+2
| | | | | This updates the editor hints in our files for Emacs and vim to request that tabs be inserted as spaces.
* add wrap_op_checker() API functionZefram2012-02-111-1/+2
| | | | | This function provides a convenient and thread-safe way for modules to hook op checking.
* Add editor blocks to some header files.Marcus Holland-Moritz2008-01-011-0/+9
| | | p4raw-id: //depot/perl@32793
* Fix up copyright years for files modified in 2007.Nicholas Clark2007-11-071-1/+1
| | | p4raw-id: //depot/perl@32237
* extend PL_veto_cleanup to all platformsDave Mitchell2007-09-251-3/+1
| | | | | | | The conditional skip of PERL_SYS_TERM introduced by change #29827 now happens on all platforms, not just UNIX. p4raw-link: @29827 on //depot/perl: c301d6064f299b8a77670348b81d25d2d94d6a2f p4raw-id: //depot/perl@31971
* make PERL_SYS_INIT/INIT3/TERM into functionsDave Mitchell2007-09-251-4/+4
| | | p4raw-id: //depot/perl@31970
* extend threads 'veto cleanup' to perl_free and system stuffDave Mitchell2007-01-151-1/+5
| | | p4raw-id: //depot/perl@29827
* Update copyright years in .h files. Also, in .plRafael Garcia-Suarez2007-01-051-2/+2
| | | | | | files that generate .h files, so they'll be ready next time. p4raw-id: //depot/perl@29695
* Semicolon consistency between PERL_FPU_INIT and the other INITs.Nicholas Clark2006-10-211-1/+1
| | | p4raw-id: //depot/perl@29075
* Add PERLIO_INIT to PERL_SYS_INIT.Nicholas Clark2006-10-211-1/+2
| | | | | I infer that this was accidentally omitted from change 29060 p4raw-id: //depot/perl@29074
* Always defining PERLIO_TERM, even if it's empty, makes for a simplerNicholas Clark2006-10-211-4/+0
| | | | | PERL_SYS_TERM p4raw-id: //depot/perl@29073
* More leak fixes, by JarkkoRafael Garcia-Suarez2006-10-201-1/+5
| | | p4raw-id: //depot/perl@29060
* C++: Solaris CC now compiles "perl"Jarkko Hietaniemi2006-09-111-0/+2
| | | | | Message-ID: <4502B398.6060505@iki.fi> p4raw-id: //depot/perl@28814
* Need to migrate the refcounted_he structure to be properly shared.Nicholas Clark2006-04-111-1/+1
| | | | | | Add a mutex for manipulated their reference counts. Unwrap the structure, so that for ithreads it can store SVs in pads. p4raw-id: //depot/perl@27764
* Remove incorrect guards around inclusion of <signal.h>Alan Burlison2003-12-151-2/+0
| | | | | | | | | | | Causes problems with UNIX03/SUSv3 Part 2 of change 21916 - oops! See: Message-Id: <3FDD06A5.8010004@sun.com> Subject: Re: UNIX03 & C99 issue with 5.8.2 Date: Mon, 15 Dec 2003 00:56:05 +0000 p4raw-id: //depot/perl@21917
* Modify the common guard for the signal.h header, becauseAlan Burlison2003-12-121-1/+1
| | | | | | | | | C99 compilers don't like it.o see : Subject: UNIX03 & C99 issue with 5.8.2 Message-ID: <3FDA4994.6050209@sun.com> p4raw-id: //depot/perl@21883
* Remove PL_earlytaint since the hash seed codeJarkko Hietaniemi2003-07-041-1/+1
| | | | | can be delayed until perl_parse(). p4raw-id: //depot/perl@19979
* Move the PL_earlytaint initialization to the PERL_SYS_INIT()Jarkko Hietaniemi2003-06-291-1/+1
| | | | | as per suggestion from Sarathy. p4raw-id: //depot/perl@19878
* More Perl malloc debugging magic from Ilya. Seems to work inJarkko Hietaniemi2003-06-201-1/+1
| | | | | | | | | | Linux, Solaris, AIX. Had to do #ifdef OS2 for the <io.h> in malloc.c, found in AIX since there is no such header. In Tru64 miniperl fails an assert: "free()ed/realloc()ed-away memory was overwritten?" (In IRIX compiles but that doesn't prove much since in IRIX Perl's malloc is simply not used.) p4raw-id: //depot/perl@19831
* Noticed by John P. Linderman.Jarkko Hietaniemi2003-05-231-5/+5
| | | p4raw-id: //depot/perl@19602
* 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
* 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
* a few typo fixes Jeffrey Friedl2001-11-121-1/+1
| | | | | | | | | | | Message-Id: <200111120515.fAC5FIc74795@ventrue.corp.yahoo.com> Patching README.foo instead of pod/perlfoo.pod, not patching Math::BigInt (Tels will take care of that), dropping broken hv.c and sv.h patches, patching libnetcfg.PL and perldoc.PL instead of libnetcfg and perldoc, patching ext/Digest/MD5/t/files.t since MD5.pm was changed. p4raw-id: //depot/perl@12954
* OpenBSD likes signal.h Richard Soderberg2001-10-301-1/+1
| | | | | Message-Id: <200110300100.RAA31533@oregonnet.com> p4raw-id: //depot/perl@12771
* -Wall cleanups: unixish.hRichard Soderberg2001-08-011-1/+1
| | | | | Message-ID: <Pine.LNX.4.21.0107312313490.24341-100000@oregonnet.com> p4raw-id: //depot/perl@11529
* Factor the PERL_SYS_INIT() code, from Hugo van der Sanden.Jarkko Hietaniemi2001-06-241-17/+1
| | | p4raw-id: //depot/perl@10888
* In UTS do signal(SIGFPE, SIG_IGN) in PERL_SYS_INIT().Jarkko Hietaniemi2001-06-231-1/+5
| | | p4raw-id: //depot/perl@10856
* cygwin portFifer, Eric2000-11-071-5/+1
| | | | | | | Message-ID: <779F20BCCE5AD31186A50008C75D99791717BB@silldn_mail1.sanwaint.com> Synchronize with Cygwin 1.1.5. p4raw-id: //depot/perl@7597
* Introduce NO_ENVIRON_ARRAY (and USE_ENVIRON_ARRAY) definesJarkko Hietaniemi2000-10-031-0/+3
| | | | | as suggested by Olaf Flebbe and Nicholas Clark. p4raw-id: //depot/perl@7126
* microperl nits from Simon Cozens.Jarkko Hietaniemi2000-06-011-1/+1
| | | p4raw-id: //depot/cfgperl@6180
* microperl changes from Simon Cozens; Makefile for microperlJarkko Hietaniemi2000-05-311-0/+4
| | | | | | written from scratch; few casts added as microperl compilation doesn't have all prototypes available. p4raw-id: //depot/cfgperl@6174
* add missing locks for op refcountsGurusamy Sarathy2000-03-081-1/+1
| | | p4raw-id: //depot/perl@5610
* fpsetmask() needs include on freebsd (from Slaven RezicGurusamy Sarathy2000-03-041-0/+3
| | | | | <eserte@vran.herceg.de>) p4raw-id: //depot/perl@5503
* In FreeBSD disable floating point exception handlers.Sean Davis2000-02-241-1/+1
| | | | | | | | | As the comment says, this should be done in the hints. To: "M.J.T. Guy" <mjtg@cus.cam.ac.uk> cc: perl5-porters@perl.org Subject: Re: [ID 20000216.004] apparent bug on freebsd systems when calculating large numbers Message-ID: <Pine.LNX.4.04.10002241552080.448-100000@dragon.ender.com> p4raw-id: //depot/cfgperl@5248