#165211 tar: blank line in exclude-from file is considered as catch-all

Package:
tar
Source:
tar
Description:
GNU version of the tar archiving utility
Submitter:
Xavier Poinsard
Date:
2005-07-18 03:13:03 UTC
Severity:
wishlist
#165211#5
Date:
2002-10-17 15:59:06 UTC
From:
To:
I just spend a moment (including using debugger) to find that, when
using "--exclude-from=FILE", if you leave a blank line at the end of
FILE, tar does nothing. It probably think this means exclude all files.
I would suggest two things :
- either send a warning when there is a blank line at the end of the
  exclude file
- either ignore blank lines in exclude file.