From 0e04be019638f430a0a5aebb9f28cd5a7d615c12 Mon Sep 17 00:00:00 2001 From: marcel Date: Sat, 3 May 2008 23:36:00 +0000 Subject: Unbreak build: gnu sort has been configured to grope inside struct __sFILE. It's opaque now, so add a function that returns the pending output bytes. Pointy hat: jhb --- gnu/usr.bin/sort/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/usr.bin/sort/config.h b/gnu/usr.bin/sort/config.h index 44f944c..279456c 100644 --- a/gnu/usr.bin/sort/config.h +++ b/gnu/usr.bin/sort/config.h @@ -1240,7 +1240,7 @@ #define PACKAGE_VERSION "5.3.0-20040812-FreeBSD" /* the number of pending output bytes on stream `fp' */ -#define PENDING_OUTPUT_N_BYTES fp->_p - fp->_bf._base +#define PENDING_OUTPUT_N_BYTES __fgetpendout(fp) /* Define if exists and defines unusable PRI* macros. */ /* #undef PRI_MACROS_BROKEN */ -- cgit v1.1