projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Eliminated the "physstrat" wart and merged it into kern_physio.c. This
[unix-history]
/
sys
/
kern
/
kern_descrip.c
diff --git
a/sys/kern/kern_descrip.c
b/sys/kern/kern_descrip.c
index
90f94a1
..
8c731f9
100644
(file)
--- a/
sys/kern/kern_descrip.c
+++ b/
sys/kern/kern_descrip.c
@@
-31,7
+31,7
@@
* SUCH DAMAGE.
*
* from: @(#)kern_descrip.c 7.28 (Berkeley) 6/25/91
* SUCH DAMAGE.
*
* from: @(#)kern_descrip.c 7.28 (Berkeley) 6/25/91
- * $Id: kern_descrip.c,v 1.
4 1993/10/16 15:24:11 rgrimes
Exp $
+ * $Id: kern_descrip.c,v 1.
6 1993/12/19 00:51:22 wollman
Exp $
*/
#include "param.h"
*/
#include "param.h"
@@
-50,6
+50,8
@@
#include "syslog.h"
#include "resourcevar.h"
#include "syslog.h"
#include "resourcevar.h"
+#include "vm/vm_user.h"
+
/*
* Descriptor management.
*/
/*
* Descriptor management.
*/
@@
-91,10
+93,12
@@
dup(p, uap, retval)
struct file *fp;
int fd, error;
struct file *fp;
int fd, error;
+#if 0
/*
* XXX Compatibility
*/
if (uap->i &~ 077) { uap->i &= 077; return (dup2(p, uap, retval)); }
/*
* XXX Compatibility
*/
if (uap->i &~ 077) { uap->i &= 077; return (dup2(p, uap, retval)); }
+#endif
if ((unsigned)uap->i >= fdp->fd_nfiles ||
(fp = fdp->fd_ofiles[uap->i]) == NULL)
if ((unsigned)uap->i >= fdp->fd_nfiles ||
(fp = fdp->fd_ofiles[uap->i]) == NULL)