Changeset 3df89c0 in rtems-libbsd


Ignore:
Timestamp:
Jul 26, 2018, 11:52:43 AM (15 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
c1e05b9ea378b2971e3d7704779112b4bc4296da, 4a77611a223ea883fb548679b516d326a020d447
Children:
6d9d7b1
Parents:
6fb003f
git-author:
Sebastian Huber <sebastian.huber@…> (07/26/18 11:52:43)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/26/18 11:53:17)
Message:

selectpollkqueue01: Invalidate file descriptor

This is not a functional change or a fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuite/selectpollkqueue01/test_main.c

    r6fb003f r3df89c0  
    365365
    366366        if (afd >= 0) {
     367                ctx->afd = -1;
     368
    367369                rv = close(afd);
    368370                assert(rv == 0);
     
    567569
    568570        if (afd >= 0) {
     571                ctx->afd = -1;
     572
    569573                rv = close(afd);
    570574                assert(rv == 0);
     
    757761
    758762        if (afd >= 0) {
     763                ctx->afd = -1;
     764
    759765                rv = close(afd);
    760766                assert(rv == 0);
Note: See TracChangeset for help on using the changeset viewer.