mirror of
https://git.savannah.gnu.org/git/tar.git
synced 2026-08-22 09:16:02 +00:00
scripts: remove EOF == -1 assumption
* scripts/xsparse.c (main): Don’t assume EOF == -1.
This commit is contained in:
+1
-1
@@ -352,7 +352,7 @@ main (int argc, char **argv)
|
||||
char *xheader_file = NULL;
|
||||
|
||||
progname = argv[0];
|
||||
while ((c = getopt (argc, argv, "hnvx:")) != EOF)
|
||||
while (0 <= (c = getopt (argc, argv, "hnvx:")))
|
||||
{
|
||||
switch (c)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user