[Users] [Bug 3348] Contact pictures not deleted when contact is deleted

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Wed Dec 17 17:51:33 CET 2014


http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=3348

--- Comment #6 from Ricardo Mones <mones at users.sourceforge.net> ---
(In reply to comment #5)
> No but the file itself could be hardlinked. Well maybe that's a very
> specific setup :-).

AFAIK if the file is hard linked the deletion only removes one link, hence the
file isn't actually deleted until the number of hard links is 1, so even in
that case it's safe to remove it (even when using shred, see claws_unlink in
utils.c).

The problematic case would be shared pictures but _not_ hard linked :)

Anyway I disagree with the idea of returning a constructed path. I'm more
inclined to build the path on the caller side and left the addrbook API
untouched.

If later more callers appear it can be considered if the API should be modified
or not.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Users mailing list