add some common errno values
PATCH 1/1 add some common errno values
Signed-off-by Xiaoguang Wang <[email protected]>
--- lib/tst_res.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
lib/tst_res.c +5 -0
@@ -249,7 +249,12 @@ static const char *strerrnodef(int err) PAIR(EPIPE) PAIR(EDOM) PAIR(ERANGE) + PAIR(EDEADLK) PAIR(ENAMETOOLONG) + PAIR(ENOLCK) + PAIR(ENOSYS) + PAIR(ENOTEMPTY) + PAIR(ELOOP) }; return pair_lookup(errno_pairs, err); }
Signature · 16 lines
1.7.1 Regards, Xiaoguang Wang ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
Hi!
Quoted 12 lines
Signed-off-by Xiaoguang Wang <[email protected]>--- lib/tst_res.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)lib/tst_res.c +0
-0@@ -249,7 +249,12 @@ static const char *strerrnodef(int err)PAIR (EPIPE )
lib/tst_res.c static const char *strerrnodef(int err) · line 259
Quoted 10 lines
lib/tst_res.c +5
-0PAIR(EDOM) PAIR(ERANGE) + PAIR(EDEADLK) PAIR(ENAMETOOLONG) + PAIR(ENOLCK) + PAIR(ENOSYS) + PAIR(ENOTEMPTY) + PAIR(ELOOP) }; return pair_lookup(errno_pairs, err);
Applied (whith a slight change to the commit message), thanks.
Signature · 13 lines
Cyril Hrubis [email protected] ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list