gnupg-1.4.2rc1 build feedback

David Shaw dshaw at jabberwocky.com
Tue May 31 23:55:38 CEST 2005


On Tue, May 31, 2005 at 10:24:09AM -0600, Nelson H. F. Beebe wrote:
> I just did build attempts for gnupg-1.4.2rc1 in 21 build environments
> on that many flavors of Unix.  Of them, 17 succeeded and reported "All
> 25 tests passed".  Three of the four failures seem to have a common
> cause, and the other is specific to one platform:

Thanks for testing!

Can you try this patch for the memrchr.c error?

David
-------------- next part --------------
Index: memrchr.c
===================================================================
RCS file: /cvs/gnupg/gnupg/util/memrchr.c,v
retrieving revision 1.2
diff -u -r1.2 memrchr.c
--- memrchr.c	31 May 2005 08:38:45 -0000	1.2
+++ memrchr.c	31 May 2005 21:46:16 -0000
@@ -33,7 +33,9 @@
 void *
 memrchr(const void *s, int c, size_t n)
 {
-  const unsigned char *start=s,*end=s+n-1;
+  const unsigned char *start=s,*end=s;
+
+  end+=n-1;
 
   while(end>=start)
     {


More information about the Gnupg-devel mailing list