Changeset 2160 for trunk


Ignore:
Timestamp:
Jul 3, 2005, 1:13:49 AM (20 years ago)
Author:
bird
Message:

Added (GLIBC extension) to the printf familiy. means priting strerror(errno), it takes no arguments.

Location:
trunk/src/emx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/ChangeLog.LIBC

    • Property cvs2svn:cvs-rev changed from 1.83 to 1.84
    r2159 r2160  
    77        o Fixed assertion during realloc(p, -256) to return failure
    88          instead. Added a few more overflow checks.
     9        o Added %m (GLIBC extension) to the printf familiy. %m means
     10          priting strerror(errno), it takes no arguments.
    911
    10122005-07-01: knut st. osmundsen <bird-gccos2-spam@anduin.net>
  • trunk/src/emx/src/lib/io/_output.c

    • Property cvs2svn:cvs-rev changed from 1.9 to 1.10
    r2159 r2160  
    10671067            break;
    10681068
     1069          case 'm': /* GLIBC extension which equals '%s' with strerror(errno). */
     1070            CHECK (cvt_str (&v, strerror(errno), -1));
     1071            break;
     1072
    10691073          default:
    10701074
Note: See TracChangeset for help on using the changeset viewer.