diff for duplicates of <6142F735.4080208@fujitsu.com> diff --git a/a/1.txt b/N1/1.txt index 9e7e6da..f45f2d4 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -217,9 +217,9 @@ Yang Xu > > 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 calling +> 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 close. @@ -414,3 +414,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 47d3dee..570a246 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,9 +2,11 @@ "ref\020210915155152.8515-3-qi.fuli@fujitsu.com\0" "ref\06142EEB8.30409@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:49:53 +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" @@ -226,9 +228,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 calling\n" + "> handlers\342\200\225the correct approach is not to close newfd before calling\n" "> dup2(), because of the race condition described above.\"\n" ">\n" "> Maybe we should remove the close for newfd, but old api case also close.\n" @@ -422,6 +424,9 @@ ">> - }\n" ">> -\n" ">> - tst_rmdir();\n" - >> -} + ">> -}\n" + "\n" + "-- \n" + Mailing list info: https://lists.linux.it/listinfo/ltp -6e2e388d78600f98dce78dafcf5bd181689adf61fc5c22368895caa7f68cd91f +067479da5d90386525f90ac60b8073f85d5ce742c3713ba622dc54544aa88f5a
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.