[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


From: Kenny Allman
Subject: tar
Date: Tue, 01 Jan 2002 17:20:24 -0500

I've never noticed in the past ... but ... I'm still a "newbie" ... so
maybe I don't know what I'm doing.

But ... I really want to be a part of open source development ... so ...
I'll take the risk of a flaming ...

When using the --exlcude when taring ... the results are not as I might
expect ... when looking at the code ... the reason is apparent.

In the src directory ... in the file create.c ... the function call that
ends up being a comparision via fnmatch only passes the filename.

excluded_filename (excluded, entry->d_name))

This causes a false condition when trying to match excludes with a
directory path ...

So ... I changed it to include the fullpath and got the results I wanted
... but ... maybe this is "wrong" for some reason?

I dunno ... either way ... you gotta love open source!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]