diff options
author | jkh <jkh@FreeBSD.org> | 1997-03-29 06:44:57 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1997-03-29 06:44:57 +0000 |
commit | 4035aab1d32bf594e1058fc43b8eb200d5419fc2 (patch) | |
tree | 3bf392224c5d663cb46d4bd25845fc8775e48bbe /release | |
parent | 423123bb4c624b9fbf14f1f0b407ce17a10a8bd1 (diff) | |
download | FreeBSD-src-4035aab1d32bf594e1058fc43b8eb200d5419fc2.zip FreeBSD-src-4035aab1d32bf594e1058fc43b8eb200d5419fc2.tar.gz |
Catch this puppy up to RELENG_2_2
Diffstat (limited to 'release')
-rw-r--r-- | release/sysinstall/index.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/release/sysinstall/index.c b/release/sysinstall/index.c index e385407..5e426fb 100644 --- a/release/sysinstall/index.c +++ b/release/sysinstall/index.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: index.c,v 1.46 1997/03/25 03:07:33 jkh Exp $ + * $Id: index.c,v 1.38.2.7 1997/03/27 00:41:00 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -216,9 +216,10 @@ 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 *deps) +index_parse(FILE *fp, char *name, char *pathto, char *prefix, char *comment, char *descr, char *maint, char *cats, char *rdeps) { char line[1024]; + char junk[256]; char *cp; int i; @@ -233,7 +234,8 @@ index_parse(FILE *fp, char *name, char *pathto, char *prefix, char *comment, cha cp += copy_to_sep(descr, cp, '|'); cp += copy_to_sep(maint, cp, '|'); cp += copy_to_sep(cats, cp, '|'); - (void)copy_to_sep(deps, cp, '|'); + cp += copy_to_sep(junk, cp, '|'); /* build deps - not used */ + (void)copy_to_sep(rdeps, cp, '|'); /* We're not actually interested in any of the other fields */ return 0; } |