Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46410 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43746 invoked from network); 13 Dec 2009 22:06:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Dec 2009 22:06:50 -0000 Authentication-Results: pb1.pair.com smtp.mail=jerome@loyet.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=jerome@loyet.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain loyet.net from 209.85.223.195 cause and error) X-PHP-List-Original-Sender: jerome@loyet.net X-Host-Fingerprint: 209.85.223.195 mail-iw0-f195.google.com Received: from [209.85.223.195] ([209.85.223.195:34665] helo=mail-iw0-f195.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FB/16-09748-975652B4 for ; Sun, 13 Dec 2009 17:06:49 -0500 Received: by iwn33 with SMTP id 33so1593372iwn.29 for ; Sun, 13 Dec 2009 14:06:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.146.2 with SMTP id f2mr1538180ibv.23.1260742007274; Sun, 13 Dec 2009 14:06:47 -0800 (PST) Date: Sun, 13 Dec 2009 23:06:47 +0100 Message-ID: <3bea96c40912131406j24cacd94q83902f2f2e302674@mail.gmail.com> To: php-dev Cc: Antony Dovgal Content-Type: multipart/mixed; boundary=0016e64c06167f3e63047aa35fdd Subject: [PATCH] fpm/bug: posix call is not POSIX compliant From: jerome@loyet.net (=?ISO-8859-1?B?Suly9G1lIExveWV0?=) --0016e64c06167f3e63047aa35fdd Content-Type: text/plain; charset=ISO-8859-1 Hi tony, in the FPM config.m4 the command "find" is used to find source file: PHP_FPM_FILES=`cd $abs_srcdir/sapi/fpm && find fpm/ \( -name *.c -not -name fpm_trace*.c \) -exec printf "{} " \;` But the -not argument is not POSIX compliant and is not recognized on several unix as OpenBSD. This should be replaced by \! which is, of course, recognized by linux also. The attached patch corrects this. ++ Jerome --0016e64c06167f3e63047aa35fdd Content-Type: text/plain; charset=US-ASCII; name="php-fpm.find-posix.patch.txt" Content-Disposition: attachment; filename="php-fpm.find-posix.patch.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_g36d6p7y0 SW5kZXg6IHNhcGkvZnBtL2NvbmZpZy5tNAo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBzYXBpL2ZwbS9jb25maWcu bTQJKHJldmlzaW9uIDI5MjA4NCkKKysrIHNhcGkvZnBtL2NvbmZpZy5tNAkod29ya2luZyBjb3B5 KQpAQCAtNjU0LDcgKzY1NCw3IEBACiAgIFBIUF9TVUJTVChTQVBJX0ZQTV9QQVRIKQogICAKICAg bWtkaXIgLXAgc2FwaS9mcG0vZnBtCi0gIFBIUF9GUE1fRklMRVM9YGNkICRhYnNfc3JjZGlyL3Nh cGkvZnBtICYmIGZpbmQgZnBtLyBcKCAtbmFtZSAqLmMgLW5vdCAtbmFtZSBmcG1fdHJhY2UqLmMg XCkgLWV4ZWMgcHJpbnRmICJ7fSAiIFw7YAorICBQSFBfRlBNX0ZJTEVTPWBjZCAkYWJzX3NyY2Rp ci9zYXBpL2ZwbSAmJiBmaW5kIGZwbS8gXCggLW5hbWUgKi5jIFwhIC1uYW1lIGZwbV90cmFjZSou YyBcKSAtZXhlYyBwcmludGYgInt9ICIgXDtgCiAKICAgaWYgdGVzdCAiJGZwbV90cmFjZV90eXBl IiA7IHRoZW4KICAgICBQSFBfRlBNX1RSQUNFX0ZJTEVTPWBjZCAkYWJzX3NyY2Rpci9zYXBpL2Zw bSAmJiBmaW5kIGZwbS8gXCggLW5hbWUgZnBtX3RyYWNlLmMgLW9yIC1uYW1lIGZwbV90cmFjZV8k ZnBtX3RyYWNlX3R5cGUuYyBcKSAtZXhlYyBwcmludGYgInt9ICIgXDtgCg== --0016e64c06167f3e63047aa35fdd--