summaryrefslogtreecommitdiff
path: root/lib/fileblocks.c
AgeCommit message (Collapse)Author
2005-05-14Update FSF postal mail address.Jim Meyering
2004-08-02(textutils_fileblocks_unused): Make it a typedefPaul Eggert
instead of an int, to save a few bytes in the object file.
2000-08-07back out Copyright date changes for files with no changes yearJim Meyering
2000-07-09update copyright dateJim Meyering
1999-11-05Use HAVE_STRUCT_STAT_ST_BLOCKS, not deprecated HAVE_ST_BLOCKS.Jim Meyering
1998-12-07ansideclifyJim Meyering
1998-03-15Use #if, not #ifdef with HAVE_ macrosJim Meyering
1998-02-19[__DJGPP__]: Add missing typedef for daddr_t.Jim Meyering
1998-01-12Include sys/param.h only #if HAVE_SYS_PARAM_H.Jim Meyering
Move function-spanning `#if ...BSIZE' stmt to follow inclusion of sys/param.h since BSIZE is sometimes defined in sys/param.h. Based on a patch from Philippe De Muyter.
1997-11-30(st_blocks): long -> off_t.Jim Meyering
Avoid arithmetic overflow when size is near max. Depend on _POSIX_SOURCE and BSIZE, not _POSIX_VERSION, for compatibility with system.h. (BSIZE): Remove definition, since if BSIZE is not defined we're never invoked.
1997-06-03[HAVE_UNISTD_H]: Include unistd.h.Jim Meyering
John Gatewood Ham reported that this is necessary for DJGPP/Win95.
1996-07-15update FSF address in copyrightJim Meyering
1996-04-28Indent CPP conditionals.Jim Meyering
1996-04-28[HAVE_ST_BLOCKS || _POSIX_VERSION]: Add extern dclJim Meyering
of unused variable so that after preprocessing, the file will never be empty. Otherwise, some compilers in ANSI mode (among them, the Dec Alpha OSF 2.0 C compiler) reject empty files. From Kaveh Ghazi.
1995-10-18Use _POSIX_VERSION, not _POSIX_SOURCE.Jim Meyering
1994-10-02merge with 3.9hJim Meyering
1993-10-17[!NINDIR]: Define BSIZE only if it's not already defined.Jim Meyering
1992-10-31Initial revisionJim Meyering