Juan Cespedes wrote:
>       Strange... `tar' fails only when used with more than 4
> arguments... but that way it's unusable.
> 
>       Example:
> 
> ------------------------------------------------------------
> [EMAIL PROTECTED]:~# tar
> tar: You must specify one of the `-Acdtrux' options
> Try `tar --help' for more information.
> [EMAIL PROTECTED]:~# tar a
> tar: invalid option -- a
> Try `tar --help' for more information.
> [EMAIL PROTECTED]:~# tar a b c d
> tar: invalid option -- a
> Try `tar --help' for more information.
> [EMAIL PROTECTED]:~# tar a b c d e
> Segmentation fault (core dumped)
> ------------------------------------------------------------
> 
>       It happens *always* when using 5 or more arguments.

I fixed this bug :-))  It was related to another problem I discovered
about __environ variable changing between _start & main function.

You have to apply the patch below:

--- start.S.edo Sun Aug 24 18:52:19 1997
+++ start.S     Tue Oct 14 18:35:38 1997
@@ -54,7 +54,7 @@
      argument info starts after one register window (16 words) past the SP.  */
        ld      [%sp+22*4], %o0
        add     %sp, 23*4, %o1
-       sll     %o0, 4, %o2
+       sll     %o0, 2, %o2
        add     %o2, %o1, %o2
        sethi   %hi(__environ), %g2
        add     %o2, 4, %o2

I'll upload a new glibc package as soon as possible, then I'll work on other
bugs.

Bye.

-- 
 Eric Delaunay                 | "La guerre justifie l'existence des militaires.
 [EMAIL PROTECTED] | En les supprimant." Henri Jeanson (1900-1970)


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .

Reply via email to