From owner-cvs-all Thu Dec 19 1:50:12 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 8BBCE37B401; Thu, 19 Dec 2002 01:50:11 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3989F43EB2; Thu, 19 Dec 2002 01:50:11 -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 gBJ9oAmV085680; Thu, 19 Dec 2002 01:50:10 -0800 (PST) (envelope-from tjr@repoman.freebsd.org) Received: (from tjr@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id gBJ9oAEY085676; Thu, 19 Dec 2002 01:50:10 -0800 (PST) Message-Id: <200212190950.gBJ9oAEY085676@repoman.freebsd.org> From: "Tim J. Robbins" Date: Thu, 19 Dec 2002 01:50:10 -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:50:10 PST Modified files: lib/libc/stdio perror.c Log: Use strerror_r() to format the error message so that strerror()'s static buffer does not get clobbered. ISO/IEC 9899:1999 7.21.6.2 3: "The implementation shall behave as if no library function calls the strerror function." Revision Changes Path 1.7 +4 -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