Changeset 7ab7075f in mainline for uspace/lib/posix/test/stdio.c


Ignore:
Timestamp:
2018-08-06T18:40:12Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1dcba91
Parents:
7afd12e5
Message:

Add support for 'x' fopen file mode modifier from C11.

File:
1 edited

Legend:

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

    r7afd12e5 r7ab7075f  
    4747            str_length("/tmp/tmp.")) == 0);
    4848
    49         f = fopen(p, "w+");
     49        f = fopen(p, "w+x");
    5050        PCUT_ASSERT_NOT_NULL(f);
    5151
     
    6666            str_length("/tmp/tmp.")) == 0);
    6767
    68         f = fopen(p, "w+");
     68        f = fopen(p, "w+x");
    6969        PCUT_ASSERT_NOT_NULL(f);
    7070
     
    8585            str_length(P_tmpdir "/tmp.")) == 0);
    8686
    87         f = fopen(p, "w+");
     87        f = fopen(p, "w+x");
    8888        PCUT_ASSERT_NOT_NULL(f);
    8989
Note: See TracChangeset for help on using the changeset viewer.