Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-6]: src/usr.sbin/pkg_install/lib Pull up revision 1.46 (request...
details: https://anonhg.NetBSD.org/src/rev/bf8cdf7c53b2
branches: netbsd-1-6
changeset: 529532:bf8cdf7c53b2
user: tron <tron%NetBSD.org@localhost>
date: Sun Nov 24 22:35:41 2002 +0000
description:
Pull up revision 1.46 (requested by jschauma in ticket #1011):
use size of the right buffer
diffstat:
usr.sbin/pkg_install/lib/ftpio.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (23 lines):
diff -r 9e716256cb36 -r bf8cdf7c53b2 usr.sbin/pkg_install/lib/ftpio.c
--- a/usr.sbin/pkg_install/lib/ftpio.c Sun Nov 24 22:35:25 2002 +0000
+++ b/usr.sbin/pkg_install/lib/ftpio.c Sun Nov 24 22:35:41 2002 +0000
@@ -1,8 +1,8 @@
-/* $NetBSD: ftpio.c,v 1.35.2.8 2002/11/24 22:35:25 tron Exp $ */
+/* $NetBSD: ftpio.c,v 1.35.2.9 2002/11/24 22:35:41 tron Exp $ */
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: ftpio.c,v 1.35.2.8 2002/11/24 22:35:25 tron Exp $");
+__RCSID("$NetBSD: ftpio.c,v 1.35.2.9 2002/11/24 22:35:41 tron Exp $");
#endif
/*
@@ -587,7 +587,7 @@
matches=0;
/* The following loop is basically the same as the readdir() loop
* in findmatchingname() */
- while (fgets(filename, sizeof(buf), f)) {
+ while (fgets(filename, sizeof(filename), f)) {
/*
* We need to stripp of any .t[bg]z etc.
Home |
Main Index |
Thread Index |
Old Index