Date: Mon, 20 Mar 2006 19:00:54 GMT From: Todd Miller <millert@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 93654 for review Message-ID: <200603201900.k2KJ0sbC030963@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=93654 Change 93654 by millert@millert_p3 on 2006/03/20 19:00:21 Remove debugging code that snuck into the last checkin. Affected files ... .. //depot/projects/trustedbsd/sebsd/sys/kern/kern_descrip.c#21 edit Differences ... ==== //depot/projects/trustedbsd/sebsd/sys/kern/kern_descrip.c#21 (text+ko) ==== @@ -1502,8 +1502,6 @@ newfdp->fd_fd.fd_cmask = CMASK; newfdp->fd_fd.fd_ofiles = newfdp->fd_dfiles; newfdp->fd_fd.fd_ofileflags = newfdp->fd_dfileflags; - newfdp->fd_fd.fd_lastfile = 0; /* XXX */ - newfdp->fd_fd.fd_freefile = 0; /* XXX */ newfdp->fd_fd.fd_nfiles = NDFILE; newfdp->fd_fd.fd_map = newfdp->fd_dmap; return (&newfdp->fd_fd); @@ -1594,8 +1592,6 @@ } /* copy everything except kqueue descriptors */ newfdp->fd_freefile = -1; - if (fdp->fd_lastfile < 0) - printf("%s: fd_lastfile is %d\n", __func__, fdp->fd_lastfile); for (i = 0; i <= fdp->fd_lastfile; ++i) { if (fdisused(fdp, i) && fdp->fd_ofiles[i]->f_type != DTYPE_KQUEUE) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603201900.k2KJ0sbC030963>