summaryrefslogtreecommitdiff
path: root/ext/Fcntl/Fcntl.pm
Commit message (Collapse)AuthorAgeFilesLines
* Add support for Linux pipe buffer size fcntl commandsDagfinn Ilmari Mannsåker2014-10-131-1/+3
| | | | | This lets us make t/io/eintr.t more reliable by making sure we're actually writing more than the buffer size.
* Version bump for e6425454.Jarkko Hietaniemi2014-10-081-1/+1
|
* Add various *BSD O_ constants.Jarkko Hietaniemi2014-10-081-0/+5
|
* bump version of many modulesZefram2010-12-191-1/+1
| | | | | Core-only modules that have changed from v5.13.7, and dual-life modules that have changed from v5.13.7 and didn't show up in earlier passes.
* Increase Fcntl’s versionFather Chrysostomos2010-10-271-1/+1
|
* Convert Fcntl, File::Glob, I18N::Langinfo and Socket to an XS AUTOLOAD.Nicholas Clark2010-10-211-7/+1
| | | | | All 4 use ExtUtils::Constant::ProxySubs, and only have an AUTOLOAD to deal with failed constant lookups.
* Convert Fcntl, File::Glob, I18N::Langinfo, POSIX and Socket to croak_on_error.Nicholas Clark2010-10-211-8/+1
| | | | | This is possible because all 5 use ExtUtils::Constant::ProxySubs, so the constant() routine is only used for error conditions.
* Make Fcntl::AUTOLOAD's error messages consistent with croak() using modules.Nicholas Clark2010-10-191-1/+1
| | | | | | | | Fcntl avoids using Carp::croak(), but its code was adding a full stop at the end of all error messages. Other modules are using croak(), which has no full stop between the line number and the newline. Add a test for the error messages from Fcntl::AUTOLOAD.
* Express @Fcntl::EXPORT_OK in terms of %Fcntl::EXPORT_TAGS.Nicholas Clark2010-10-181-49/+22
| | | | | | This reduces quite a lot of repetition of symbol names. Note that '&SUBNAME' and 'SUBNAME' are interchangeable to Exporter.
* Convert Fcntl::S_IFMT to XS.Nicholas Clark2010-10-181-11/+4
| | | | | This removes the requirement to call XSLoader::load() at BEGIN time, which simplifies the Perl code further.
* Convert Fcntl::S_IMODE to XS.Nicholas Clark2010-10-181-1/+0
|
* Convert Fcntl::S_IS{LNK,SOCK,BLK,CHR,FIFO,WHT,ENFMT} to XS.Nicholas Clark2010-10-181-8/+0
| | | | | This reduces the memory usage of Fcntl by quite a bit, as the same XSUB is used by all 9 S_IS* functions.
* Convert Fcntl::{S_ISREG,S_ISDIR} to XS.Nicholas Clark2010-10-181-3/+1
| | | | | | | | I estimate that this saves 294 bytes in Perl space (per thread, or per-process if memory pages become unshared after forking), but costs only 232 bytes in the shared object (should always remain shared between threads and processes). Oh, and it's XS code, and avoids 2 Perl subroutine calls.
* Fix Fcntl::S_ISENFMT(), which could never have worked before.Nicholas Clark2010-10-181-2/+2
| | | | | | | | S_ISENFMT() and S_ISWHT() were added in 2000 as part of commit ca6e1c26e8ac218f. 1a16747c2ea1992d (2 weeks later) intended to fix the copy/paste error in that previous commit which would prevent either from working. It did fix S_ISWHT(). However, there was a second error in the definition of S_ISEMFMT() which was never picked up - S_ENFMT(), not S_IFENFMT().
* Convert modules in ext/ to pass minimal arguments to XSLoader::load().Nicholas Clark2010-10-141-3/+3
|
* fixed Fcntl::S_IFMT() breakage introduced by change 30674 (blead 26701)Alexey Tourbin2007-04-261-11/+13
| | | | | Message-ID: <20070425141222.GA24828@solemn.turbinal> p4raw-id: //depot/perl@31080
* Reorder Fcntl's bootstrapping so that the constants actually getNicholas Clark2006-01-071-13/+19
| | | | | inlined within the functions that Fcntl defines. p4raw-id: //depot/perl@26701
* Typo tweaks from Gerrit P. Haase. Fcntl, fcntl, fcntl.Jarkko Hietaniemi2003-08-181-2/+2
| | | p4raw-id: //depot/perl@20764
* Re: script wantedNicholas Clark2003-08-131-1/+1
| | | | | Message-ID: <20030813204609.G20130@plum.flirble.org> p4raw-id: //depot/perl@20686
* And even more glibc fcntl constants, this time mostly F_XXX.Jarkko Hietaniemi2003-06-161-11/+27
| | | | | Be more conservative and use @EXPORT_OK instead of @EXPORT. p4raw-id: //depot/perl@19798
* Even more glibc O_ modes.Jarkko Hietaniemi2003-06-161-0/+3
| | | p4raw-id: //depot/perl@19797
* Add O_NOATIME.Jarkko Hietaniemi2003-06-161-0/+1
| | | p4raw-id: //depot/perl@19796
* The .pm changes to go with #10428.Jarkko Hietaniemi2001-06-041-12/+6
| | | p4raw-id: //depot/perl@10431
* Fcntl constants speedupNicholas Clark2000-12-171-1/+1
| | | | | | | Message-ID: <20001217162924.E97668@plum.flirble.org> Use IVs for the Fcntl constants instead of NVs. p4raw-id: //depot/perl@8148
* integrate cfgperl contents into mainlineGurusamy Sarathy2000-03-171-0/+4
| | | p4raw-id: //depot/perl@5767
* Fcntl de-cut-and-pasto.Doug MacEachern2000-03-011-2/+2
| | | | | | | To: perl5-porters@perl.org Subject: [PATCH v5.5.660] Fcntl.pm Message-ID: <Pine.LNX.4.10.10002292120200.382-100000@mojo.itixs.com> p4raw-id: //depot/cfgperl@5393
* Fix prototype conflicts with POSIX.pm.Jarkko Hietaniemi2000-02-221-147/+16
| | | p4raw-id: //depot/cfgperl@5217
* Fcntl: more O_ constants, move SEEK_ to @EXPORT_OKJarkko Hietaniemi2000-02-161-9/+192
| | | | | | | | (tag :seek), add S_I constants (and functions) (tag :mode); refer only to the SEEK_ of Fcntl, not the ones from POSIX or IO::; add SHUT_ to Socket; get trigonometric functions from Math::Trig instead of POSIX. p4raw-id: //depot/cfgperl@5118
* s/use vars/our/g modules that aren't independently maintained on CPANGurusamy Sarathy2000-01-231-1/+1
| | | p4raw-id: //depot/perl@4860
* applied suggested patch; removed $VERSION = $VERSION hackIlya Zakharevich1999-12-031-3/+3
| | | | | | | | | (change#4043 fixed the need for that) Message-Id: <199911160650.BAA18874@monk.mps.ohio-state.edu> Subject: [PATCH 5.005_62] XSLoader.pm p4raw-link: @4043 on //depot/cfgperl: 09bef84370e90d727656ea11ba5ee8be80e361d3 p4raw-id: //depot/perl@4623
* Initial integration of the MacPerl changes form Matthias.Jarkko Hietaniemi1999-11-021-0/+2
| | | p4raw-id: //depot/cfgperl@4508
* More Fcntl constants. (This process really needsJarkko Hietaniemi1999-08-061-2/+25
| | | | | | | | | to be automated, at least partly, see the Errno extension.) Now also the SEEK_ constants are available via the Fcntl. Yes, this is redundant (IO::Seekable and POSIX supply them already), but now Fcntl is a one-stop shopping mall for all your file-related constants. p4raw-id: //depot/cfgperl@3929
* INSTALL =~ s/5.006/5.6/; delay loading Errno until neededGurusamy Sarathy1999-07-261-2/+1
| | | | | (%! has the necessary magic); misc typos p4raw-id: //depot/perl@3754
* Use Errno more extensively so that errororacle@pcr8.pcr.com1999-07-211-1/+2
| | | | | | | | | | messages are more portable (another way would be to muck around with LC_MESSAGES). Problem reported in To: perl5-porters@perl.org Subject: [ID 19990719.003] LC_MESSAGES breaks h2xs autoloaded constants on AIX 4.1.4 Message-Id: <9907192239.AA44990@pcr8.pcr.com> p4raw-id: //depot/cfgperl@3716
* big Configure update from Jarkko: sync metaconfig units; d_statblks fixGurusamy Sarathy1998-09-251-0/+4
| | | | | | | | | | | | | | | | | for Linux; hpux CMA-threads hints; ELF support for FreeBSD; beginnings of full-fledged 64-bit support (including support for: fseeko/ftello, Quad_t aka long long, hpux and irix 64-bits hints, new 64-bit constants in Fcntl) From: Jarkko Hietaniemi <jhi@iki.fi> Date: Fri, 11 Sep 1998 23:56:11 +0300 (EET DST) Message-Id: <199809112056.XAA04720@alpha.hut.fi> Subject: [PATCH] 5.005_51: Configure "Massive Attack" -- From: Jarkko Hietaniemi <jhi@cc.hut.fi> Date: 12 Sep 1998 09:44:25 +0300 Message-ID: <oeeaf45bzjq.fsf@alpha.hut.fi> Subject: Re: [PATCH] 5.005_51: Configure "Massive Attack" p4raw-id: //depot/perl@1889
* 5.004_67: Fcntl: add few constants, enhance maintainabilityJarkko Hietaniemi1998-06-231-12/+51
| | | | | Message-Id: <199806221558.SAA18626@alpha.hut.fi> p4raw-id: //depot/perl@1196
* [win32] merge change#681 from maintbranchGurusamy Sarathy1998-05-131-4/+3
| | | | | p4raw-link: @681 on //depot/maint-5.004/perl: ca1e21bae662c1cebe4e218dc45cb163ecf67263 p4raw-id: //depot/win32/perl@927
* Some more Chip patches (tweaked to match _5x):Malcolm Beattie1998-02-061-1/+1
| | | | | | | | | | | | Subject: [PATCH] Fix empty BLOCK Date: Wed, 4 Feb 1998 16:52:28 -0500 (EST) Subject: [PATCH] fix (\@@) proto Date: Thu, 5 Feb 1998 10:24:29 -0500 (EST) Subject: [PATCH] Cope with lack of args in Fcntl::AUTOLOAD Date: Thu, 5 Feb 1998 21:26:55 -0500 (EST) Subject: [PATCH] Don't fold string comparison under C<use locale> Date: Thu, 5 Feb 1998 21:46:25 -0500 (EST) p4raw-id: //depot/perl@463
* [differences between cumulative patch application and perl5.004_01]perl-5.004_01Tim Bunce1997-06-111-6/+18
| | | | | | | | | [editor's note: The changes between this and 5.004 were processed from the m1t2 release, which was a bad idea as it was the _01 release which had the final corrected attributions. The differences between the various m*t* releases do that; I considered it most valuable just to look at the _NN releases. Many patches have been separated out and/or applied from the p5p archives nonetheless.]
* Fcntl.xs: F_[GS]ETOWN were in wrong case branchJarkko Hietaniemi1997-01-291-1/+1
| | | | private-msgid: <199701251510.RAA05142@alpha.hut.fi>
* Fcntl: add more constantsJarkko Hietaniemi1997-01-251-2/+8
| | | | | | | Subject: O_EXLOCK, O_SHLOCK to Fcntl. p5p-msgid: <199701191717.TAA17694@alpha.hut.fi> private-msgid: <199701191811.UAA16346@alpha.hut.fi>
* [inseparable changes from patch from perl5.003_12 to perl5.003_13]Perl 5 Porters1996-12-201-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DOCUMENTATION Subject: small doc tweaks for _12 Date: Thu, 19 Dec 1996 11:05:57 -0500 From: Roderick Schertler <roderick@gate.net> Files: lib/UNIVERSAL.pm pod/perldiag.pod pod/perltie.pod Msg-ID: <1826.851011557@eeyore.ibcinc.com> (applied based on p5p patch as commit 3314ffc68a11690bd9977cbdd7ea0601ad6ced13) PORTABILITY Subject: Add missing backslash in Configure From: Chip Salzenberg <chip@atlantic.net> Files: Configure UTILITIES, LIBRARY, AND EXTENSIONS Subject: Include libnet-1.01 instead of old Net::FTP From: Graham Barr <Graham.Barr@tiuk.ti.com> Files: MANIFEST lib/Net/Cmd.pm lib/Net/Domain.pm lib/Net/DummyInetd.pm lib/Net/FTP.pm lib/Net/NNTP.pm lib/Net/Netrc.pm lib/Net/POP3.pm lib/Net/SMTP.pm lib/Net/SNPP.pm lib/Net/Socket.pm lib/Net/Telnet.pm lib/Net/Time.pm pod/perlmod.pod Subject: Use binmode when doing binary FTP From: Ilya Zakharevich <ilya@math.ohio-state.edu> Files: lib/Net/FTP.pm Subject: Re: Open3.pm tries to close unopened file handle Date: 18 Dec 1996 22:19:54 -0500 From: Roderick Schertler <roderick@gate.net> Files: MANIFEST lib/IPC/Open2.pm lib/IPC/Open3.pm lib/open2.pl lib/open3.pl pod/perldiag.pod pod/perlfunc.pod t/lib/open2.t t/lib/open3.t Msg-ID: <pzloavmd9h.fsf@eeyore.ibcinc.com> (applied based on p5p patch as commit 982b4e8fc47473059e209787b589853f4c8f8f9e) Subject: Long-standing problem in Socket module Date: Wed, 18 Dec 1996 23:18:14 -0500 From: Spider Boardman <spider@orb.nashua.nh.us> Files: Configure Porting/Glossary config_H config_h.SH ext/Socket/Socket.pm ext/Socket/Socket.xs Msg-ID: <199612190418.XAA07291@Orb.Nashua.NH.US> (applied based on p5p patch as commit 3e6a22d2723daf415793f9a4fc1b57f4d8a576fd) Subject: flock() constants Date: Thu, 19 Dec 1996 01:37:17 -0500 From: Roderick Schertler <roderick@gate.net> Files: ext/Fcntl/Fcntl.pm ext/Fcntl/Fcntl.xs pod/perlfunc.pod Msg-ID: <26669.850977437@eeyore.ibcinc.com> (applied based on p5p patch as commit 3dea0e15e4684f6defe2f25a16bc696b96697ac2)
* No AutoLoader for FcntlChip Salzenberg1996-09-051-5/+0
| | | | Just like Socket, Fcntl doesn't need splitting and AutoLoading.
* VERSION PatchPaul Marquess1996-02-061-5/+7
|
* perl5.002beta3Perl 5 Porters1996-02-021-0/+1
| | | | | | | | | | | | | | | | | [editor's note: no patch file was found for this release, so no fine-grained changes] I can't find the password for our ftp server, so I had to drop it into ftp://ftp.sems.com/pub/incoming/perl5.002b3.tar.gz, which is a drop directory you can't ls. The current plan is that Andy is gonna whack on this a little more, and then release a gamma in a few days when he's happy with it. So don't get carried away. This is now *late* beta. In other words, have less than the appropriate amount of fun. :-) Larry
* This is my patch patch.1h for perl5.001.Andy Dougherty1995-05-241-1/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To apply, change to your perl directory, run the commands above, then apply with patch -p1 -N < thispatch. After you apply this patch, you should apply patch.1i before reConfiguring and rebuilding. This patch just includes updates to the ext/ subdirectory. Here are the highlights: Grand autoload patch. Embedded pods. DB_File and GDBM_File updates. Patch and enjoy, Andy Dougherty doughera@lafcol.lafayette.edu Dept. of Physics Lafayette College Easton, PA 18042 Here's the file-by-file breakdown of what's included: ext/DB_File/DB_File.pm Updated to version 0.2 Embedded pod. ext/DB_File/DB_File.xs Updated to version 0.2 ext/DynaLoader/DynaLoader.pm Embedded pod. ext/DynaLoader/README Updated to refer to pod documentation in DynaLoader.pm. ext/Fcntl/Fcntl.pm Grand AutoLoader patch. Embedded pod. ext/GDBM_File/GDBM_File.pm Grand AutoLoader patch. Embedded pod. ext/GDBM_File/GDBM_File.xs Added gdbm_sync(), gdbm_exists(), and gdbm_setopt() functions. ext/POSIX/POSIX.pm Grand AutoLoader patch. Embedded pod. move tan() into the .xs file. (It didn't exist before.) Change usage message for chmod to reflect reality. ext/POSIX/POSIX.xs move tan() into the .xs file. (It didn't exist before.) ext/SDBM_File/sdbm/sdbm.c Fix type of free prototype. ext/Socket/Socket.pm Grand AutoLoader patch. Embedded pod.
* Perl 5.001perl-5.001Larry Wall1995-03-121-4/+0
| | | | [See the Changes file for a list of changes]
* perl5.000 patch.0o: [address] a few more Configure and build nits.perl-5.000oAndy Dougherty1995-03-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch addresses a few more Configure and build nits. Full details are given below, but the main hightligths are (slightly) better support for nested extensions and DLD and AIX MakeMaker fixes. Configure Detect MachTen. Thanks to Mark Pease <peasem@primenet.com>. Delete some tabs that caused a MachTen /bin/sh core dump! Detect extensions nested 1 level deep, e.g. Devel/DProf/DProf.xs MANIFEST MANIFEST.new Include new hints/machten.sh hint file. Makefile.SH Document why we use ./makedir instead of mkdir. U/Extensions.U Detect extensions nested 1 level deep, e.g. Devel/DProf/DProf.xs U/dist3_051.pat Include MachTen patches. configpm Convert nested extension names from filesytem-dependent Devel/DProf to perl5's internal naming scheme Devel::DProf. doio.c A dup-related buglet fix from Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>. ext/DB_File/DB_File.pm ext/DynaLoader/DynaLoader.pm ext/Fcntl/Fcntl.pm ext/GDBM_File/GDBM_File.pm ext/POSIX/POSIX.pm ext/Socket/Socket.pm Throw a qw() around @ISA elements to show "good style". hints/machten.sh new file. lib/ExtUtils/MakeMaker.pm Bump version number to 4.086. Fix AIX buglet -- needed to specify NAME. Linux/DLD/gcc-2.6.2: We no longer load .sa libraries (except libm.sa, which is apparently still o.k. util.c Another dup-related buglet fix.
* MakeMaker 3.8Tim Bunce1995-01-171-1/+1
|
* perl 5.000perl-5.000Larry Wall1994-10-171-0/+51
[editor's note: this commit combines approximate 4 months of furious releases of Andy Dougherty and Larry Wall - see pod/perlhist.pod for details. Andy notes that; Alas neither my "Irwin AccuTrack" nor my DC 600A quarter-inch cartridge backup tapes from that era seem to be readable anymore. I guess 13 years exceeds the shelf life for that backup technology :-(. ]