Files
libguestfs/daemon
Richard Jones 983e7a2345 daemon error handling: Define a new function reply_with_perror_errno.
This allows you to save the errno from a previous call and
pass it to reply_with_perror.

For example, original code:

  r = some_system_call ();
  err = errno;
  do_cleanup ();
  errno = err;
  if (r == -1) {
    reply_with_perror ("failed");
    return -1;
  }

can in future be changed to:

  r = some_system_call ();
  err = errno;
  do_cleanup ();
  if (r == -1) {
    reply_with_perror_errno (err, "failed");
    return -1;
  }
2009-12-07 11:13:12 +00:00
..
2009-11-25 16:28:25 +00:00
2009-11-09 22:34:16 +01:00
2009-07-03 17:04:21 +02:00
2009-09-14 10:13:03 +01:00
2009-11-25 16:28:26 +00:00
2009-11-09 22:34:16 +01:00
2009-11-09 22:34:16 +01:00
2009-11-09 22:34:16 +01:00
2009-07-03 17:04:21 +02:00
2009-07-03 17:04:21 +02:00
2009-11-25 16:54:46 +00:00
2009-08-20 15:59:53 +02:00
2009-07-03 17:04:21 +02:00
2009-11-22 19:14:48 +00:00
2009-11-25 16:28:26 +00:00
2009-11-26 17:16:17 +00:00

Please see README in the parent directory.