# [PATCH] fpm/bug: posix call is not POSIX compliant

- Thread: https://externals.io/message/46410
- Original archive: https://news-web.php.net/php.internals/46410
- Started by jerome@loyet.net on 2009-12-13T22:06:47+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #46410 — jerome@loyet.net — 2009-12-13T22:06:47+00:00

URL: https://externals.io/message/46410#46410

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
