Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Sep 1999 09:50:55 +0200
From:      Johan Pettersson <johpe159@student.liu.se>
To:        "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG>
Subject:   patch
Message-ID:  <37D0CF5F.5452F1E9@student.liu.se>

next in thread | raw e-mail | index | archive | help
Hi!

I did some patches this morning chflags.32stable.patch 
and  profil.patch. I did something like this 
1, patch < patchfile
2, File to patch: /usr/src/sys/kern/patchfile
And got following output 

*************************************************************************
>Hmm...  Looks like a unified diff to me...
>(Patch is indented 4 spaces.)
>The text leading up to this was:
>--------------------------
>|-----BEGIN PGP SIGNED MESSAGE-----
>|
>|    Index: kern_exec.c
>|    ===================================================================
>|    RCS file: /home/imp/FreeBSD/CVS/src/sys/kern/kern_exec.c,v
>|    retrieving revision 1.99
>|    retrieving revision 1.100
>|    diff -u -r1.99 -r1.100
>|    --- kern_exec.c    1999/04/27 11:15:55     1.99
>|    +++ kern_exec.c    1999/08/11 20:35:38     1.100
>--------------------------
>File to patch: /usr/src/sys/kern/kern_exec.c
>Patching file /usr/src/sys/kern/kern_exec.c using Plan A...
>Hunk #1 failed at 228.
>1 out of 1 hunks failed--saving rejects to /usr/src/sys/kern/kern_exec.c.rej
>Hmm...  Ignoring the trailing garbage.
done
***************************************************************************

Did it work or ? Do I have to rebuild the kernel after a patch ?

//Thx Johan

PS sorry for the mail got so big!


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?37D0CF5F.5452F1E9>