On Fri, 22 Oct 1999, Jarmo Paavilainen wrote:
>Hi,
>
>I got a source code patch (from a email list) but I do not know how to apply
>it?
>
>It looks as follows:
>
>--- diald-99/options.c Thu Apr  1 17:42:14 1999
>+++ newdiald-99/options.c      Sat Oct 16 11:11:41 1999
>@@ -774,8 +774,8 @@
>     int flag = 0;
>
>     if (!ifsetup || !*ifsetup) {
>-      if (!path_ifconfig || !*path_ifconfig)
>-          flag = 1, mon_syslog(LOG_ERR, "No ifconfig program found.");
>+      if ((!path_ifconfig || !*path_ifconfig) && (!path_ip || !*path_ip))
>
>... and so on ...

Ine this patricular instance;
Place the patch in the directory where options.c is, the type 
patch -p1 -s < patchname

The person who made the patch (diff) has not thought about
newbie users using a patch like this one.

If you compare this patch to a kernel-patch the you will see what i
mean.

>// Jarmo
--
Regards Richard
[EMAIL PROTECTED]
http://people.zeelandnet.nl/pa3gcu/

Reply via email to