ia64/xen-unstable

view tools/vnet/Make.env @ 7238:971e7c7411b3

Raise an exception if an error appears on the pipes to our children, and make
sure that the child's pipes are closed even under that exception. Move the
handling of POLLHUP to the end of the loop, so that we guarantee to read any
remaining data from the child if POLLHUP and POLLIN appear at the same time.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@ewan
date Thu Oct 06 10:13:11 2005 +0100 (2005-10-06)
parents 06d84bf87159
children 71b0f00f6344
line source
1 # -*- mode: Makefile; -*-
3 export XEN_ROOT = $(shell cd $(VNET_ROOT)/../.. && pwd)
4 export LINUX_SERIES ?= 2.6
6 DISTDIR ?= $(XEN_ROOT)/dist
7 export DESTDIR ?= $(DISTDIR)/install
9 export VNET_MODULE_DIR = $(VNET_ROOT)/vnet-module
10 export VNETD_DIR = $(VNET_ROOT)/vnetd
11 export LIBXUTIL_DIR = $(VNET_ROOT)/libxutil
13 export GC_DIR = $(VNET_ROOT)/build/gc
14 export GC_INCLUDE = $(GC_DIR)/include
15 export GC_LIB_DIR = $(GC_DIR)/lib
16 export GC_LIB_A = $(GC_LIB_DIR)/libgc.a
17 export GC_LIB_SO = $(GC_LIB_DIR)/libgc.so
19 #$(warning XEN_ROOT = $(XEN_ROOT))
20 #$(warning DESTDIR = $(DESTDIR))