This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Some reentrancy changes
- From: "J. Johnston" <jjohnstn at redhat dot com>
- To: newlib at sources dot redhat dot com
- Date: Mon, 01 Apr 2002 18:10:29 -0500
- Subject: Some reentrancy changes
- Organization: Red Hat Inc.
I have checked in some changes to strtok, mblen, mbtowc, and wctomb. These
functions were declaring a static area to use with their reentrant equivalents.
I have changed them to use areas in the default reentrancy structure. In addition,
the libc/include/sys/reent.h has been modified to add macros for initializing
a reentrant structure that has been dynamically allocated.
-- Jeff J.