[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-tar] tar -L <size> dont work
From: |
Dmitri V. Ivanov |
Subject: |
[Bug-tar] tar -L <size> dont work |
Date: |
Sat, 30 Aug 2003 23:13:03 +0400 (MSD) |
Dear sirs
I found some mistype at tar-1.13, that cause error "invalid type
length" when I trying to use tar -L <size>. With this diff it seems to
work in Slackware-8.0:
===============
bash-2.05$ pwd
/home/dima/work/test/tar-1.13
bash-2.05$ diff src/tar.c.orig src/tar.c
657c657
< if (xstrtoul (optarg, (char **) 0, 10, &u, "") != LONG_MAX)
---
> if (xstrtoul (optarg, (char **) 0, 10, &u, "") >= LONG_MAX)
bash-2.05$ tar --version
tar (GNU tar) 1.13
Copyright (C) 1988, 92,93,94,95,96,97,98, 1999 Free Software
Foundation, Inc.
This is free software; see the source for copying conditions. There
is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
Written by John Gilmore and Jay Fenlason.
===========
Is this != simple mistype? Do you know about it?
WBR
Dmitri Ivanov
- [Bug-tar] tar -L <size> dont work,
Dmitri V. Ivanov <=