Hi,

OpenBSD ships some architectures with gcc-2.95 as standard compiler.


Appended patch fixes building gnutar on those architectures.
Patch is against gnu-tar 1.23.

cheers,
Sebastian
$OpenBSD$
fix build on gcc-2.95 archs
--- gnu/inttostr.c.orig Tue Jul 13 09:58:20 2010
+++ gnu/inttostr.c      Tue Jul 13 09:58:30 2010
@@ -32,9 +32,9 @@ char *
 inttostr (inttype i, char *buf)
 {
   char *p = buf + INT_STRLEN_BOUND (inttype);
-  *p = 0;
 
   verify (TYPE_SIGNED (inttype) == inttype_is_signed);
+  *p = 0;
 #if inttype_is_signed
   if (i < 0)
     {

Reply via email to