summaryrefslogtreecommitdiff
path: root/ext/PerlIO-mmap
Commit message (Collapse)AuthorAgeFilesLines
* Remove use of dVAR in coreDagfinn Ilmari Mannsåker2020-07-202-2/+1
| | | | | It only does anything under PERL_GLOBAL_STRUCT, which is gone. Keep the dNOOP defintion for CPAN back-compat
* Eliminate PerlIOMmap_close()David Mitchell2015-11-302-17/+1
| | | | | | This static function wasn't being used. For the justification, see http://nntp.perl.org/group/perl.perl5.porters/232954
* XS staticing in ext and distDaniel Dragan2015-10-262-11/+11
| | | | | | | None of these symbols are exported on Win32 (listed in Makefile.PL with EUMM's FUNCLIST), so they shouldn't be exported on Linux. Making them static saves space in the SOs by removing symbol name strings, and removing runtime plt/got indirection.
* Replace common Emacs file-local variables with dir-localsDagfinn Ilmari Mannsåker2015-03-222-7/+1
| | | | | | | | | | | | | | | | 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.
* bump $VERSION for PerlIO-encoding, PerlIO-mmap, PerlIO-scalar, OS2-ProcessTony Cook2014-06-121-1/+1
|
* Version bumping thanks to the Coverity deluge.Jarkko Hietaniemi2014-05-291-1/+1
|
* fcntl receiving -1 from fileno, fcntl failing.Jarkko Hietaniemi2014-05-291-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (Also very few spots of negative numgroups for getgroups(), and fgetc() return, but almost all checking is for fcntl.) (merged fix for perl #121743 and perl #121745: hopefully picked up all the fixes-to-fixes from the ticket...) Fix for Coverity perl5 CIDs 28990..29003,29005..29011,29013, 45354,45363,49926: Argument cannot be negative (NEGATIVE_RETURNS) fd is passed to a parameter that cannot be negative. and CIDs 29004, 29012: Argument cannot be negative (NEGATIVE_RETURNS) num_groups is passed to a parameter that cannot be negative and because of CIDs 29005 and 29006 also CID 28924. In the first set of issues a fd is retrieved from PerlIO_fileno, and that is then used in places like fstat(), fchown(), dup(), etc., without checking whether the fd is valid (>=0). In the second set of issues a potentially negative number is potentially passed to getgroups(). The CIDs 29005 and 29006 were a bit messy: fixing them needed also resolving CID 28924 where the return value of fstat() was ignored, and for completeness adding two croak calls (with perldiag updates): a bit of a waste since it's suidperl code.
* update the editor hints for spaces, not tabsRicardo Signes2012-05-292-3/+3
| | | | | This updates the editor hints in our files for Emacs and vim to request that tabs be inserted as spaces.
* Moving :mmap out of core binary into a moduleLeon Timmermans2012-01-302-0/+350