freebsd-skq/usr.bin/look
Ed Schouten d2ea3bed52 Don't cast SIZE_T_MAX to off_t.
I focused so much on the 32-bits case where we have to cast SIZE_T_MAX
up in size, that I forgot about the 64-bits case, where off_t and size_t
are equal in size. Simply cast both numbers to uintmax_t, as we can
assume st_size is never negative.

Reported by:	cperciva
2011-10-16 19:15:25 +00:00
..
look.1 Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00
look.c Don't cast SIZE_T_MAX to off_t. 2011-10-16 19:15:25 +00:00
Makefile Build look(1) with WARNS=6. 2011-10-14 07:24:48 +00:00
pathnames.h Remove the advertising clause from UCB copyrighted files in usr.bin. This 2010-12-11 08:32:16 +00:00