From 2066805a5d93b62beaf6653324715f0b62b06a05 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 3 Nov 2010 15:49:36 +0000 Subject: lib: Expose errno through new API guestfs_last_errno. If either the daemon sends back an errno, or a system call fails in the library, save the errno in the handle and then make it available to callers through the guestfs_last_errno function. --- .gitignore | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index e5c9ffa5..14060ada 100644 --- a/.gitignore +++ b/.gitignore @@ -46,6 +46,8 @@ configure cscope.out csharp/ daemon/actions.h +daemon/errnostring_gperf.c +daemon/errnostring_gperf.gperf daemon/errnostring.c daemon/errnostring.h daemon/guestfsd @@ -252,6 +254,8 @@ ruby/ext/guestfs/mkmf.log ruby/Rakefile src/actions.c src/bindtests.c +src/errnostring_gperf.c +src/errnostring_gperf.gperf src/errnostring.c src/errnostring.h src/guestfs-actions.h -- cgit