ache f8e201c549 Add more EOVERFLOW checks.
When file offset tends to be negative due to internal and ungetc buffers
additions counted, try to discard some ungetc data first, then return EBADF.
Later one can happens if lseek(fileno(fd),...) called f.e. POSIX says that
ungetc beyond beginning of the file results are undefined, so we can just
discard some of ungetc data in that case.

Don't rely on gcc cast when checking for overflow, use OFF_MAX.

Cosmetique.
2001-08-30 19:54:04 +00:00
..
2001-08-21 16:25:38 +00:00
2001-07-09 23:12:23 +00:00
2001-08-30 19:54:04 +00:00
2001-07-15 07:53:42 +00:00
2001-03-27 17:27:19 +00:00
2001-08-24 02:24:58 +00:00
2001-03-27 17:27:19 +00:00
2001-07-15 07:53:42 +00:00
1999-08-28 00:22:10 +00:00
2001-07-15 07:53:42 +00:00
2001-03-27 17:27:19 +00:00
2001-08-07 15:48:51 +00:00
2001-08-21 20:05:39 +00:00
2001-08-27 08:01:01 +00:00
2001-03-27 17:27:19 +00:00
2001-08-20 12:04:53 +00:00
2001-03-27 17:27:19 +00:00
1999-08-28 00:22:10 +00:00
2001-07-15 07:53:42 +00:00