Date: Wed, 9 Jun 1999 15:04:09 -0700 From: "Chris Singer" <csinger@workfire.com> To: "Scott Langevin" <slangevi@csc.uvic.ca>, "BSD Help" <freebsd-questions@FreeBSD.ORG> Subject: Does anyone know what to do to apply a patch?? Message-ID: <000301beb2c4$0012f890$0ea78e8b@maverick.workfire.com>
next in thread | raw e-mail | index | archive | help
I need to apply a patch to a source file and I'm wondering how you do it. The purpose of this is to fix a TCP bug with small packets. Here is the relevant info that I have been given: Apply the following patch to /usr/src/sys/kern/uipc_socket.c RCS file: /home/ncvs/src/sys/kern/uipc_socket.c,v retrieving revision 1.40 retrieving revision 1.41 diff -p -u -r1.40 -r1.41 --- src/sys/kern/uipc_socket.c 1998/05/15 20:11:30 1.40 +++ /home/ncvs/src/sys/kern/uipc_socket.c 1998/07/06 19:27:14 1.41 @@ -491,6 +491,7 @@ restart: mlen = MCLBYTES; len = min(min(mlen, resid), space); }else{ + atomic=1; nopages; len = min(min(mlen, resid), space); /* That is all the info I have. I don't follow what it means? It doesn't much look like C code until the last 5 or 6 lines. I tried entering them in as commands and I just get a bad command back. Have any ideas of how to implement this? THanks for taking the time to hear my dilema. Chris Singer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000301beb2c4$0012f890$0ea78e8b>