summaryrefslogtreecommitdiff
path: root/dosish.h
Commit message (Collapse)AuthorAgeFilesLines
* Unixish.h, doshish.h: Reorder terminations; simplifyKarl Williamson2022-07-251-3/+8
| | | | | | | | | | | | | | | | | | | | | 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.
* don't use environ on WindowsTomasz Konojacki2022-05-291-0/+4
| | | | | environ is managed by the C runtime, while we are using the system APIs directly.
* Remove DOS/DJGPP supportDagfinn Ilmari Mannsåker2021-11-021-70/+2
| | | | | | DJGPP is a port of the GNU toolchain to 32-bit x86 systems running DOS. The last known attempt to build Perl on it was on 5.20, which only got as far as building miniperl.
* Remove NetWare supportDagfinn Ilmari Mannsåker2021-10-081-4/+0
| | | | The build has been broken since 2009.
* style: Detabify indentation of the C code maintained by the core.Michael G. Schwern2021-01-171-3/+3
| | | | | | | | | | | 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.
* Win32: add lstat(), fetch st_dev and st_ino and fetch st_nlink for fstatTony Cook2020-12-011-1/+5
| | | | | | | | | | | | | | | We need lstat() for various modules to work well with symlinks, and the same modules often want to check for matches on the device and inode number. The values we're using for st_ino match those that the Python and Rust libraries use, and Go uses the same volume and file index values for testing if two stat objects refer to the same file. They aren't entirely unique, given ReFS uses 128-bit file ids, but the API used to check for this (GetFileInformationByHandleEx() for FileIdInfo) is only available on server operating systems, so I can't directly test it anyway.
* win32: remove support for disabling USE_LARGE_FILESTomasz Konojacki2020-11-221-5/+1
| | | | | It was enabled by default on all compilers. I don't think it ever makes sense to disable it.
* Add mutex for accessing ENVKarl Williamson2020-03-111-1/+2
|
* The Windows CE Chainsaw MassacreSteve Hay2019-06-181-2/+0
| | | | | Remove WinCE support as agreed in the thread starting here: https://www.nntp.perl.org/group/perl.perl5.porters/2018/07/msg251683.html
* Add mutex for dealing with qr/\p{user-defined}/Karl Williamson2019-02-141-1/+1
| | | | This will be used in future commits
* add wrap_keyword_plugin function (RT #132413)Lukas Mai2017-11-111-3/+4
|
* dosish.h: simplify cpp conditionalsAaron Crane2017-10-211-24/+18
|
* (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-3/+3
| | | | | This adds a new mutex for use in the next commit for use with locale handling.
* 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.
* Remove HAS_64K_LIMITBrian Fraser2013-09-211-17/+0
| | | | | | This was only defined for MSDOS if not using DJGPP. We've long since dropped support for that, so this define and related code can go.
* 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/+3
| | | | | This function provides a convenient and thread-safe way for modules to hook op checking.
* The Borland Chainsaw MassacreSteve Hay2011-09-101-5/+0
| | | | | Remove support for the Borland C++ compiler on Win32, as agreed here: http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2011-09/msg00034.html
* PERL_FS_VER_FMT is only used with the current perl version, which is known atNicholas Clark2009-02-161-1/+6
| | | | compile time, so replace it with PERL_FS_VERSION, a compile time constant.
* Add editor blocks to some header files.Marcus Holland-Moritz2008-01-011-0/+10
| | | 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
* make PERL_SYS_INIT/INIT3/TERM into functionsDave Mitchell2007-09-251-7/+7
| | | p4raw-id: //depot/perl@31970
* Add PERLIO_INIT to PERL_SYS_INIT.Nicholas Clark2006-10-211-4/+8
| | | | | 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-0/+4
| | | p4raw-id: //depot/perl@29060
* Define PERL_NO_DEV_RANDOM on WindowsAlex Davies2006-08-071-0/+3
| | | | | | | | From: "Davies, Alex" <adavies@ptc.com> Message-ID: <A69AA663CE9BBC44AE1DA72483DE15DE04622D66@HQ-MAIL3.ptcnet.ptc.com> This stops perl from trying to read C:\dev\urandom on Windows p4raw-id: //depot/perl@28671
* 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
* Silence warnings about NSIG redefinition on Win32Steve Hay2005-07-201-1/+2
| | | | | | (Change 25191 doesn't work out unless dosish.h includes <signal.h> too, which it currently only does for DJGPP) p4raw-id: //depot/perl@25199
* 5.8.1 / bcc55 / win32 / Enable PerlIO and/ or USE_LARGE_FILESNigel Sandever2003-12-281-0/+5
| | | | | | | From: "Nigel Sandever" <njsandever@hotmail.com> Message-ID: <Law9-F94BdsnvUFcxT500000ea5@hotmail.com> Date: Thu, 25 Sep 2003 21:49:07 +0000 p4raw-id: //depot/perl@21989
* Put all pre-processor #s on the first column (some compilers are picky)Nicholas Clark2003-10-091-3/+3
| | | | | [perl #24167] `#' comment signs not at the very beginning of a line p4raw-id: //depot/perl@21433
* Integrate two DJGPP portability patches from the 5.6.2 branch :Rafael Garcia-Suarez2003-08-261-0/+45
| | | | | | | | | | | | | | | | | | | [20859] Two portability patches for DJGPP from Richard Dawe <rich@phekda.freeserve.co.uk>. Message-Id: <E19qfNh-0000Zq-00@phekda.freeserve.co.uk> [20911] Don't uppercase automatically all environment variables on DJGPP. (reported by Richard Dawe, this breaks portability of Unix scripts.) Don't change the behaviour on plain MS/DOS. p4raw-link: @20911 on //depot/maint-5.6/perl-5.6.2: 91a64263ab3d9ea51fa198428b79b128d13386a5 p4raw-link: @20859 on //depot/maint-5.6/perl-5.6.2: e61553d05d06f2b080893dabff3b9134ba8b77f7 p4raw-id: //depot/perl@20913 p4raw-edited: from //depot/maint-5.6/perl-5.6.2@20912 'edit in' perl.c (@20322..) p4raw-integrated: from //depot/maint-5.6/perl-5.6.2@20912 'merge in' djgpp/djgppsed.sh dosish.h (@20322..)
* Remove PL_earlytaint since the hash seed codeJarkko Hietaniemi2003-07-041-4/+4
| | | | | 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-4/+4
| | | | | as per suggestion from Sarathy. p4raw-id: //depot/perl@19878
* More Perl malloc debugging magic from Ilya. Seems to work inJarkko Hietaniemi2003-06-201-4/+4
| | | | | | | | | | 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
* fix Embed.t failure on windows: PERL_SYS_TERM() is implementedGurusamy Sarathy2003-05-111-1/+4
| | | | | | | | in terms of an exported function rather than as an inlined macro (latter wants PL_op_mutex which isn't exported as such) Jarkko: please merge into maint-5.8 p4raw-id: //depot/perl@19484
* 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
* WinCE update from Vadim Konovalov.Jarkko Hietaniemi2003-03-241-1/+4
| | | p4raw-id: //depot/perl@19051
* 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-3/+0
| | | | | Still imcomplete. Configure will follow p4raw-id: //depot/perl@18030
* Windows 64-bit support:Gurusamy Sarathy2002-04-211-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* NetWare update from C Aditya.Jarkko Hietaniemi2002-04-051-1/+1
| | | p4raw-id: //depot/perl@15747
* 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
* DJGPP tweaks for Laszlo Molnar.Jarkko Hietaniemi2001-09-241-0/+1
| | | p4raw-id: //depot/perl@12166
* 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
* NetWare port from Guruprasad S <SGURUPRASAD@novell.com>.Jarkko Hietaniemi2001-06-161-2/+7
| | | p4raw-id: //depot/perl@10643
* [ID 20001016.012] [PATCHes Included]OK: perl v5.7.0 on dos-djgpp djgppPeter J. Farley III2000-10-161-1/+5
| | | | | Message-Id: <4.3.1.0.20001016180235.00ac65a0@pop5.banet.net> p4raw-id: //depot/perl@7350
* support binmode(F,":crlf") and use open IN => ":raw", OUT => ":crlf"Gurusamy Sarathy2000-03-091-1/+1
| | | | | semantics; the pragma sets defaults for both open() and qx// p4raw-id: //depot/perl@5628