X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-select.h;h=75c8fb1ab11234b115f6af532d4d19a44822d4bd;hb=ed0ba878a26a653b4ab0547cd59a587ecbc6acb3;hp=e9cb7d04f42b6dd8833274a3f2e03f648f19ff9b;hpb=2f58d08d66740bfe7fe5c581027965da04afecd7;p=gnulib.git diff --git a/tests/test-select.h b/tests/test-select.h index e9cb7d04f..75c8fb1ab 100644 --- a/tests/test-select.h +++ b/tests/test-select.h @@ -1,5 +1,5 @@ /* Test of select() substitute. - Copyright (C) 2008-2012 Free Software Foundation, Inc. + Copyright (C) 2008-2013 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -297,6 +297,7 @@ test_bad_fd (select_fn my_select) # else fd = 99; # endif + close (fd); if (do_select_bad_fd_nowait (fd, SEL_IN, my_select) == 0 || errno != EBADF) failed ("invalid fd among rfds");