[Midnightbsd-cvs] src [11394] trunk/libexec/revnetgroup/revnetgroup.c: sync with freebsd

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri Jul 6 20:59:30 EDT 2018


Revision: 11394
          http://svnweb.midnightbsd.org/src/?rev=11394
Author:   laffer1
Date:     2018-07-06 20:59:29 -0400 (Fri, 06 Jul 2018)
Log Message:
-----------
sync with freebsd

Modified Paths:
--------------
    trunk/libexec/revnetgroup/Makefile
    trunk/libexec/revnetgroup/hash.c
    trunk/libexec/revnetgroup/hash.h
    trunk/libexec/revnetgroup/parse_netgroup.c
    trunk/libexec/revnetgroup/revnetgroup.8
    trunk/libexec/revnetgroup/revnetgroup.c

Property Changed:
----------------
    trunk/libexec/revnetgroup/revnetgroup.8

Modified: trunk/libexec/revnetgroup/Makefile
===================================================================
--- trunk/libexec/revnetgroup/Makefile	2018-07-07 00:59:14 UTC (rev 11393)
+++ trunk/libexec/revnetgroup/Makefile	2018-07-07 00:59:29 UTC (rev 11394)
@@ -1,5 +1,5 @@
-# $MidnightBSD: src/libexec/revnetgroup/Makefile,v 1.2 2012/04/11 00:46:55 laffer1 Exp $
-# $FreeBSD: src/libexec/revnetgroup/Makefile,v 1.6 2001/03/26 14:22:06 ru Exp $
+# $MidnightBSD$
+# $FreeBSD: stable/10/libexec/revnetgroup/Makefile 201380 2010-01-02 09:50:19Z ed $
 
 PROG=	revnetgroup
 SRCS=	revnetgroup.c hash.c parse_netgroup.c
@@ -6,5 +6,6 @@
 
 MAN= revnetgroup.8
 
-WARNS?= 2
+WARNS?=	2
+
 .include <bsd.prog.mk>

Modified: trunk/libexec/revnetgroup/hash.c
===================================================================
--- trunk/libexec/revnetgroup/hash.c	2018-07-07 00:59:14 UTC (rev 11393)
+++ trunk/libexec/revnetgroup/hash.c	2018-07-07 00:59:29 UTC (rev 11394)
@@ -33,7 +33,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-  "$FreeBSD: src/libexec/revnetgroup/hash.c,v 1.7 2002/02/07 23:57:01 imp Exp $";
+  "$FreeBSD: stable/10/libexec/revnetgroup/hash.c 90377 2002-02-07 23:57:01Z imp $";
 #endif /* not lint */
 
 #include <stdio.h>

Modified: trunk/libexec/revnetgroup/hash.h
===================================================================
--- trunk/libexec/revnetgroup/hash.h	2018-07-07 00:59:14 UTC (rev 11393)
+++ trunk/libexec/revnetgroup/hash.h	2018-07-07 00:59:29 UTC (rev 11394)
@@ -30,7 +30,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- * $FreeBSD: src/libexec/revnetgroup/hash.h,v 1.7 2002/02/07 23:57:01 imp Exp $
+ * $FreeBSD: stable/10/libexec/revnetgroup/hash.h 90377 2002-02-07 23:57:01Z imp $
  */
 
 /* Groupname entry hung off a member_entry node. */

Modified: trunk/libexec/revnetgroup/parse_netgroup.c
===================================================================
--- trunk/libexec/revnetgroup/parse_netgroup.c	2018-07-07 00:59:14 UTC (rev 11393)
+++ trunk/libexec/revnetgroup/parse_netgroup.c	2018-07-07 00:59:29 UTC (rev 11394)
@@ -14,11 +14,7 @@
  * 2. Redistributions in binary form must reproduce the above copyright
  *    notice, this list of conditions and the following disclaimer in the
  *    documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- *    must display the following acknowledgement:
- *	This product includes software developed by the University of
- *	California, Berkeley and its contributors.
- * 4. Neither the name of the University nor the names of its contributors
+ * 3. Neither the name of the University nor the names of its contributors
  *    may be used to endorse or promote products derived from this software
  *    without specific prior written permission.
  *
@@ -37,7 +33,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-  "$FreeBSD: src/libexec/revnetgroup/parse_netgroup.c,v 1.9 2002/04/01 21:13:15 mike Exp $";
+  "$FreeBSD: stable/10/libexec/revnetgroup/parse_netgroup.c 262435 2014-02-24 08:21:49Z brueffer $";
 #endif /* not lint */
 
 /*
@@ -200,8 +196,8 @@
 	if (lp->l_parsed) {
 #ifdef DEBUG
 		/*
-		 * This error message is largely superflous since the
-		 * code handles the error condition sucessfully, and
+		 * This error message is largely superfluous since the
+		 * code handles the error condition successfully, and
 		 * spewing it out from inside libc can actually hose
 		 * certain programs.
 		 */

Modified: trunk/libexec/revnetgroup/revnetgroup.8
===================================================================
--- trunk/libexec/revnetgroup/revnetgroup.8	2018-07-07 00:59:14 UTC (rev 11393)
+++ trunk/libexec/revnetgroup/revnetgroup.8	2018-07-07 00:59:29 UTC (rev 11394)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 1995
 .\"	Bill Paul <wpaul at ctr.columbia.edu>.  All rights reserved.
 .\"
@@ -28,8 +29,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $FreeBSD: src/libexec/revnetgroup/revnetgroup.8,v 1.14 2005/02/09 20:36:12 ru Exp $
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/libexec/revnetgroup/revnetgroup.8 239364 2012-08-18 09:26:51Z zeising $
 .\"
 .Dd October 24, 1995
 .Dt REVNETGROUP 8
@@ -56,7 +56,7 @@
 This information is used to generate the
 .Pa netgroup.byuser
 and
-.Pa netgroup.byhosts
+.Pa netgroup.byhost
 .Tn NIS
 maps.
 These reverse netgroup maps are used to help speed up
@@ -73,7 +73,7 @@
 and the member names are the
 .Em data .
 By contrast, the reverse
-.Pa netgroup.byusers
+.Pa netgroup.byuser
 database lists each unique
 member as the key and the netgroups to which the members belong become
 the data.


Property changes on: trunk/libexec/revnetgroup/revnetgroup.8
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/libexec/revnetgroup/revnetgroup.c
===================================================================
--- trunk/libexec/revnetgroup/revnetgroup.c	2018-07-07 00:59:14 UTC (rev 11393)
+++ trunk/libexec/revnetgroup/revnetgroup.c	2018-07-07 00:59:29 UTC (rev 11394)
@@ -39,7 +39,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-  "$FreeBSD: src/libexec/revnetgroup/revnetgroup.c,v 1.13 2005/02/09 20:36:12 ru Exp $";
+  "$FreeBSD: stable/10/libexec/revnetgroup/revnetgroup.c 141589 2005-02-09 20:36:12Z ru $";
 #endif /* not lint */
 
 #include <err.h>



More information about the Midnightbsd-cvs mailing list