[4845] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: 6.4R: more.c

daemon@ATHENA.MIT.EDU (Ken Raeburn)
Mon Apr 30 09:34:01 1990

Date: Mon, 30 Apr 90 09:33:29 EDT
From: Ken Raeburn <Raeburn@MIT.EDU>
To: Richard Basch <probe@MIT.EDU>
Cc: bugs@MIT.EDU
In-Reply-To: Richard Basch's message of Mon, 30 Apr 90 09:03:40 -0400,
Two comments:

1. For maximal unsigned values, use ULONG_MAX, and define it only if
it's not already defined.  ANSI C requires that <limits.h> define
ULONG_MAX, among others.

2. Make file_size unsigned, if you think it can exceed (ANSI's)
LONG_MAX, and if nothing depends on its ability to contain a negative
value.

home help back first fref pref prev next nref lref last post