summaryrefslogtreecommitdiff
path: root/security/hpn-ssh/files/patch-misc.c
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2003-10-02 20:55:58 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2003-10-02 20:55:58 +0000
commit1cf501d6f87b43d3b20cdc1df1942dccff3796bd (patch)
tree888348323662d1fceb365259a7bc1b95e8e8d3f1 /security/hpn-ssh/files/patch-misc.c
parent. s:NO_CDROM:RESTRICTED: as neither the distfiles nor the packages should (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_9_0'.release/4.9.0
Notes
Notes: svn path=/head/; revision=90063 svn path=/tags/RELEASE_4_9_0/; revision=90064; tag=release/4.9.0
Diffstat (limited to 'security/hpn-ssh/files/patch-misc.c')
-rw-r--r--security/hpn-ssh/files/patch-misc.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/security/hpn-ssh/files/patch-misc.c b/security/hpn-ssh/files/patch-misc.c
deleted file mode 100644
index b40e6d62ba4c..000000000000
--- a/security/hpn-ssh/files/patch-misc.c
+++ /dev/null
@@ -1,28 +0,0 @@
---- misc.c Mon Dec 23 02:44:36 2002
-+++ misc.c Wed Sep 17 00:50:27 2003
-@@ -308,18 +308,21 @@ addargs(arglist *args, char *fmt, ...)
- {
- va_list ap;
- char buf[1024];
-+ int nalloc;
-
- va_start(ap, fmt);
- vsnprintf(buf, sizeof(buf), fmt, ap);
- va_end(ap);
-
-+ nalloc = args->nalloc;
- if (args->list == NULL) {
-- args->nalloc = 32;
-+ nalloc = 32;
- args->num = 0;
-- } else if (args->num+2 >= args->nalloc)
-- args->nalloc *= 2;
-+ } else if (args->num+2 >= nalloc)
-+ nalloc *= 2;
-
-- args->list = xrealloc(args->list, args->nalloc * sizeof(char *));
-+ args->list = xrealloc(args->list, nalloc * sizeof(char *));
-+ args->nalloc = nalloc;
- args->list[args->num++] = xstrdup(buf);
- args->list[args->num] = NULL;
- }