Mercurial > hg > octave-nkf > gnulib-hg
changeset 15453:173d1d491540
ftell: don't include <unistd.h>
* lib/ftell.c: Don't include <unistd.h>. <stdio.h> is now
guaranteed to define off_t, and the ftell module depends on the
stdio module.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Sun, 24 Jul 2011 09:42:48 -0700 |
parents | 9086fb6c1ded |
children | 76a0e0f55da2 |
files | ChangeLog lib/ftell.c |
diffstat | 2 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -23,6 +23,11 @@ 2011-07-24 Paul Eggert <eggert@cs.ucla.edu> + ftell: don't include <unistd.h> + * lib/ftell.c: Don't include <unistd.h>. <stdio.h> is now + guaranteed to define off_t, and the ftell module depends on the + stdio module. + ftell: do not assume wraparound signed arithmetic * lib/ftell.c: Include <limits.h>. (ftell): Don't assume wraparound signed arithmetic.