https://sourceware.org/bugzilla/show_bug.cgi?id=26125

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at klomp dot org

--- Comment #2 from Mark Wielaard <mark at klomp dot org> ---
Could we simply always try to remove the parent dir if the file pattern matches
and we do an unlink?

  case FTS_F:
    if (time(NULL) - f->fts_statp->st_atime >= max_unused_age)
      {
        unlink (f->fts_path);
        /* Remove if now empty. */
        (void) rmdir (dirname (f->fts_path));
      }
    break;

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to