aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/sysinstall/index.c
diff options
context:
space:
mode:
authorDima Dorfman <dd@FreeBSD.org>2001-06-22 21:47:55 +0000
committerDima Dorfman <dd@FreeBSD.org>2001-06-22 21:47:55 +0000
commit3676cbfbf4a2d1caabf74b2cc92082b296d1a091 (patch)
tree4d44d4a84528a88a2b47246e59d083b27253a22f /usr.sbin/sysinstall/index.c
parentb0b7095861f8b511663bb129ad42366dff929fcf (diff)
downloadsrc-3676cbfbf4a2d1caabf74b2cc92082b296d1a091.tar.gz
src-3676cbfbf4a2d1caabf74b2cc92082b296d1a091.zip
Notes
Diffstat (limited to 'usr.sbin/sysinstall/index.c')
-rw-r--r--usr.sbin/sysinstall/index.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/sysinstall/index.c b/usr.sbin/sysinstall/index.c
index fbd88516dc84..b6d5c00f7538 100644
--- a/usr.sbin/sysinstall/index.c
+++ b/usr.sbin/sysinstall/index.c
@@ -272,8 +272,8 @@ readline(FILE *fp, char *buf, int max)
int
index_parse(FILE *fp, char *name, char *pathto, char *prefix, char *comment, char *descr, char *maint, char *cats, char *rdeps)
{
- char line[2048];
- char junk[511];
+ char line[10240];
+ char junk[2048];
char *cp;
int i;
@@ -299,7 +299,7 @@ index_parse(FILE *fp, char *name, char *pathto, char *prefix, char *comment, cha
int
index_read(FILE *fp, PkgNodePtr papa)
{
- char name[127], pathto[255], prefix[255], comment[255], descr[127], maint[127], cats[511], deps[1024];
+ char name[127], pathto[255], prefix[255], comment[255], descr[127], maint[127], cats[511], deps[2048];
PkgNodePtr i;
while (index_parse(fp, name, pathto, prefix, comment, descr, maint, cats, deps) != EOF) {