diff options
-rw-r--r-- | usr.sbin/sysinstall/index.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/sysinstall/index.c b/usr.sbin/sysinstall/index.c index fbd8851..b6d5c00 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) { |