On May 17, 2001, "John R. Jackson" <[EMAIL PROTECTED]> wrote:

>>> Looks like gcc 2.8.1.

>> Gee.  That's dead broken.  ...

> Yeah, yeah.  But you're just a wee bit biased :-) :-).

FYI, I've just found this in GNU tar 1.13.19's README:

<quote>
* Solaris issues.

GNU tar exercises many features that can cause problems with older GCC
versions.  In particular, GCC 2.8.1 (sparc, -O1 or -O2) is known to
miscompile GNU tar.  No compiler-related problems have been reported
when using GCC 2.95.2 or later.
</quote>


And here's the patch for a crash I had mentioned I had found.  It
would crash while doing --listed-incremental full or incremental
backups whenever it didn't have permission to enter a directory:

--- src/incremen.c~	Sat Jan 13 03:59:29 2001
+++ src/incremen.c	Sun May 20 05:51:37 2001
@@ -183,7 +183,10 @@
     enum children children;
 
     if (! dirp)
-      savedir_error (path);
+      {
+	savedir_error (path);
+	return 0;
+      }
     errno = 0;
 
     name_buffer_size = strlen (path) + NAME_FIELD_SIZE;

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

Reply via email to