*BSD News Article 18476


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!osuunx.ucc.okstate.edu!moe.ksu.ksu.edu!ux1.cso.uiuc.edu!howland.reston.ans.net!math.ohio-state.edu!cs.utexas.edu!uunet!mcsun!news.funet.fi!hydra!klaava!klaava!not-for-mail
From: lukka@klaava.Helsinki.FI (Tuomas J Lukka)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Tk/Tcl problems! (!!!!! kern_execve.c patch alert ******)
Date: 15 Jul 1993 21:33:23 +0300
Organization: University of Helsinki
Lines: 41
Distribution: world
Message-ID: <2247tj$gr9@klaava.Helsinki.FI>
References: <CA5AF4.1Bw@cosy.sbg.ac.at> <2243ss$579@urmel.informatik.rwth-aachen.de>
NNTP-Posting-Host: klaava.helsinki.fi

Are you sure this is intentional?

>***************
>*** 177,189 ****
>  	/* big enough to hold a header? */
>  	if (rv)
>  		goto exec_fail;
>  
>-         if (exdata.ex_hdr.a_text != 0 && (ndp->ni_vp->v_flag & VTEXT) == 0 &&
>- 	    ndp->ni_vp->v_writecount != 0) {
>- 		rv = ETXTBSY;
>- 		goto exec_fail;
>- 	}
>- 		
>  
>  	/* ... that we recognize? */
>  	rv = ENOEXEC;
>--- 179,191 ----
>  	/* big enough to hold a header? */
>  	if (rv)
>  		goto exec_fail;
>+ 	
>+ 	if (exdata.ex_hdr.a_text != 0 && (ndp->ni_vp->v_flag & VTEXT) == 0 &&
>+             ndp->ni_vp->v_writecount != 0) {
>+                 rv = ETXTBSY;
>+                 goto exec_fail;
>+         
>  
>  
>  	/* ... that we recognize? */
>  	rv = ENOEXEC;
>***************
>*** 207,213 ****
...


I mean: that if lacks a closing brace after the patch.

Note: I don't know anything, I just happened to read the patch.

	Tjl