same device/inode-number pair as before. This option is meaningful only
when following by name. --max-n-consecutive-size-changes=N */
#define DEFAULT_MAX_N_CONSECUTIVE_SIZE_CHANGES 200
-static unsigned long max_n_consecutive_size_changes =
+static unsigned long max_n_consecutive_size_changes_between_opens =
DEFAULT_MAX_N_CONSECUTIVE_SIZE_CHANGES;
/* The name this program was run with. */
growing will be recognized as having been renamed. */
if (follow_mode == Follow_name
&& (f[i].n_consecutive_size_changes
- > max_n_consecutive_size_changes))
+ > max_n_consecutive_size_changes_between_opens))
{
f[i].n_consecutive_size_changes = 0;
recheck (&f[i]);
case CHAR_MAX + 3:
/* --max-consecutive-size-changes=N */
- if (xstrtoul (optarg, NULL, 10, &max_n_consecutive_size_changes, "")
+ if (xstrtoul (optarg, NULL, 10,
+ &max_n_consecutive_size_changes_between_opens, "")
!= LONGINT_OK)
{
error (EXIT_FAILURE, 0,