Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jul 2016 01:10:05 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r303527 - in head/usr.sbin: autofs pkg pw services_mkdb
Message-ID:  <201607300110.u6U1A649060767@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sat Jul 30 01:10:05 2016
New Revision: 303527
URL: https://svnweb.freebsd.org/changeset/base/303527

Log:
  Remove usage of _WITH_GETLINE from usr.sbin

Modified:
  head/usr.sbin/autofs/common.c
  head/usr.sbin/pkg/pkg.c
  head/usr.sbin/pw/pw.h
  head/usr.sbin/pw/pw_vpw.c
  head/usr.sbin/services_mkdb/services_mkdb.c

Modified: head/usr.sbin/autofs/common.c
==============================================================================
--- head/usr.sbin/autofs/common.c	Sat Jul 30 01:07:47 2016	(r303526)
+++ head/usr.sbin/autofs/common.c	Sat Jul 30 01:10:05 2016	(r303527)
@@ -53,7 +53,6 @@ __FBSDID("$FreeBSD$");
 #include <signal.h>
 #include <stdbool.h>
 #include <stdint.h>
-#define	_WITH_GETLINE
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>

Modified: head/usr.sbin/pkg/pkg.c
==============================================================================
--- head/usr.sbin/pkg/pkg.c	Sat Jul 30 01:07:47 2016	(r303526)
+++ head/usr.sbin/pkg/pkg.c	Sat Jul 30 01:10:05 2016	(r303527)
@@ -34,7 +34,6 @@ __FBSDID("$FreeBSD$");
 #include <sys/sbuf.h>
 #include <sys/wait.h>
 
-#define _WITH_GETLINE
 #include <archive.h>
 #include <archive_entry.h>
 #include <dirent.h>

Modified: head/usr.sbin/pw/pw.h
==============================================================================
--- head/usr.sbin/pw/pw.h	Sat Jul 30 01:07:47 2016	(r303526)
+++ head/usr.sbin/pw/pw.h	Sat Jul 30 01:10:05 2016	(r303527)
@@ -28,7 +28,6 @@
 
 #include <sys/stat.h>
 
-#define _WITH_GETLINE
 #include <inttypes.h>
 #include <stdio.h>
 #include <stdlib.h>

Modified: head/usr.sbin/pw/pw_vpw.c
==============================================================================
--- head/usr.sbin/pw/pw_vpw.c	Sat Jul 30 01:07:47 2016	(r303526)
+++ head/usr.sbin/pw/pw_vpw.c	Sat Jul 30 01:10:05 2016	(r303527)
@@ -33,7 +33,6 @@ static const char rcsid[] =
 #include <pwd.h>
 #include <grp.h>
 #include <libutil.h>
-#define _WITH_GETLINE
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>

Modified: head/usr.sbin/services_mkdb/services_mkdb.c
==============================================================================
--- head/usr.sbin/services_mkdb/services_mkdb.c	Sat Jul 30 01:07:47 2016	(r303526)
+++ head/usr.sbin/services_mkdb/services_mkdb.c	Sat Jul 30 01:10:05 2016	(r303527)
@@ -40,7 +40,6 @@ __FBSDID("$FreeBSD$");
 #include <err.h>
 #include <fcntl.h>
 #include <netdb.h>
-#define _WITH_GETLINE
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>



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