Changeset e39e6f7 in rtems


Ignore:
Timestamp:
Apr 9, 1997, 8:05:59 PM (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
8f695a1
Parents:
0956b52
Message:

added code to prevent attempts to clean up the library when rtems is
down.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/libcsupport/src/newlibc.c

    r0956b52 re39e6f7  
    8080libc_wrapup(void)
    8181{
     82    /*
     83     *  In case RTEMS is already down, don't do this.  It could be
     84     *  dangerous.
     85     */
     86
     87    if (!_System_state_Is_up(_System_state_Get()))
     88       return;
     89
    8290    _wrapup_reent(0);
    8391    if (_REENT != &libc_global_reent)
  • c/src/lib/libc/newlibc.c

    r0956b52 re39e6f7  
    8080libc_wrapup(void)
    8181{
     82    /*
     83     *  In case RTEMS is already down, don't do this.  It could be
     84     *  dangerous.
     85     */
     86
     87    if (!_System_state_Is_up(_System_state_Get()))
     88       return;
     89
    8290    _wrapup_reent(0);
    8391    if (_REENT != &libc_global_reent)
  • cpukit/libcsupport/src/newlibc.c

    r0956b52 re39e6f7  
    8080libc_wrapup(void)
    8181{
     82    /*
     83     *  In case RTEMS is already down, don't do this.  It could be
     84     *  dangerous.
     85     */
     86
     87    if (!_System_state_Is_up(_System_state_Get()))
     88       return;
     89
    8290    _wrapup_reent(0);
    8391    if (_REENT != &libc_global_reent)
Note: See TracChangeset for help on using the changeset viewer.