OSDir


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

[Bug 62430] New: mod-mbox-util fails to empty index file if mbox is emptied


https://bz.apache.org/bugzilla/show_bug.cgi?id=62430

            Bug ID: 62430
           Summary: mod-mbox-util fails to empty index file if mbox is
                    emptied
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_mbox
          Assignee: bugs@xxxxxxxxxxxxxxxx
          Reporter: sebb@xxxxxxxxxx
  Target Milestone: ---

If a non-empty mbox file is indexed, and then updated to be empty, subsequent
update and create runs don't empty the index.

It looks like the code caches the contents of the index file and does not
notice that there are now no messages.

It seems the only way to ensure the index is properly recreated is to delete it
before running mod-mbox-util

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: bugs-help@xxxxxxxxxxxxxxxx