lib/fileblocks.c


Log

Author Commit Date CI Message
Jim Meyering 1cc4ba44 1997-11-30T10:24:20 (st_blocks): long -> off_t. 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.
Jim Meyering ef1a7364 1997-06-03T20:01:47 [HAVE_UNISTD_H]: Include unistd.h. John Gatewood Ham reported that this is necessary for DJGPP/Win95.
Jim Meyering 6d8337bf 1996-07-15T03:36:16 update FSF address in copyright
Jim Meyering 04407723 1996-04-28T21:41:20 Indent CPP conditionals.
Jim Meyering cd192cd5 1996-04-28T21:34:00 [HAVE_ST_BLOCKS || _POSIX_VERSION]: Add extern dcl 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.
Jim Meyering ad77a609 1995-10-18T15:57:50 Use _POSIX_VERSION, not _POSIX_SOURCE.
Jim Meyering 300424a2 1994-10-02T05:43:03 merge with 3.9h
Jim Meyering c70c08f9 1993-10-17T22:31:39 [!NINDIR]: Define BSIZE only if it's not already defined.
Jim Meyering d87c3946 1992-10-31T20:42:48 Initial revision