From 0b4e9918ba97af2508a15d391e2e903359b22ea1 Mon Sep 17 00:00:00 2001 From: tg Date: Thu, 10 Jul 2008 18:48:02 +0000 Subject: [PATCH] =?UTF-8?q?limit=20fd=20usage=20=E2=80=93=20at=20least=20U?= =?UTF-8?q?LTRIX=20doesn=E2=80=99t=20cope?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sh.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sh.h b/sh.h index fd79a5d..9b4a04e 100644 --- a/sh.h +++ b/sh.h @@ -100,7 +100,7 @@ #define __SCCSID(x) __IDSTRING(sccsid,x) #ifdef EXTERN -__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.222 2008/07/09 21:32:44 tg Exp $"); +__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.223 2008/07/10 18:48:02 tg Exp $"); #endif #define MKSH_VERSION "R34 2008/07/09" @@ -272,8 +272,8 @@ typedef int32_t Tflag; #define NUFILE 32 /* Number of user-accessible files */ #define FDBASE 10 /* First file usable by Shell */ #else -#define NUFILE 256 /* Number of user-accessible files */ -#define FDBASE 100 /* First file usable by Shell */ +#define NUFILE 56 /* Number of user-accessible files */ +#define FDBASE 24 /* First file usable by Shell */ #endif /* Make MAGIC a char that might be printed to make bugs more obvious, but