summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2008-05-05 16:12:28 +0000
committerjhb <jhb@FreeBSD.org>2008-05-05 16:12:28 +0000
commit7330257bc62c0814f251075f50132efc92b0e57b (patch)
tree7ea2ba591c8514b8445bedaa9b2a487486e775c3
parentf0ddfb88fd0197c9357568fb4b2c9b989a483ffa (diff)
downloadFreeBSD-src-7330257bc62c0814f251075f50132efc92b0e57b.zip
FreeBSD-src-7330257bc62c0814f251075f50132efc92b0e57b.tar.gz
Go back to fondling FILE internals.
-rw-r--r--gnu/usr.bin/sort/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/sort/config.h b/gnu/usr.bin/sort/config.h
index 279456c..44f944c 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 <inttypes.h> exists and defines unusable PRI* macros. */
/* #undef PRI_MACROS_BROKEN */
OpenPOWER on IntegriCloud