Subject: Re: tar --exclude
To: None <hiramatu@boreas.dti.ne.jp>
From: None <itojun@iijlab.net>
List: tech-userlevel
Date: 12/06/2002 15:34:26
>From man page of GNU tar,
> --exclude pattern Exclude files matching the pattern (don't extract
> them, don't add them, don't list them).
>I think this option is useful, and here is my attempt to add --exclude
>to our tar.
>Thanks in advance for comments.
you are using
p = realloc(p, x)
which is a source of memory leak when memory allocation fails.
see realloc(3) manpage.
itojun