tar bug fixed :-))
Juan Cespedes wrote:
> Strange... `tar' fails only when used with more than 4
> arguments... but that way it's unusable.
>
> Example:
>
> ------------------------------------------------------------
> root@groucho:~# tar
> tar: You must specify one of the `-Acdtrux' options
> Try `tar --help' for more information.
> root@groucho:~# tar a
> tar: invalid option -- a
> Try `tar --help' for more information.
> root@groucho:~# tar a b c d
> tar: invalid option -- a
> Try `tar --help' for more information.
> root@groucho:~# 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.
delaunay@lix.polytechnique.fr | En les supprimant." Henri Jeanson (1900-1970)
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-sparc-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: