Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Oct 2001 11:22:15 +0300
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Warner Losh <imp@FreeBSD.org>
Cc:        audit@FreeBSD.org
Subject:   Re: cvs commit: src/lib/libc/net rcmdsh.3 rcmdsh.c Makefile.inc rcmd.c
Message-ID:  <20011023112215.C43285@sunbay.com>
In-Reply-To: <200110230622.f9N6MF973431@freefall.freebsd.org>; from imp@FreeBSD.org on Mon, Oct 22, 2001 at 11:22:15PM -0700
References:  <200110230622.f9N6MF973431@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 22, 2001 at 11:22:15PM -0700, Warner Losh wrote:
> imp         2001/10/22 23:22:15 PDT
> 
>   Modified files:
>     lib/libc/net         Makefile.inc rcmd.c 
>   Added files:
>     lib/libc/net         rcmdsh.3 rcmdsh.c 
>   Log:
>   Allow users to specify a command to use as remote command instead of
>   using rcmd directly.  This has been in my tree for a long time, but we
>   may need to sync with OpenBSD before MFC.
>   
>   Obtained from: openbsd
>   PR: 15830
>   
>   MFC after: 2 months
>   
>   Revision  Changes    Path
>   1.43      +3 -3      src/lib/libc/net/Makefile.inc
>   1.32      +21 -5     src/lib/libc/net/rcmd.c
>   1.1       +105 -0    src/lib/libc/net/rcmdsh.3 (new)
>   1.1       +130 -0    src/lib/libc/net/rcmdsh.c (new)
> 
Warner,

The attached patch:

1.  Puts missing prototype for rcmd() in <unistd.h>.
2.  Cleans up the manpage.
3.  Applies style(9) to rcmdsh.c.

Note that the type of "rshprog" was changed from "char *"
to "const char *" to satisfy WARNS=2.


Cheers,
-- 
Ruslan Ermilov		Oracle Developer/DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011023112215.C43285>