"Henning Nielsen Lund" <[EMAIL PROTECTED]> writes: > I guess this is not the right place for this, but I have made a few > changes to grep for my AmigaOS4 port of your great implementation of grep.
Thanks. Part of that change is to getpagesize.h, which came from gnulib. grep should update to the latest gnulib version of the getpagesize module <http://cvs.savannah.gnu.org/viewcvs/*checkout*/gnulib/gnulib/MODULES.html?rev=HEAD&content-type=text/html#module=getpagesize> as it has some other fixes. Anyway, I installed this into gnulib, so grep can pick it up from there, when it has the time: 2006-12-30 Paul Eggert <[EMAIL PROTECTED]> * lib/getpagesize.h (getpagesize) [defined __amigaos4__]: Define. Trivial patch from Henning Nielsen Lund, originally sent to bug-grep@gnu.org today. --- lib/getpagesize.h 6 Jul 2006 23:29:27 -0000 1.10 +++ lib/getpagesize.h 30 Dec 2006 23:27:16 -0000 @@ -42,6 +42,11 @@ # endif #endif +/* This is for AmigaOS4.0. */ +#if !defined getpagesize && defined __amigaos4__ +# define getpagesize() 2048 +#endif + #if !defined getpagesize && HAVE_SYS_PARAM_H # include <sys/param.h> # ifdef EXEC_PAGESIZE