bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Small patch for GNU tar v1.13 on HP/UX 10.20


From: Petter Reinholdtsen
Subject: Small patch for GNU tar v1.13 on HP/UX 10.20
Date: Thu, 27 Sep 2001 19:11:16 +0200

Hello

I had to apply the following patch to get gtar compiling on our HP/UX
10.20 machine.  Please include it in the next release.

diff -ur src-1.13/lib/strtoumax.c src-1.13-local/lib/strtoumax.c
--- src-1.13/lib/strtoumax.c    Wed Apr 21 06:24:39 1999
+++ src-1.13-local/lib/strtoumax.c      Thu Sep 27 19:02:55 2001
@@ -41,6 +41,11 @@
   unsigned long long strtoull PARAMS ((char const *, char **, int));
 #endif
 
+#ifdef strtoumax
+/* HP/UX 10.20 have a conflicting define */
+#  undef strtoumax
+#endif
+
 uintmax_t
 strtoumax (char const *ptr, char **endptr, int base)
 {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]