bug-tar
[Top][All Lists]
Advanced

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

[Bug-tar] CHAR_BIT undefined in lib/strerror.c (tar-1.19)


From: Daniel Villeneuve
Subject: [Bug-tar] CHAR_BIT undefined in lib/strerror.c (tar-1.19)
Date: Thu, 28 Feb 2008 20:18:37 -0500
User-agent: Thunderbird 1.5.0.12 (X11/20080131)

I've had a problem compiling lib/strerror.c in tar-1.19 on solaris2.8, because the two #included headers at the start of the file do not define CHAR_BIT on that platform.

I've added #include <limits.h> to fix the problem. This should not create problems on other platforms, since this header is part of ISO C.
--
Daniel Villeneuve
Kronos, AD OPT Division





reply via email to

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