[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[leafnode-list] Re: Leafnode 1: Noticed a bug in xoverutil.c
- To: leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxx
- Subject: [leafnode-list] Re: Leafnode 1: Noticed a bug in xoverutil.c
- From: Matthias Andree <matthias.andree@xxxxxx>
- Date: Sat, 25 Mar 2017 11:40:42 +0100
- Delivery-date: Sat, 25 Mar 2017 11:40:58 +0100
- Ironport-phdr: 9a23:wLlkxxMhOFhmZMoZPNIl6mtUPXoX/o7sNwtQ0KIMzox0LfT7rarrMEGX3/hxlliBBdydsKMYzbKO+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZPebgFHiTanfb9+MAi9oBnMuMURnYZsMLs6xAHTontPdeRWxGdoKkyWkh3h+Mq+/4Nt/jpJtf45+MFOTav1f6IjTbxFFzsmKHw65NfqtRbYUwSC4GYXX3gMnRpJBwjF6wz6Xov0vyDnuOdxxDWWMMvrRr0yRD+s7bpkSAXwhSkaKTA5/mHZhM9+gq1Vrx2upQBwzYHPbYGJNvdzZL/Rcc8USGdBWMtaSixPApm7b4sKF+cPOvxXr5Xhp1sOrBuxHxKsD/7zxz9Om3D2x7M13Po8GgzB2QwvBc4OsGjUrNX0LqgSSvq5w7POzTredfNZxyny5ZPHchAkrvCAR69/ftTIxEQpCgjLjU2QpJT7Mz+IyOgBqXaX4/RiWO61lmIqqRt9riazyss0iITEhJgZxk3H+Cln2oo4Ice0RFN5bNOnFpZbqjuUOJFsQsw4RmFloCY6xaMCuZ68ZCUKzZMnxwPDa/CdfIiI5x3iWPyXIThmmHJpYLO/hxCs/ki80uDwSNS43EhQoiZbjNXBtGoB2wHR58SdVPdx4l+t2TOV2ADS7uFEL1o0la3eK5M5x74/jIYTsVjDHi/3gkr2l7WaeV8i+ue18eTofKvpq4STN49xhQDyKLkhldKnDeQiLgcOR3Sb+fi71LD7+U32Xq9FjvMwkqnerZ/VO90Xpqq4Aw9OzoYu8AuwDyu83NsGhHUHMExKdw6Hj4jvOlHOI+r0Deuig1i1jThrwOrGPqHkApXQKHjMja3tcqtj5B0U9A1myd1W6ZRTBrxEJPPoRmf9qJrVSwM0OAyywuWhFMg42oQERWeSBKPfPK6Bn0WP47cKKvWQZI4co37ULfQ/6vOm2XowhUMdfKCym5IRZGq1E9xpJlXfbXe60YRJKnsDogdrFL+is1aFSzMGP3s=
- List-id: Leafnode NNTP Server - Support and Technical discussions <leafnode-list.dt.e-technik.tu-dortmund.de>
- Sender: leafnode-list-bounces+list01=leafnode.de@xxxxxxxxxxxxxxxxxxxxxxxxxxx
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
Am 13.12.2016 um 06:00 schrieb Gary R. Schmidt:
> Hi,
> In reviewing my various and sundry log files, I noticed the following
> showing up:
> fetchnews[19025]: [ID 702911 news.error] error: cannot
> rmdir(/news/comp/databases): File exists
> Which is true as /news/comp/database/xbase is still populated.
>
> So I went looking and found that the rmdir(2) call in killcwd() checks
> for ENOTEMPTY as a no error condition, and not EEXIST which Solaris
> 11.3 returns.
>
> This turns out to be one of those "POSIX allows for ..." cases, so
> here is the unified diff to add checking for EEXIST. (Against
> 1.11.10, but xoverutil.c has not changed.)
>
> Cheers,
> Gary B-)
Gary,
sorry for the very late reply, I've somehow managed to lose my list
filter in Thunderbird.
I have reviewed and committed your patch, which was spot on, to Git -
thanks a lot!
I have checked for further rmdir() that might need patching, but found none.
Thanks again.
Cheers,
Matthias
--
_______________________________________________
leafnode-list mailing list
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxx
https://krusty.dt.e-technik.tu-dortmund.de/mailman/listinfo/leafnode-list
http://leafnode.sourceforge.net/