Erik Faye-Lund <kusmabite@xxxxxxxxx> writes: > Perhaps instead we would be better of with something like an xunlink > (etc) in wrapper.c that deals with this on all platforms (and make > sure that unlink sets errno to EBUSY correctly if it doesn't already)? That is superficially similar to the way we let xread() silently handle short read to give us an easier to use API. Especially, the part to silently retry for a few times is similar to xread() recovering by repeating short reads. I do not think "ask the user one last time" part belongs to such a wrapper, though. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html