|
From: | Ben Pfaff |
Subject: | Re: tar 1.19 - vms time_t is unsigned long. [partial patch[ |
Date: | Sat, 08 Mar 2008 14:01:41 -0800 |
User-agent: | Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
"John E. Malmberg" <address@hidden> writes: > A mask is needed because of an extension that most C compilers have > that allow ((unsigned int) -1) to be tested as being less than 0 > through operand promotion. The C standard requires (unsigned int) -1 to have the same type and value as UINT_MAX. A C compiler that evaluates ((unsigned int) -1) < 0 as true is buggy. -- Ben Pfaff http://benpfaff.org
[Prev in Thread] | Current Thread | [Next in Thread] |