Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jul 2016 08:27:00 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r419346 - head/security/super/files
Message-ID:  <201607310827.u6V8R0K1059765@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ed (src committer)
Date: Sun Jul 31 08:27:00 2016
New Revision: 419346
URL: https://svnweb.freebsd.org/changeset/ports/419346

Log:
  Remove local declarations of setgrent().
  
  In the nearby future, I'm going to change the prototype of the
  setgrent() function. Prevent this port from breaking by removing the
  redundant local declarations of the setgrent() function it has.
  
  PR:		211394 (exp-run)
  Reviewed by:	antoine
  Differential Revision:	https://reviews.freebsd.org/D7364

Added:
  head/security/super/files/patch-checks.c   (contents, props changed)

Added: head/security/super/files/patch-checks.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/super/files/patch-checks.c	Sun Jul 31 08:27:00 2016	(r419346)
@@ -0,0 +1,26 @@
+--- checks.c
++++ checks.c
+@@ -567,7 +567,6 @@
+ set_u_g()
+ {
+     /* Return 0 on success, -1 on failure */
+-    SETGRENT_T setgrent();
+     void endgrent();
+     int i, j, k = -1;
+     int found_gid = -1, found_egid = -1;
+@@ -1425,7 +1424,6 @@
+ char *grouplabel;	/* name or numeric form */
+ {
+     struct group *gp;
+-    SETGRENT_T setgrent();
+     void endgrent();
+     int numeric_gid;
+     int found_gid, is_numeric=0;
+@@ -1897,7 +1895,6 @@
+     struct group *gp;
+     char **mem;
+     char buf[20];
+-    SETGRENT_T setgrent();
+     void endgrent();
+ 
+     ENTRY item, *found_item;



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