From owner-freebsd-bugs Sat May 18 16:50:04 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA06535 for bugs-outgoing; Sat, 18 May 1996 16:50:04 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA06522; Sat, 18 May 1996 16:50:02 -0700 (PDT) Resent-Date: Sat, 18 May 1996 16:50:02 -0700 (PDT) Resent-Message-Id: <199605182350.QAA06522@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, james@jraynard.demon.co.uk Received: from relay-2.mail.demon.net (disperse.demon.co.uk [158.152.1.77]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id QAA05816 for ; Sat, 18 May 1996 16:47:50 -0700 (PDT) Received: from post.demon.co.uk ([158.152.1.72]) by relay-2.mail.demon.net id ad10529; 19 May 96 0:47 +0100 Received: from jraynard.demon.co.uk ([158.152.42.77]) by relay-3.mail.demon.net id aa15567; 19 May 96 0:42 +0100 Received: (from james@localhost) by jraynard.demon.co.uk (8.7.5/8.6.12) id AAA04710; Sun, 19 May 1996 00:07:16 GMT Message-Id: <199605190007.AAA04710@jraynard.demon.co.uk> Date: Sun, 19 May 1996 00:07:16 GMT From: James Raynard Reply-To: james@jraynard.demon.co.uk To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: docs/1214: lseek() manpage refers to fildes argument as a file pointer Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 1214 >Category: docs >Synopsis: lseek() manpage refers to fildes argument as a file pointer >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sat May 18 16:50:01 PDT 1996 >Last-Modified: >Originator: James Raynard >Organization: A FreeBSD box >Release: FreeBSD 2.2-CURRENT i386 >Environment: FreeBSD 2.1.0 and -current, probably back to 2.0 as well. >Description: The man page says: Lseek() repositions the file pointer fildes as follows: Presumably this should be 'the file pointer associated with fildes', or words to that effect, as fildes is a file descriptor. ('file pointer' is dangerously similar to 'FILE pointer' - and anyway it's not correct). >How-To-Repeat: man lseek >Fix: Apply this patch in /usr/src/lib/libc/sys:- *** lseek.2~ Sat May 18 23:39:46 1996 --- lseek.2 Sat May 18 23:41:02 1996 *************** *** 56,62 **** must be an open file descriptor. .Fn Lseek ! repositions the file pointer .Fa fildes as follows: .Bl -item -offset indent --- 56,62 ---- must be an open file descriptor. .Fn Lseek ! repositions the file pointer associated with .Fa fildes as follows: .Bl -item -offset indent >Audit-Trail: >Unformatted: