qnx6 patches
David Shaw
dshaw at jabberwocky.com
Sun Apr 15 20:58:33 CEST 2007
On Fri, Apr 13, 2007 at 12:02:57PM -0400, Sean Boudreau wrote:
>
> Hello:
>
> Please find attached the QNX6 diffs I've been using
> for gnupg-1.4.6. I think most of these may be
> applicable to other POSIX strict environments.
Thank you for the diffs. The reason for some of the changes are
clear, and I've started to apply them. Some of the others I have
questions about:
> --- acinclude.m4.orig 2006-10-02 11:15:43.000000000 -0400
> +++ acinclude.m4 2007-03-28 09:13:07.000000000 -0400
> @@ -416,6 +416,42 @@
> #include <sys/types.h>
> #include <fcntl.h>
>
> + /* This mess was copied from the GNU getpagesize.h. */
> + #ifndef HAVE_GETPAGESIZE
(etc). Can you clarify what this change is intended to address?
Presumably getpagesize, but can you show me what did not work in the
current code?
> --- g10/gpg.c.orig 2006-12-03 10:37:45.000000000 -0500
> +++ g10/gpg.c 2007-03-28 09:13:07.000000000 -0400
> @@ -25,6 +25,7 @@
> #include <stdio.h>
> #include <stdlib.h>
> #include <string.h>
> +#include <strings.h>
I assume the various <strings.h> changes are for strcasecmp().
> --- tools/shmtest.c.orig 2005-07-27 13:02:56.000000000 -0400
> +++ tools/shmtest.c 2007-03-28 09:13:09.000000000 -0400
> @@ -39,12 +39,14 @@
>
> static int serverpid = -1;
>
> +#ifdef USE_SHM_COPROCESSING
> static void
> my_usage(void)
> {
> fprintf(stderr, "usage: shmtest gpg-command-line\n");
> exit(1);
> }
> +#endif
The various additions of USE_SHM_COPROCESSING is to avoid unreferenced
static function warnings?
David
More information about the Gnupg-devel
mailing list