Commit fffa42fe authored by gregor herrmann's avatar gregor herrmann

Imported Upstream version 4.31

parent f7f53951
......@@ -169,7 +169,7 @@ use common::sense;
use base 'Exporter';
BEGIN {
our $VERSION = 4.3;
our $VERSION = 4.31;
our @AIO_REQ = qw(aio_sendfile aio_seek aio_read aio_write aio_open aio_close
aio_stat aio_lstat aio_unlink aio_rmdir aio_readdir aio_readdirx
......
......@@ -21,7 +21,11 @@
# include <sys/mman.h>
#endif
#if __linux__
/* the incompetent fool that created musl keeps __linux__, refuses
* to implement any linux standard apis, and also has no way to test
* for his broken iplementation. on't complain if this fails for you.
*/
#if __linux__ && (defined __GLIBC__ || defined __UCLIBC__)
# include <linux/fs.h>
# ifdef FS_IOC_FIEMAP
# include <linux/types.h>
......@@ -1262,9 +1266,8 @@ aio_read (SV *fh, SV *offset, SV *length, SV8 *data, IV dataoffset, SV *callback
else
{
/* read: check type and grow scalar as necessary */
SvUPGRADE (data, SVt_PV);
if (SvLEN (data) >= SvCUR (data))
svptr = SvGROW (data, len + dataoffset + 1);
if (!SvPOK (data) || SvLEN (data) >= SvCUR (data))
svptr = sv_grow (data, len + dataoffset + 1);
else if (SvCUR (data) < len + dataoffset)
croak ("length + dataoffset outside of scalar, and cannot grow");
}
......
......@@ -22,6 +22,9 @@ http://msdn.microsoft.com/en-us/library/windows/desktop/aa364996%28v=vs.85%29.as
http://msdn.microsoft.com/en-us/library/windows/desktop/aa364994%28v=vs.85%29.aspx
TODO: extra socket/tcp constants &c?
4.31 Tue Jun 3 03:29:27 CEST 2014
- work around more 5.20 bugs. backwards compatibility my ass.
4.3 Fri Apr 11 06:22:38 CEST 2014
- perl5porters broke Async::Interrupt, BDB, EV, IO::AIO, OpenCL
without warning by switching the meaning of USE_SOCKETS_AS_HANDLES
......
......@@ -4,7 +4,7 @@
"unknown"
],
"dynamic_config" : 1,
"generated_by" : "ExtUtils::MakeMaker version 6.86, CPAN::Meta::Converter version 2.133380",
"generated_by" : "ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.140640",
"license" : [
"unknown"
],
......@@ -37,5 +37,5 @@
}
},
"release_status" : "stable",
"version" : "4.3"
"version" : 4.31
}
......@@ -3,20 +3,20 @@ abstract: unknown
author:
- unknown
build_requires:
ExtUtils::MakeMaker: 0
ExtUtils::MakeMaker: '0'
configure_requires:
ExtUtils::MakeMaker: 0
ExtUtils::MakeMaker: '0'
dynamic_config: 1
generated_by: 'ExtUtils::MakeMaker version 6.86, CPAN::Meta::Converter version 2.133380'
generated_by: 'ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.140640'
license: unknown
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
version: '1.4'
name: IO-AIO
no_index:
directory:
- t
- inc
requires:
common::sense: 0
version: 4.3
common::sense: '0'
version: 4.31
......@@ -25,6 +25,17 @@
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTH-
* ERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
*
* Alternatively, the contents of this file may be used under the terms of
* the GNU General Public License ("GPL") version 2 or any later version,
* in which case the provisions of the GPL are applicable instead of
* the above. If you wish to allow the use of your version of this file
* only under the terms of the GPL and not to allow others to use your
* version of this file under the BSD license, indicate your decision
* by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL. If you do not delete the
* provisions above, a recipient may use your version of this file under
* either the BSD or the GPL.
*/
#ifndef ECB_H
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment