Segfault on ALTcopy in Fedora Core 2
Brought to you by:
arkanda
Just installed UnixTree 3.0.1 on a vanilla FC2 system.
Both the provided binary and my self-compiled version
exhibit the same problem. I'm new to the program, so
I'll describe what I've done.
xt ~/work
*
f *.tex
F3 t
F3 c
This copies all *.tex files anywhere inside my ~/work
directory and puts them all in a single folder. This
works OK. Now consider
xt ~/work
*
f *.tex
F3 t
F4 c
This attempts to copy all *.tex files inside my ~/work
directory, *preserving directory structures*. UnixTree
successfully creates the *directory* which the the
first file will go to, but segfaults as it attempts to
create the first file.
GDB backtrace attached.
GDB backtrace
Logged In: YES
user_id=784258
UPDATE: I fixed the bug.
In libprd/copy.c:409, change
i = copy_cur_file(0);
to
i = copy_cur_file(data);
Scott