ia64/xen-unstable

changeset 2096:d200c22469e2

bitkeeper revision 1.1108.1.43 (41135456PAFHevYX4V4bGMwjCNydpQ)

Random bug fix.
author sos22@donkeykong.cl.cam.ac.uk
date Fri Aug 06 09:50:14 2004 +0000 (2004-08-06)
parents c1e2ec69b1db
children 9f870bc86d69
files tools/misc/xencons
line diff
     1.1 --- a/tools/misc/xencons	Thu Jul 29 12:00:06 2004 +0000
     1.2 +++ b/tools/misc/xencons	Fri Aug 06 09:50:14 2004 +0000
     1.3 @@ -27,6 +27,8 @@ def __recv_from_sock(sock):
     1.4      while not stop:
     1.5          try:
     1.6              data = sock.recv(1024)
     1.7 +            if len(data) == 0:
     1.8 +                stop = True
     1.9              os.write(1, data)
    1.10          except socket.error, error:
    1.11              if error[0] != errno.EINTR: