Date: Thu, 19 Dec 2002 01:50:10 -0800 (PST) From: "Tim J. Robbins" <tjr@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/stdio perror.c Message-ID: <200212190950.gBJ9oAEY085676@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212190950.gBJ9oAEY085676>
