Commit f7f53951 authored by gregor herrmann's avatar gregor herrmann

Imported Upstream version 4.30

parent 0f7997e2
......@@ -169,7 +169,7 @@ use common::sense;
use base 'Exporter';
BEGIN {
our $VERSION = 4.2;
our $VERSION = 4.3;
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
......
......@@ -22,6 +22,12 @@ 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.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
in 5.18. What's so attractive about giving a shit about backwards
compatibility - I will never understand.
4.2 Sat Jan 25 01:13:14 CET 2014
- aio_group could corrupt memory because it didn't restore
the stack after req_submit.
......
......@@ -37,5 +37,5 @@
}
},
"release_status" : "stable",
"version" : "4.2"
"version" : "4.3"
}
......@@ -19,4 +19,4 @@ no_index:
- inc
requires:
common::sense: 0
version: 4.2
version: 4.3
/*
* libecb - http://software.schmorp.de/pkg/libecb
*
* Copyright (©) 2009-2013 Marc Alexander Lehmann <libecb@schmorp.de>
* Copyright (©) 2009-2014 Marc Alexander Lehmann <libecb@schmorp.de>
* Copyright (©) 2011 Emanuele Giaquinta
* All rights reserved.
*
......@@ -144,6 +144,8 @@
#elif defined __ARM_ARCH_7__ || defined __ARM_ARCH_7A__ \
|| defined __ARM_ARCH_7M__ || defined __ARM_ARCH_7R__
#define ECB_MEMORY_FENCE __asm__ __volatile__ ("dmb" : : : "memory")
#elif __aarch64__
#define ECB_MEMORY_FENCE __asm__ __volatile__ ("dmb ish" : : : "memory")
#elif (__sparc || __sparc__) && !__sparcv8
#define ECB_MEMORY_FENCE __asm__ __volatile__ ("membar #LoadStore | #LoadLoad | #StoreStore | #StoreLoad" : : : "memory")
#define ECB_MEMORY_FENCE_ACQUIRE __asm__ __volatile__ ("membar #LoadStore | #LoadLoad" : : : "memory")
......@@ -594,7 +596,6 @@ ecb_inline ecb_bool ecb_little_endian (void) { return ecb_byteorder_helper () ==
|| __i386 || __i386__ \
|| __amd64 || __amd64__ || __x86_64 || __x86_64__ \
|| __powerpc__ || __ppc__ || __powerpc64__ || __ppc64__ \
|| defined __arm__ && defined __ARM_EABI__ \
|| defined __s390__ || defined __s390x__ \
|| defined __mips__ \
|| defined __alpha__ \
......@@ -603,7 +604,9 @@ ecb_inline ecb_bool ecb_little_endian (void) { return ecb_byteorder_helper () ==
|| defined __m68k__ \
|| defined __m88k__ \
|| defined __sh__ \
|| defined _M_IX86 || defined _M_AMD64 || defined _M_IA64
|| defined _M_IX86 || defined _M_AMD64 || defined _M_IA64 \
|| (defined __arm__ && (defined __ARM_EABI__ || defined __EABI__ || defined __VFP_FP__ || defined _WIN32_WCE || defined __ANDROID__)) \
|| defined __aarch64__
#define ECB_STDFP 1
#include <string.h> /* for memcpy */
#else
......
......@@ -234,7 +234,7 @@ s_gensub (pTHX_ void (*xsub)(pTHX_ CV *), void *arg)
/*****************************************************************************/
/* portable pipe/socketpair */
#ifdef USE_SOCKETS_AS_HANDLES
#if defined(USE_SOCKETS_AS_HANDLES) || PERL_VERSION_ATLEAST(5,18,0)
# define S_TO_HANDLE(x) ((HANDLE)win32_get_osfhandle (x))
#else
# define S_TO_HANDLE(x) ((HANDLE)x)
......
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