2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

415. [bug] The logging code leaked file descriptors.

This commit is contained in:
Brian Wellington
2000-08-31 20:58:15 +00:00
parent a69cebac84
commit 4b809ba346
2 changed files with 5 additions and 1 deletions

View File

@@ -1,3 +1,6 @@
415. [bug] The logging code leaked file descriptors.
414. [bug] Server did not shut down until all incoming zone
transfers were finished.

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: log.c,v 1.45 2000/08/26 01:23:11 bwelling Exp $ */
/* $Id: log.c,v 1.46 2000/08/31 20:58:14 bwelling Exp $ */
/* Principal Authors: DCL */
@@ -1068,6 +1068,7 @@ greatest_version(isc_logchannel_t *channel) {
greatest = version;
}
}
isc_dir_close(&dir);
if (basename != FILE_NAME(channel))
*--basename = '/';