Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Oct 2001 13:35:28 -0700 (PDT)
From:      Gordon Tetlow <gordont@gnf.org>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        <arch@freebsd.org>, <hackers@freebsd.org>
Subject:   Re: New rc.d init script roadmap
Message-ID:  <Pine.LNX.4.33.0110181333540.1612-100000@smtp.gnf.org>
In-Reply-To: <xzpd73kbuh8.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On 18 Oct 2001, Dag-Erling Smorgrav wrote:

> Dag-Erling Smorgrav <des@ofug.org> writes:
> > Your rcorder patch is incorrect.
>
> Here's a correct patch.  Does anybody mind if I commit this and
> connect rcorder(8) to the build?

Actually, fparseln() is defined in libutil.h (per the man page). I don't
have my current box available (power outage at home), but if you could
look over it, it should work.

-gordon

Index: rcorder.c
===================================================================
RCS file: /home/ncvs/src/sbin/rcorder/rcorder.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 rcorder.c
--- rcorder.c	16 Jun 2001 07:16:14 -0000	1.1.1.1
+++ rcorder.c	18 Oct 2001 19:45:27 -0000
@@ -41,7 +41,11 @@
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
+#if defined(__NetBSD__)
 #include <util.h>
+#else
+#include <libutil.h>
+#endif

 #include "ealloc.h"
 #include "sprite.h"


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.33.0110181333540.1612-100000>