Ignore:
Timestamp:
Dec 1, 2009, 10:16:10 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 5, master
Children:
10098f9
Parents:
57544fb
Message:

2009-12-01 Joel Sherrill <joel.sherrill@…>

  • libmisc/stringto/stringto.h, libmisc/stringto/stringto_template.h: Tidy up as part of adding new test.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libmisc/stringto/stringto_template.h

    r57544fb r2c6a3e7e  
    105105    return RTEMS_NOT_DEFINED;
    106106
     107  /*
     108   * In theory, we should check this but newlib never returns anything
     109   * but range errors.  So this is unreachable code based upon the newlib
     110   * implementation of strXXX methods as of 1 December 2009. --joel
     111   */
     112  #if 0
    107113  /* there was a conversion error */
    108114  if ( (result == ZERO) && errno )
    109115    return RTEMS_INVALID_NUMBER;
     116  #endif
    110117
    111118  #ifdef STRING_TO_MAX
Note: See TracChangeset for help on using the changeset viewer.