From owner-cvs-all Sun Sep 2 7:40:57 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 50F5E37B401; Sun, 2 Sep 2001 07:40:52 -0700 (PDT) Received: (from ache@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f82Eeqg41772; Sun, 2 Sep 2001 07:40:52 -0700 (PDT) (envelope-from ache) Message-Id: <200109021440.f82Eeqg41772@freefall.freebsd.org> From: "Andrey A. Chernov" Date: Sun, 2 Sep 2001 07:40:52 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/mail collect.c edit.c fio.c quit.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/02 07:40:52 PDT Modified files: usr.bin/mail collect.c edit.c fio.c quit.c Log: File positions are off_t nowdays, not long, so: fseek -> fseeko ftell -> ftello NOTE: fseek/ftell not works for >long offsets per POSIX: [EOVERFLOW] For fseek( ), the resulting file offset would be a value which cannot be represented correctly in an object of type long. [EOVERFLOW] For ftell ( ), the current file offset cannot be represented correctly in an object of type long. Revision Changes Path 1.7 +3 -3 src/usr.bin/mail/collect.c 1.7 +3 -3 src/usr.bin/mail/edit.c 1.9 +3 -2 src/usr.bin/mail/fio.c 1.5 +3 -3 src/usr.bin/mail/quit.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message