From: niklas Date: Wed, 18 Dec 1996 18:28:37 +0000 (+0000) Subject: Up limit of available user file descriptors (e.g. for redirections) to 32 X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c3e29789184e051c3405b76ef2c5422a58dabc44;p=openbsd Up limit of available user file descriptors (e.g. for redirections) to 32 --- 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? */