Le 28/09/2011 01:01, Frédéric Delanoy a écrit :
programs/cmd/batch.c | 9 ++++----- programs/cmd/builtins.c | 4 ++-- programs/cmd/wcmd.h | 5 +++-- programs/cmd/wcmdmain.c | 21 +++++++++++++-------- 4 files changed, 22 insertions(+), 17 deletions(-)
actually, console handles have their 2 lower bit set you could use it to even simplify further the code A+