On Mon, Jul 10, 2006 at 01:49:51AM +0200, Kurt Roeckx wrote:
> On Sun, Jul 09, 2006 at 09:52:52PM +0200, Kurt Roeckx wrote:
> > 
> > It seems that the created tar files are good, but during
> > extraction it doesn't always react the same.

The problem seems to be this code in
src/incremen.c:try_purge_directory():
      const char *entry;
      struct stat st;
      if (p)
        free (p);
      p = new_name (directory_name, cur);

      if (!(entry = dumpdir_locate (current_stat_info.dumpdir, cur))
          || (*entry == 'D' && S_ISDIR (st.st_mode))
          || (*entry == 'Y' && !S_ISDIR (st.st_mode)))
        {
          if (deref_stat (false, p, &st))

Note that st isn't initialised.

I have no idea what needs to be stat'ed there, or how to fix it.
I think that most of what is inside the first if needs to be
moved outside of it, but I'm not really sure.


Kurt



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to