From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1921) id 04F763810AD6; Wed, 8 Jun 2022 19:06:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 04F763810AD6 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Sebastian Huber To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] Clarify struct _reent comment X-Act-Checkin: newlib-cygwin X-Git-Author: Sebastian Huber X-Git-Refname: refs/heads/master X-Git-Oldrev: 14fc9be2349259ed4754457775ab4a14069395c5 X-Git-Newrev: 866f6c909faaaf6be39e5b4fab9d84c327fac0cb Message-Id: <20220608190634.04F763810AD6@sourceware.org> Date: Wed, 8 Jun 2022 19:06:34 +0000 (GMT) X-BeenThere: newlib-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib GIT logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jun 2022 19:06:34 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3D866f6c909fa= aaf6be39e5b4fab9d84c327fac0cb commit 866f6c909faaaf6be39e5b4fab9d84c327fac0cb Author: Sebastian Huber Date: Wed Jun 8 10:41:05 2022 +0200 Clarify struct _reent comment Diff: --- newlib/libc/include/sys/reent.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/newlib/libc/include/sys/reent.h b/newlib/libc/include/sys/reen= t.h index 64d76c27c..5d889b4a2 100644 --- a/newlib/libc/include/sys/reent.h +++ b/newlib/libc/include/sys/reent.h @@ -350,9 +350,10 @@ struct _rand48 { /* * struct _reent * - * This structure contains *all* globals needed by the library. + * This structure contains the thread-local objects needed by the library. * It's raison d'etre is to facilitate threads by making all library routi= nes - * reentrant. IE: All state information is contained here. + * reentrant. The exit handler support and FILE maintenance use dedicated + * global objects which are not included in this structure. */ =20 #ifdef _REENT_SMALL