From 774bd9bf03d6064022082391abfe3ac00e07882f Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Mon, 5 May 2008 16:12:28 +0000 Subject: [PATCH] Go back to fondling FILE internals. --- gnu/usr.bin/sort/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/usr.bin/sort/config.h b/gnu/usr.bin/sort/config.h index 279456cb153..44f944c04b0 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 __fgetpendout(fp) +#define PENDING_OUTPUT_N_BYTES fp->_p - fp->_bf._base /* Define if exists and defines unusable PRI* macros. */ /* #undef PRI_MACROS_BROKEN */