From owner-freebsd-stable Mon Apr 29 5:35: 5 2002 Delivered-To: freebsd-stable@freebsd.org Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by hub.freebsd.org (Postfix) with ESMTP id BF66937B41C; Mon, 29 Apr 2002 05:34:59 -0700 (PDT) Received: from bunrab.catwhisker.org (localhost [127.0.0.1]) by bunrab.catwhisker.org (8.12.3/8.12.3) with ESMTP id g3TCYxrn073924; Mon, 29 Apr 2002 05:34:59 -0700 (PDT) (envelope-from david@bunrab.catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.12.3/8.12.3/Submit) id g3TCYxlL073923; Mon, 29 Apr 2002 05:34:59 -0700 (PDT) Date: Mon, 29 Apr 2002 05:34:59 -0700 (PDT) From: David Wolfskill Message-Id: <200204291234.g3TCYxlL073923@bunrab.catwhisker.org> To: stable@FreeBSD.org Subject: Minor fix for sys/kern/kern_descrip.c rev. 1.81.2.13 Cc: asmodai@FreeBSD.org Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I find that this patch: Index: sys/kern/kern_descrip.c =================================================================== RCS file: /cvs/freebsd/src/sys/kern/kern_descrip.c,v retrieving revision 1.81.2.13 diff -u -r1.81.2.13 kern_descrip.c --- sys/kern/kern_descrip.c 29 Apr 2002 08:22:00 -0000 1.81.2.13 +++ sys/kern/kern_descrip.c 29 Apr 2002 12:29:24 -0000 @@ -236,7 +236,7 @@ return (do_dup(fdp, uap->fd, i, p->p_retval, p)); case F_GETFD: - td->td_retval[0] = (*pop & UF_EXCLOSE) ? FD_CLOEXEC : 0; + p->p_retval[0] = (*pop & UF_EXCLOSE) ? FD_CLOEXEC : 0; return (0); case F_SETFD: fixes a -STABLE kernel build. Complaint was: cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/../include -I/usr/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 /usr/src/sys/kern/kern_descrip.c /usr/src/sys/kern/kern_descrip.c: In function `fcntl': /usr/src/sys/kern/kern_descrip.c:239: `td' undeclared (first use in this function) /usr/src/sys/kern/kern_descrip.c:239: (Each undeclared identifier is reported only once /usr/src/sys/kern/kern_descrip.c:239: for each function it appears in.) *** Error code 1 Cheers, david -- David H. Wolfskill david@catwhisker.org Microsoft products -- for those times when reliability just doesn't matter. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message