From owner-cvs-all Sun Jan 12 18:58:20 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 692A937B401; Sun, 12 Jan 2003 18:58:19 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 148EF43F18; Sun, 12 Jan 2003 18:58:19 -0800 (PST) (envelope-from tjr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h0D2wIfh046479; Sun, 12 Jan 2003 18:58:18 -0800 (PST) (envelope-from tjr@repoman.freebsd.org) Received: (from tjr@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h0D2wIxI046478; Sun, 12 Jan 2003 18:58:18 -0800 (PST) Message-Id: <200301130258.h0D2wIxI046478@repoman.freebsd.org> From: "Tim J. Robbins" Date: Sun, 12 Jan 2003 18:58:18 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/stdio fileno.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 tjr 2003/01/12 18:58:18 PST Modified files: lib/libc/stdio fileno.c Log: Lock the stream before calling __sfileno() to retrieve the file descriptor. 1003.1-2001 requires that fileno() behave as if it locks the stream. Revision Changes Path 1.9 +10 -2 src/lib/libc/stdio/fileno.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message