changeset 13690:db7ab359c5d7

2717 tail is not largefile aware Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Garrett D'Amore <garrett@damore.org>
author Richard Lowe <richlowe@richlowe.net>
date Fri, 11 May 2012 22:59:24 +0100
parents 125d1b3a6fa8
children e1aca0f20bff
files usr/src/cmd/tail/Makefile
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/cmd/tail/Makefile	Fri May 11 22:38:24 2012 -0400
+++ b/usr/src/cmd/tail/Makefile	Fri May 11 22:59:24 2012 +0100
@@ -23,7 +23,7 @@
 include ../Makefile.cmd
 
 CLOBBERFILES=	$(PROG)
-
+CPPFLAGS +=        -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
 
 C99MODE=	-xc99=%all
 C99LMODE=	-Xc99=%all