Menu

#3 Segfault on ALTcopy in Fedora Core 2

v3.0.1
open
nobody
5
2004-06-04
2004-06-04
No

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.

Discussion

  • Scott Norris

    Scott Norris - 2004-06-04

    GDB backtrace

     
  • Scott Norris

    Scott Norris - 2004-06-04

    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

     

Log in to post a comment.

MongoDB Logo MongoDB