~kris/9p

9hist

32f9e48f611498fff68f51647268674e71f3c9fb — David du Colombier 26 years ago dce0b3e
Plan 9 from Bell Labs 2000-07-19
2 files changed, 1 insertions(+), 8 deletions(-)

M pc/devusb.c
M port/sysfile.c
M pc/devusb.c => pc/devusb.c +0 -7
@@ 20,13 20,6 @@
#include	"io.h"
#include	"../port/error.h"

/*
#ifndef Inferno
#include	"devtab.h"
#include	"brazilia.h"
#endif
*/

#define Chatty	1
#define DPRINT if(Chatty)print
#define XPRINT if(debug)print

M port/sysfile.c => port/sysfile.c +1 -1
@@ 26,7 26,7 @@ growfd(Fgrp *f, int fd)	/* fd is always >= 0 */
	 */
	if(f->nfd >= 5000){
    Exhausted:
		exhausted("file descriptors");
		print("no free file descriptors\n");
		return -1;
	}
	newfd = malloc((f->nfd+DELTAFD)*sizeof(Chan*));