[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-tar] [PATCH] --show-snapshot-field-ranges option
From: |
Nathan Stratton Treadway |
Subject: |
[Bug-tar] [PATCH] --show-snapshot-field-ranges option |
Date: |
Mon, 25 Mar 2013 00:32:56 -0400 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Sat, Dec 22, 2012 at 20:43:16 -0800, Paul Eggert wrote:
> * src/incremen.c (read_incr_db_01, write_directory_file_entry):
> Allow negative time_t, dev_t, and ino_t.
As I tried to investigate the original "Unexpected field value in
snapshot file" error that eventually let to Paul's patch, I found that
it is rather difficult to figure out exactly what field ranges are
considered valid by a particular GNU tar binary on a particular system.
The attached patch attempts to solve that problem by adding a
--show-snapshot-field-ranges option, which simply prints to standard out
the compiled-in minimum and maximum allowed values for each field.
Nathan
----------------------------------------------------------------------------
Nathan Stratton Treadway - address@hidden - Mid-Atlantic region
Ray Ontko & Co. - Software consulting services - http://www.ontko.com/
GPG Key: http://www.ontko.com/~nathanst/gpg_key.txt ID: 1023D/ECFB6239
Key fingerprint = 6AD8 485E 20B9 5C71 231C 0C32 15F3 ADCD ECFB 6239
show-snapshot-field-ranges.patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-tar] [PATCH] --show-snapshot-field-ranges option,
Nathan Stratton Treadway <=