Commit 9795acc6 by Phil Edwards

vterminate.cc (writestr): Use __builtin_strlen.

2002-12-26  Phil Edwards  <pme@gcc.gnu.org>

	* libsupc++/vterminate.cc (writestr):  Use __builtin_strlen.

From-SVN: r60531
parent 3642a949
2002-12-26 Phil Edwards <pme@gcc.gnu.org>
* libsupc++/vterminate.cc (writestr): Use __builtin_strlen.
2002-12-26 Phil Edwards <pme@gcc.gnu.org>
* libsupc++/eh_term_handler.cc: Add comment about embedded systems.
* docs/html/debug.html: Cosmetic and HTML changes. Point to
verb-term notes.
......
......@@ -35,7 +35,7 @@
#ifdef _GLIBCPP_HAVE_UNISTD_H
# include <unistd.h>
# define writestr(str) write(2, str, sizeof(str) - 1)
# define writestr(str) write(2, str, __builtin_strlen(str))
#else
# include <cstdio>
# define writestr(str) std::fputs(str, stderr)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment