summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install
diff options
context:
space:
mode:
authorwiz <wiz>2006-04-04 06:31:22 +0000
committerwiz <wiz>2006-04-04 06:31:22 +0000
commit50e9e247783b4e68f64e80fe3e41ba0705aedbd4 (patch)
treeddadc4f8e196fbefde69053af72b80b7b3028eef /pkgtools/pkg_install
parentfbadd1c8035b03fb08b03eda4c15b08b158916d8 (diff)
downloadpkgsrc-50e9e247783b4e68f64e80fe3e41ba0705aedbd4.tar.gz
Pull over v1.77 from src/usr.sbin:
revision 1.77 date: 2006/03/26 18:11:22; author: christos; state: Exp; lines: +3 -3 PR/33123: Murray Armfield: standards compliance & glob.h Certain fields in glob.h need to be size_t; fix this and version glob(3). http://www.opengroup.org/onlinepubs/000095399/basedefs/glob.h.html
Diffstat (limited to 'pkgtools/pkg_install')
-rw-r--r--pkgtools/pkg_install/files/lib/file.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/pkg_install/files/lib/file.c b/pkgtools/pkg_install/files/lib/file.c
index 75d548de95a..75e9e3fb010 100644
--- a/pkgtools/pkg_install/files/lib/file.c
+++ b/pkgtools/pkg_install/files/lib/file.c
@@ -1,4 +1,4 @@
-/* $NetBSD: file.c,v 1.17 2005/12/06 01:08:09 ben Exp $ */
+/* $NetBSD: file.c,v 1.18 2006/04/04 06:31:22 wiz Exp $ */
#if HAVE_CONFIG_H
#include "config.h"
@@ -17,7 +17,7 @@
#if 0
static const char *rcsid = "from FreeBSD Id: file.c,v 1.29 1997/10/08 07:47:54 charnier Exp";
#else
-__RCSID("$NetBSD: file.c,v 1.17 2005/12/06 01:08:09 ben Exp $");
+__RCSID("$NetBSD: file.c,v 1.18 2006/04/04 06:31:22 wiz Exp $");
#endif
#endif
@@ -553,7 +553,7 @@ move_files(const char *dir, const char *pattern, const char *to)
{
char fpath[MaxPathSize];
glob_t globbed;
- int i;
+ size_t i;
(void) snprintf(fpath, sizeof(fpath), "%s/%s", dir, pattern);
if ((i=glob(fpath, GLOB_NOSORT, NULL, &globbed)) != 0) {