From 774bd9bf03d6064022082391abfe3ac00e07882f Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Mon, 5 May 2008 16:12:28 +0000 Subject: Go back to fondling FILE internals. --- 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 279456cb153e..44f944c04b0c 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 */ -- cgit v1.3