From owner-cvs-all Thu Dec 19 1:53:28 2002 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 600C537B401; Thu, 19 Dec 2002 01:53:27 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D9B543EA9; Thu, 19 Dec 2002 01:53:27 -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 gBJ9rQmV088810; Thu, 19 Dec 2002 01:53:26 -0800 (PST) (envelope-from tjr@repoman.freebsd.org) Received: (from tjr@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id gBJ9rQAS088809; Thu, 19 Dec 2002 01:53:26 -0800 (PST) Message-Id: <200212190953.gBJ9rQAS088809@repoman.freebsd.org> From: "Tim J. Robbins" Date: Thu, 19 Dec 2002 01:53:26 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/stdio perror.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 2002/12/19 01:53:26 PST Modified files: lib/libc/stdio perror.c Log: Write the message to stderr, not file descriptor 2, so that perror() writes to the correct stream if stderr has been redirected with freopen(). Revision Changes Path 1.8 +7 -1 src/lib/libc/stdio/perror.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message