Date: Wed, 19 Nov 1997 11:23:11 +0200 (IST) From: Eli Zaretskii To: djgpp AT delorie DOT com cc: Michal Mertl Subject: Re: Bug in TAR Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Tue, 18 Nov 1997, Michal Mertl wrote: > It states in docs that it fully supports dos absolute pathnames Well, full support doesn't mean bug-free support ;-). > but when I > start it with "tar -cf thefile.tar c:/foo/thefile.txt" in directory c:/foo it > crashes with SIGSEGV. Thanks for reporting this bug. This is a price of introducing insignificant changes after most of the testing has been done already. Here's the source-level patch (I will upload patched distributions ASAP): diff -c gnu/tar-1.12/src/create.c~0 gnu/tar-1.12/src/create.c *** gnu/tar-1.12/src/create.c~0 Sat Oct 4 16:23:22 1997 --- gnu/tar-1.12/src/create.c Wed Nov 19 08:40:50 1997 *************** *** 183,189 **** { if (!warned_once) { ! char msg[50]; /* Don't set warned_once if the next character is a slash, so that they will see the message about the slash as well. */ if (name[2] != '/') --- 183,189 ---- { if (!warned_once) { ! char msg[60]; /* Don't set warned_once if the next character is a slash, so that they will see the message about the slash as well. */ if (name[2] != '/')