From owner-cvs-all Sat Sep 1 15:42:52 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3DF7E37B40A; Sat, 1 Sep 2001 15:42:47 -0700 (PDT) Received: (from ache@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f81Mglc94493; Sat, 1 Sep 2001 15:42:47 -0700 (PDT) (envelope-from ache) Message-Id: <200109012242.f81Mglc94493@freefall.freebsd.org> From: "Andrey A. Chernov" Date: Sat, 1 Sep 2001 15:42:47 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/hexdump display.c hexsyntax.c odsyntax.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ache 2001/09/01 15:42:47 PDT Modified files: usr.bin/hexdump display.c hexsyntax.c odsyntax.c Log: File positions are off_t nowdays, not long, so: strtol -> strtoll fseek -> fseeko NOTE: that fseek not works for >long offsets files per POSIX: [EOVERFLOW] For fseek( ), the resulting file offset would be a value which cannot be represented correctly in an object of type long. Revision Changes Path 1.8 +2 -2 src/usr.bin/hexdump/display.c 1.9 +2 -2 src/usr.bin/hexdump/hexsyntax.c 1.9 +2 -2 src/usr.bin/hexdump/odsyntax.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message