mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
tail: check OFF_T_MAX vs COPY_A_BUFFER
* src/tail.c: Document an otherwise-unstated assumption.
This commit is contained in:
1 parent
468f821150
commit
ae37265727
1 file changed
+1
@@ -81,6 +81,7 @@
|
||||
/* Special values for dump_remainder's N_BYTES parameter. */
|
||||
#define COPY_TO_EOF UINTMAX_MAX
|
||||
#define COPY_A_BUFFER (UINTMAX_MAX - 1)
|
||||
static_assert (OFF_T_MAX < COPY_A_BUFFER);
|
||||
|
||||
/* FIXME: make Follow_name the default? */
|
||||
#define DEFAULT_FOLLOW_MODE Follow_descriptor
|
||||
|
||||
Reference in new issue
Block a user