This is an interesting bug! I can't reproduce it on amd64, but I'm about to try with i386.
I suspect the problem is that when "name" is the same as the base filename, len(name) == pathlen, and the strptime is looking just beyond the end of the string - probably at one of the other filenames, I'd guess. Because Sam named the base file with a ".xac" extension, the error is not caught by the conditions around the unlink command. It should be possible to extend the guard condition around this block to skip the base filename altogether. -- Tim Retout <dioc...@debian.org>
signature.asc
Description: This is a digitally signed message part