From: Richard H Lee <ricardohenrylee@gmail.com>
To: cygwin@cygwin.com
Subject: [ATTN: Yaakov Selkowitz / PHP maintainer] Re: Composer segfault on multiple configurations
Date: Fri, 19 May 2017 19:26:00 -0000 [thread overview]
Message-ID: <0d4fb11a-518c-9ecc-9d5c-4769802818b1@gmail.com> (raw)
In-Reply-To: <CADWQZEtXVU5GMitWn1qFqSrXYE4D5LtSBOSWsayv=suGBR0aBQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 350 bytes --]
On 18/05/2017 08:42, Sky Diver wrote:
> Any idea when your fix will get released as an official cygwin PHP
> package?
Hi Yaakov,
I can see you're really busy with package maintenance and all, but I was
wondering if you could review and merge my patch for this issue. It's
basically changing the definition of the page size in two places.
Richard
[-- Attachment #2: php-cygwin-page-size.patch --]
[-- Type: text/plain, Size: 862 bytes --]
diff --git a/Zend/zend_stream.c b/Zend/zend_stream.c
index 3fd7fa0..f5b9bea 100644
--- a/Zend/zend_stream.c
+++ b/Zend/zend_stream.c
@@ -30,7 +30,11 @@
# if HAVE_UNISTD_H
# include <unistd.h>
# if defined(_SC_PAGESIZE)
+# ifdef __CYGWIN__
+# define REAL_PAGE_SIZE 4096
+# else
# define REAL_PAGE_SIZE sysconf(_SC_PAGESIZE);
+# endif
# elif defined(_SC_PAGE_SIZE)
# define REAL_PAGE_SIZE sysconf(_SC_PAGE_SIZE);
# endif
diff --git a/main/main.c b/main/main.c
index 01ed3a6..0909309 100644
--- a/main/main.c
+++ b/main/main.c
@@ -96,7 +96,11 @@
# if HAVE_UNISTD_H
# include <unistd.h>
# if defined(_SC_PAGESIZE)
+# ifdef __CYGWIN__
+# define REAL_PAGE_SIZE 4096
+# else
# define REAL_PAGE_SIZE sysconf(_SC_PAGESIZE);
+# endif
# elif defined(_SC_PAGE_SIZE)
# define REAL_PAGE_SIZE sysconf(_SC_PAGE_SIZE);
# endif
[-- Attachment #3: Type: text/plain, Size: 219 bytes --]
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
next prev parent reply other threads:[~2017-05-19 15:33 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-17 19:32 Sky Diver
2017-05-17 20:47 ` Richard H Lee
2017-05-18 11:02 ` Sky Diver
2017-05-18 12:35 ` Andrey Repin
2017-05-18 13:33 ` Richard H Lee
2017-05-18 14:32 ` Sky Diver
2017-05-19 19:26 ` Richard H Lee [this message]
2017-05-30 18:59 ` [ATTN: Yaakov Selkowitz / PHP maintainer] " Richard H Lee
2017-05-30 20:47 ` Vince Rice
2017-05-31 1:02 ` Vince Rice
2017-05-22 19:54 ` Richard H Lee
2017-05-25 7:56 ` Sky Diver
2017-05-25 21:21 ` Memcache/d (Orig: Re: Composer segfault on multiple configurations) Richard H Lee
2017-05-27 10:51 ` Sky Diver
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0d4fb11a-518c-9ecc-9d5c-4769802818b1@gmail.com \
--to=ricardohenrylee@gmail.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).