From owner-cvs-all@FreeBSD.ORG Tue Mar 2 11:43:52 2004 Return-Path: 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 5866116A4E1; Tue, 2 Mar 2004 11:43:52 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A20043D45; Tue, 2 Mar 2004 11:43:52 -0800 (PST) (envelope-from jkh@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i22JhqGe002756; Tue, 2 Mar 2004 11:43:52 -0800 (PST) (envelope-from jkh@repoman.freebsd.org) Received: (from jkh@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i22JhpIB002755; Tue, 2 Mar 2004 11:43:52 -0800 (PST) (envelope-from jkh) Message-Id: <200403021943.i22JhpIB002755@repoman.freebsd.org> From: "Jordan K. Hubbard" Date: Tue, 2 Mar 2004 11:43:51 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libc/stdio fvwrite.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 19:43:52 -0000 jkh 2004/03/02 11:43:51 PST FreeBSD src repository Modified files: lib/libc/stdio fvwrite.c Log: If handed a file pointer we can't write to, set errno properly to EBADF in order to get SUSv2 conformant behavior in higher level calls like fputs() and puts(). Reviewed by: bde Revision Changes Path 1.16 +4 -1 src/lib/libc/stdio/fvwrite.c