|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] Make sure to return false on error conditions to pre
Signed-off-by: Anthony Liguori <aliguori@xxxxxxxxxx>
utils.c | 2 ++
1 files changed, 2 insertions(+)
# HG changeset patch
# User root@xxxxxxxxxxxxxxxxxxxxxxxxx
# Node ID 833aaf7a834f1e50f4692fc743212fdcfef65819
# Parent f586b9ecd47476357b685707e21c7fc274cbd51c
Make sure to return false on error conditions to prevent xenconsoled running in
an infinite loop when xcs gets killed.
diff -r f586b9ecd474 -r 833aaf7a834f tools/console/daemon/utils.c
--- a/tools/console/daemon/utils.c Mon Aug 8 14:39:29 2005
+++ b/tools/console/daemon/utils.c Mon Aug 8 17:40:34 2005
@@ -59,6 +59,8 @@
if (len < 1) {
if (len == -1 && (errno == EAGAIN || errno == EINTR)) {
+ continue;
+ } else {
return false;
}
} else {
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] Make sure to return false on error conditions to prevent xenconsoled running in an infinite loop when xcs gets killed.,
Anthony Liguori <=
|
|
|
|
|