Skip to contentSkip to conversation

add some common errno values

PATCH In review Wang, Xiaoguang 2 participants 2 messages Oct 22, 2013 – Oct 23, 2013 Library code

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 add some common errno values

---
 lib/tst_res.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
lib/tst_res.c +5 -0
index 245bd5f..f73022b 100644
@@ -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
#1 lore raw

Hi!

Quoted 12 lines
---
 lib/tst_res.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
lib/tst_res.c +0 -0
index 245bd5f..f73022b 100644
@@ -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 -0
 		    PAIR(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