cant cancel Issues
Jeffrey M. Vinocur
jeff at litech.org
Wed Feb 6 03:02:42 UTC 2002
On Wed, 6 Feb 2002, Katsuhiro Kondou wrote:
> } Feb 5 18:05:04 marduk innd: SERVER cant cancel
> } @05000000037D000067340000000000000000@ (SMerrno 0)
>
> Ok. I think some of links are already unlinked, and the
> article is crossposted. In the case, unlink() fails and
> the return value is set to zero. I believe this is a bug,
> and this should be gone by ignoring return value of
> unlink() at unlinking the link.
I will test your patch.
- if (unlink(linkpath) < 0) result = FALSE;
+ (void)unlink(linkpath);
Do we want instead to do this, though?
- if (unlink(linkpath) < 0) result = FALSE;
+ if (unlink(linkpath) < 0 && i == 1) result = FALSE;
--
Jeffrey M. Vinocur
jeff at litech.org
More information about the inn-workers
mailing list