diff for duplicates of <6142EEB8.30409@fujitsu.com> diff --git a/a/1.txt b/N1/1.txt index 07778ce..22d9ed8 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -199,9 +199,9 @@ dup202.c:52: TFAIL: call failed unexpectedly: EBADF (9) It seems newfd has turned into -1 and see dup2 man-page it said " If newfd was open, any errors that would have been reported at -close(2) time are lost. If this is of concern, then?unless the program +close(2) time are lost. If this is of concern, then―unless the program is single-threaded and does not allocate file descriptors in signal - handlers?the correct approach is not to close newfd before + handlers―the correct approach is not to close newfd before calling dup2(), because of the race condition described above." Maybe we should remove the close for newfd, but old api case also @@ -394,3 +394,6 @@ Yang Xu > - > - tst_rmdir(); > -} + +-- +Mailing list info: https://lists.linux.it/listinfo/ltp diff --git a/a/content_digest b/N1/content_digest index 19b8feb..2088518 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,9 +1,11 @@ "ref\020210915155152.8515-1-qi.fuli@fujitsu.com\0" "ref\020210915155152.8515-3-qi.fuli@fujitsu.com\0" "From\0xuyang2018.jy@fujitsu.com <xuyang2018.jy@fujitsu.com>\0" - "Subject\0[LTP] [PATCH v2 2/4] syscalls/dup2/dup202: Convert to new API and merge dup204 into dup202\0" + "Subject\0Re: [LTP] [PATCH v2 2/4] syscalls/dup2/dup202: Convert to new API and merge dup204 into dup202\0" "Date\0Thu, 16 Sep 2021 07:13:51 +0000\0" - "To\0ltp@lists.linux.it\0" + "To\0QI Fuli <fukuri.sai@gmail.com>\0" + "Cc\0qi.fuli@fujitsu.com <qi.fuli@fujitsu.com>" + " ltp@lists.linux.it <ltp@lists.linux.it>\0" "\00:1\0" "b\0" "Hi Qi\n" @@ -207,9 +209,9 @@ "\n" "It seems newfd has turned into -1 and see dup2 man-page it said\n" "\" If newfd was open, any errors that would have been reported at \n" - "close(2) time are lost. If this is of concern, then?unless the program \n" + "close(2) time are lost. If this is of concern, then\342\200\225unless the program \n" "is single-threaded and does not allocate file descriptors in signal\n" - " handlers?the correct approach is not to close newfd before \n" + " handlers\342\200\225the correct approach is not to close newfd before \n" "calling dup2(), because of the race condition described above.\"\n" "\n" "Maybe we should remove the close for newfd, but old api case also \n" @@ -401,6 +403,9 @@ "> -\t}\n" "> -\n" "> -\ttst_rmdir();\n" - > -} + "> -}\n" + "\n" + "-- \n" + Mailing list info: https://lists.linux.it/listinfo/ltp -a4013787376e49f6706381a192aa398cd703a6d34854e7e05f6ae209f55f9f1a +7fd49ac04212d3d7b0b0e3641c1265c19bc798379762c614237f6e0d09ce0098
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.