summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-12-18 18:28:38 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-12-18 18:28:38 +0000
commit524e81cd3bca45bc427673002df67bf0f7c1f078 (patch)
treea931e1b1557109f294d4f72e7d0dcf4b5b9bba55
parent4561ae84257b71eaf8a47ed57e50e526e7811745 (diff)
Up limit of available user file descriptors (e.g. for redirections) to 32
-rw-r--r--bin/ksh/sh.h4
-rw-r--r--bin/pdksh/sh.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/ksh/sh.h b/bin/ksh/sh.h
index b05a49d896e..9ae4ffb190c 100644
--- a/bin/ksh/sh.h
+++ b/bin/ksh/sh.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sh.h,v 1.3 1996/10/01 02:05:47 downsj Exp $ */
+/* $OpenBSD: sh.h,v 1.4 1996/12/18 18:28:37 niklas Exp $ */
/*
* Public Domain Bourne/Korn shell
@@ -334,7 +334,7 @@ typedef int bool_t;
/* Table flag type - needs > 16 and < 32 bits */
typedef INT32 Tflag;
-#define NUFILE 10 /* Number of user-accessible files */
+#define NUFILE 32 /* Number of user-accessible files */
#define FDBASE 10 /* First file usable by Shell */
/* you're not going to run setuid shell scripts, are you? */
diff --git a/bin/pdksh/sh.h b/bin/pdksh/sh.h
index b05a49d896e..9ae4ffb190c 100644
--- a/bin/pdksh/sh.h
+++ b/bin/pdksh/sh.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sh.h,v 1.3 1996/10/01 02:05:47 downsj Exp $ */
+/* $OpenBSD: sh.h,v 1.4 1996/12/18 18:28:37 niklas Exp $ */
/*
* Public Domain Bourne/Korn shell
@@ -334,7 +334,7 @@ typedef int bool_t;
/* Table flag type - needs > 16 and < 32 bits */
typedef INT32 Tflag;
-#define NUFILE 10 /* Number of user-accessible files */
+#define NUFILE 32 /* Number of user-accessible files */
#define FDBASE 10 /* First file usable by Shell */
/* you're not going to run setuid shell scripts, are you? */