PERFORCE change 93654 for review
Todd Miller
millert at FreeBSD.org
Mon Mar 20 19:01:56 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=93654
Change 93654 by millert at 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) {
More information about the trustedbsd-cvs
mailing list