projects
/
tar.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf63c8c
)
Possible fix
author
Robert Pengelly
<robertapengelly@hotmail.com>
Sat, 28 Feb 2026 23:33:49 +0000
(23:33 +0000)
committer
Robert Pengelly
<robertapengelly@hotmail.com>
Sat, 28 Feb 2026 23:33:49 +0000
(23:33 +0000)
tar.c
patch
|
blob
|
history
diff --git
a/tar.c
b/tar.c
index acbb921ae024aa2b51dc41c8e81bb6952e85f399..fde54bffbce1d9e35d0bcb9a4583178465a650ad 100755
(executable)
--- a/
tar.c
+++ b/
tar.c
@@
-65,15
+65,13
@@
static int write_null_bytes (FILE *fp, int n) {
}
-#if __APPLE__
-# define I64_FMT "ll"
-#elif defined (NO_LONG_LONG)
+#if defined (NO_LONG_LONG)
# define I64_FMT "l"
#elif defined (_MSVC_)
# define I64_FMT "I64"
#elif defined (__PRI_64_LENGTH_MODIFIER__) /* Mac */
# define I64_FMT __PRI_64_LENGTH_MODIFIER__
-#elif (
defined (SIZEOF_LONG) && SIZEOF_LONG >= 8) || (
(ULONG_MAX >> 16) >> 16) == 0xffffffff
+#elif ((ULONG_MAX >> 16) >> 16) == 0xffffffff
# define I64_FMT "l"
#else
# define I64_FMT "ll"