mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
* src/system.h (fseeko, ftello): Remove now-unneeded definitions.
This commit is contained in:
1 parent
0ea19fb55c
commit
bcc1a1625c
2 files changed
+1
-15
No files matched your search
@@ -1,5 +1,6 @@
|
||||
2007-08-24 Jim Meyering <jim@meyering.net>
|
||||
|
||||
* src/system.h (fseeko, ftello): Remove now-unneeded definitions.
|
||||
* src/od.c (LDBL_DIG): Remove now-unneeded definition.
|
||||
|
||||
Arrange to use tag names like vM.N, rather than COREUTILS-M_N.
|
||||
|
||||
@@ -504,21 +504,6 @@ enum
|
||||
# define EOVERFLOW EINVAL
|
||||
#endif
|
||||
|
||||
#if ! HAVE_FSEEKO
|
||||
# if ! defined fseeko
|
||||
# define fseeko(s, o, w) ((o) == (long int) (o) \
|
||||
? fseek (s, o, w) \
|
||||
: (errno = EOVERFLOW, -1))
|
||||
# endif
|
||||
# if ! defined ftello
|
||||
static inline off_t ftello (FILE *stream)
|
||||
{
|
||||
verify (sizeof (long int) <= sizeof (off_t));
|
||||
return ftell (stream);
|
||||
}
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if ! HAVE_SYNC
|
||||
# define sync() /* empty */
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user