pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_install/files/lib Pull over v1.77 from sr...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ac934d71afa8
branches: trunk
changeset: 510782:ac934d71afa8
user: wiz <wiz%pkgsrc.org@localhost>
date: Tue Apr 04 06:31:22 2006 +0000
description:
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:
pkgtools/pkg_install/files/lib/file.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 8f522fca3545 -r ac934d71afa8 pkgtools/pkg_install/files/lib/file.c
--- a/pkgtools/pkg_install/files/lib/file.c Tue Apr 04 06:30:10 2006 +0000
+++ b/pkgtools/pkg_install/files/lib/file.c Tue Apr 04 06:31:22 2006 +0000
@@ -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 @@
{
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) {
Home |
Main Index |
Thread Index |
Old Index