From d305f253120d5e4ac8e66784f833432d09dda6dc Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Wed, 18 Nov 2009 01:26:03 -0500 Subject: [PATCH] Increase the limit for the -b option from 1024 to 8192. Thanks to Tim Jones. SVN-Revision: 1669 --- tar/bsdtar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tar/bsdtar.c b/tar/bsdtar.c index 091689953..69804b81d 100644 --- a/tar/bsdtar.c +++ b/tar/bsdtar.c @@ -234,9 +234,9 @@ main(int argc, char **argv) break; case 'b': /* SUSv2 */ t = atoi(bsdtar->optarg); - if (t <= 0 || t > 1024) + if (t <= 0 || t > 8192) lafe_errc(1, 0, - "Argument to -b is out of range (1..1024)"); + "Argument to -b is out of range (1..8192)"); bsdtar->bytes_per_block = 512 * t; break; case 'C': /* GNU tar */ -- 2.47.3