Import libfetch-2.23:

Don't leak file descriptors when iterating local directories or checking
for if-modified-since on local files.
This commit is contained in:
joerg 2009-03-10 00:44:15 +00:00
parent 46fa0abcaf
commit 8a90f43fbf
11 changed files with 11 additions and 11 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: common.c,v 1.1.1.3 2009/02/14 19:36:51 joerg Exp $ */
/* $NetBSD: common.c,v 1.1.1.4 2009/03/10 00:44:15 joerg Exp $ */
/*-
* Copyright (c) 1998-2004 Dag-Erling Coïdan Smørgrav
* Copyright (c) 2008 Joerg Sonnenberger <joerg@NetBSD.org>

View File

@ -1,4 +1,4 @@
/* $NetBSD: common.h,v 1.1.1.2 2008/10/07 15:55:20 joerg Exp $ */
/* $NetBSD: common.h,v 1.1.1.3 2009/03/10 00:44:15 joerg Exp $ */
/*-
* Copyright (c) 1998-2004 Dag-Erling Coïdan Smørgrav
* All rights reserved.

View File

@ -1,5 +1,5 @@
#!/bin/sh
# $NetBSD: errlist.sh,v 1.1.1.2 2008/10/07 15:55:20 joerg Exp $
# $NetBSD: errlist.sh,v 1.1.1.3 2009/03/10 00:44:15 joerg Exp $
printf "static struct fetcherr $1[] = {\n"
while read code type msg; do

View File

@ -24,7 +24,7 @@
.\" SUCH DAMAGE.
.\"
.\" $FreeBSD: fetch.3,v 1.64 2007/12/18 11:03:26 des Exp $
.\" $NetBSD: fetch.3,v 1.1.1.4 2009/02/14 19:36:56 joerg Exp $
.\" $NetBSD: fetch.3,v 1.1.1.5 2009/03/10 00:44:17 joerg Exp $
.\"
.Dd February 4, 2009
.Dt FETCH 3

View File

@ -1,4 +1,4 @@
/* $NetBSD: fetch.c,v 1.1.1.5 2009/02/14 19:36:56 joerg Exp $ */
/* $NetBSD: fetch.c,v 1.1.1.6 2009/03/10 00:44:18 joerg Exp $ */
/*-
* Copyright (c) 1998-2004 Dag-Erling Coïdan Smørgrav
* Copyright (c) 2008 Joerg Sonnenberger <joerg@NetBSD.org>

View File

@ -1,4 +1,4 @@
/* $NetBSD: fetch.h,v 1.1.1.3 2009/02/14 19:36:58 joerg Exp $ */
/* $NetBSD: fetch.h,v 1.1.1.4 2009/03/10 00:44:20 joerg Exp $ */
/*-
* Copyright (c) 1998-2004 Dag-Erling Coïdan Smørgrav
* All rights reserved.

View File

@ -1,4 +1,4 @@
/* $NetBSD: file.c,v 1.1.1.3 2009/02/14 19:36:58 joerg Exp $ */
/* $NetBSD: file.c,v 1.1.1.4 2009/03/10 00:44:20 joerg Exp $ */
/*-
* Copyright (c) 1998-2004 Dag-Erling Coïdan Smørgrav
* Copyright (c) 2008, 2009 Joerg Sonnenberger <joerg@NetBSD.org>

View File

@ -1,4 +1,4 @@
/* $NetBSD: ftp.c,v 1.1.1.4 2009/02/14 19:37:00 joerg Exp $ */
/* $NetBSD: ftp.c,v 1.1.1.5 2009/03/10 00:44:21 joerg Exp $ */
/*-
* Copyright (c) 1998-2004 Dag-Erling Coïdan Smørgrav
* Copyright (c) 2008, 2009 Joerg Sonnenberger <joerg@NetBSD.org>

View File

@ -1,4 +1,4 @@
# $NetBSD: ftp.errors,v 1.1.1.2 2008/10/07 15:55:20 joerg Exp $
# $NetBSD: ftp.errors,v 1.1.1.3 2009/03/10 00:44:21 joerg Exp $
# $FreeBSD: ftp.errors,v 1.6 2002/10/30 06:06:16 des Exp $
#
# This list is taken from RFC 959.

View File

@ -1,4 +1,4 @@
/* $NetBSD: http.c,v 1.1.1.3 2009/02/14 19:37:02 joerg Exp $ */
/* $NetBSD: http.c,v 1.1.1.4 2009/03/10 00:44:23 joerg Exp $ */
/*-
* Copyright (c) 2000-2004 Dag-Erling Coïdan Smørgrav
* Copyright (c) 2003 Thomas Klausner <wiz@NetBSD.org>

View File

@ -1,5 +1,5 @@
# $FreeBSD: http.errors,v 1.5 2001/05/23 18:52:02 des Exp $
# $NetBSD: http.errors,v 1.1.1.3 2009/02/14 19:37:02 joerg Exp $
# $NetBSD: http.errors,v 1.1.1.4 2009/03/10 00:44:23 joerg Exp $
#
# This list is taken from RFC 2068.
#