lib/ftell.c


Log

Author Commit Date CI Message
Paul Eggert f0e396a8 2011-07-25T09:21:22 * lib/ftell.c (ftell): Comment out cast.
Paul Eggert a53ff77a 2011-07-24T09:42:48 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.
Paul Eggert a9418e02 2011-07-24T09:42:14 ftell: do not assume wraparound signed arithmetic * lib/ftell.c: Include <limits.h>. (ftell): Don't assume wraparound signed arithmetic.
Jim Meyering d60f3b0c 2011-01-01T20:17:23 maint: update almost all copyright ranges to include 2011 Run the new "make update-copyright" rule.
Jim Meyering b2e2010c 2010-01-01T10:31:12 update nearly all FSF copyright year lists to include 2010 Use the same procedure as for 2009, outlined in http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/20081
Jim Meyering 3030c5b5 2009-12-28T10:50:36 update nearly all FSF copyright year lists to include 2009 The files named by the following are exempted: grep -v '^#' config/srclist.txt|grep -v '^$' \ | while read src dst; do test -f "$dst" && { echo "$dst"; continue; } test -d "$dst" || continue echo "$dst"/$(basename "$src") done > exempt git ls-files tests/unictype >> exempt In the remaining files, convert to all-interval notation if - there is already at least one year interval like 2000-2003 - the file is maintained by me - the file is in lib/uni*/, where that style already prevails Otherwise, use update-copyright's default.
Bruno Haible dac3bbf9 2008-03-30T15:18:13 Use module 'EOVERFLOW' rather than defining an EOVERFLOW replacement in the C code.
Eric Blake 85752366 2008-03-29T16:55:56 Fix ftell on mingw. * lib/ftell.c (EOVERFLOW): Define if the system lacks it. * modules/ftell-tests (Depends-on): Add binary-io. * modules/ftello-tests (Depends-on): Likewise. * tests/test-ftell.c (main): Enhance test to cover behavior after ungetc. Enforce binary mode. * tests/test-ftello.c (main): Likewise. Signed-off-by: Eric Blake <ebb9@byu.net>
Bruno Haible 57fdfd3f 2007-10-07T19:14:58 Change copyright notice from GPLv2+ to GPLv3+.
Bruno Haible cf0e9950 2007-05-28T15:13:36 New module 'ftell'.