Changeset 58e7b26 in mainline for uspace/lib/c/test/stdio/scanf.c


Ignore:
Timestamp:
2018-08-31T19:10:47Z (6 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
be34d6f
Parents:
bbe5e34
git-author:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-04-20 18:54:48)
git-committer:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-08-31 19:10:47)
Message:

Make uspace hosted.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/test/stdio/scanf.c

    rbbe5e34 r58e7b26  
    4242#include <stdlib.h>
    4343
     44#pragma GCC diagnostic ignored "-Wformat-zero-length"
     45
    4446PCUT_INIT;
    4547
     
    604606
    605607        cp = NULL;
    606         rc = sscanf("abc", "%m3c", &cp);
     608        rc = sscanf("abc", "%3mc", &cp);
    607609        PCUT_ASSERT_INT_EQUALS(1, rc);
    608610        PCUT_ASSERT_NOT_NULL(cp);
Note: See TracChangeset for help on using the changeset viewer.