Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jul 2016 01:07:48 +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: r303526 - in head/usr.bin: calendar checknr comm grep mandoc sdiff sed soelim uniq
Message-ID:  <201607300107.u6U17mJF060621@repo.freebsd.org>

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

Log:
  Remove usage of _WITH_GETLINE from usr.bin

Modified:
  head/usr.bin/calendar/io.c
  head/usr.bin/checknr/checknr.c
  head/usr.bin/comm/comm.c
  head/usr.bin/grep/grep.c
  head/usr.bin/mandoc/Makefile
  head/usr.bin/sdiff/sdiff.c
  head/usr.bin/sed/main.c
  head/usr.bin/soelim/soelim.c
  head/usr.bin/uniq/uniq.c

Modified: head/usr.bin/calendar/io.c
==============================================================================
--- head/usr.bin/calendar/io.c	Sat Jul 30 01:04:18 2016	(r303525)
+++ head/usr.bin/calendar/io.c	Sat Jul 30 01:07:47 2016	(r303526)
@@ -52,7 +52,6 @@ __FBSDID("$FreeBSD$");
 #include <locale.h>
 #include <pwd.h>
 #include <stdbool.h>
-#define _WITH_GETLINE
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>

Modified: head/usr.bin/checknr/checknr.c
==============================================================================
--- head/usr.bin/checknr/checknr.c	Sat Jul 30 01:04:18 2016	(r303525)
+++ head/usr.bin/checknr/checknr.c	Sat Jul 30 01:07:47 2016	(r303526)
@@ -50,7 +50,6 @@ __FBSDID("$FreeBSD$");
  * structured typesetting.
  */
 #include <err.h>
-#define _WITH_GETLINE
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>

Modified: head/usr.bin/comm/comm.c
==============================================================================
--- head/usr.bin/comm/comm.c	Sat Jul 30 01:04:18 2016	(r303525)
+++ head/usr.bin/comm/comm.c	Sat Jul 30 01:07:47 2016	(r303526)
@@ -49,7 +49,6 @@ __FBSDID("$FreeBSD$");
 #include <limits.h>
 #include <locale.h>
 #include <stdint.h>
-#define _WITH_GETLINE
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>

Modified: head/usr.bin/grep/grep.c
==============================================================================
--- head/usr.bin/grep/grep.c	Sat Jul 30 01:04:18 2016	(r303525)
+++ head/usr.bin/grep/grep.c	Sat Jul 30 01:07:47 2016	(r303526)
@@ -44,7 +44,6 @@ __FBSDID("$FreeBSD$");
 #include <libgen.h>
 #include <locale.h>
 #include <stdbool.h>
-#define _WITH_GETLINE
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>

Modified: head/usr.bin/mandoc/Makefile
==============================================================================
--- head/usr.bin/mandoc/Makefile	Sat Jul 30 01:04:18 2016	(r303525)
+++ head/usr.bin/mandoc/Makefile	Sat Jul 30 01:07:47 2016	(r303526)
@@ -83,7 +83,6 @@ SRCS+=	${DB_SRCS}
 
 WARNS?=	2
 CFLAGS+= -DHAVE_CONFIG_H \
-	 -D_WITH_GETLINE \
 	 -I${.CURDIR}/../../lib/libopenbsd/ \
 	 -I${.CURDIR}/../../contrib/sqlite3
 LIBADD=	openbsd sqlite3 z

Modified: head/usr.bin/sdiff/sdiff.c
==============================================================================
--- head/usr.bin/sdiff/sdiff.c	Sat Jul 30 01:04:18 2016	(r303525)
+++ head/usr.bin/sdiff/sdiff.c	Sat Jul 30 01:07:47 2016	(r303526)
@@ -22,7 +22,6 @@ __FBSDID("$FreeBSD$");
 #include <limits.h>
 #include <paths.h>
 #include <stdint.h>
-#define _WITH_GETLINE
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>

Modified: head/usr.bin/sed/main.c
==============================================================================
--- head/usr.bin/sed/main.c	Sat Jul 30 01:04:18 2016	(r303525)
+++ head/usr.bin/sed/main.c	Sat Jul 30 01:07:47 2016	(r303526)
@@ -58,7 +58,6 @@ static const char sccsid[] = "@(#)main.c
 #include <locale.h>
 #include <regex.h>
 #include <stddef.h>
-#define _WITH_GETLINE
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>

Modified: head/usr.bin/soelim/soelim.c
==============================================================================
--- head/usr.bin/soelim/soelim.c	Sat Jul 30 01:04:18 2016	(r303525)
+++ head/usr.bin/soelim/soelim.c	Sat Jul 30 01:07:47 2016	(r303526)
@@ -32,7 +32,6 @@ __FBSDID("$FreeBSD$");
 #include <ctype.h>
 #include <err.h>
 #include <limits.h>
-#define _WITH_GETLINE
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>

Modified: head/usr.bin/uniq/uniq.c
==============================================================================
--- head/usr.bin/uniq/uniq.c	Sat Jul 30 01:04:18 2016	(r303525)
+++ head/usr.bin/uniq/uniq.c	Sat Jul 30 01:07:47 2016	(r303526)
@@ -53,7 +53,6 @@ static const char rcsid[] =
 #include <locale.h>
 #include <nl_types.h>
 #include <stdint.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?201607300107.u6U17mJF060621>