diff options
| author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1997-04-05 07:08:14 +0000 |
|---|---|---|
| committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1997-04-05 07:08:14 +0000 |
| commit | aa733cd0c55c42746cd00f3bfc662765117771a8 (patch) | |
| tree | 39acb70257e22255889c61749cdfb5bdbeed981b /release | |
| parent | f35381a000929872ce7932b4fd9293309419067a (diff) | |
Notes
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 5e426fbabace..42dee8c8dd66 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.38.2.7 1997/03/27 00:41:00 jkh Exp $ + * $Id: index.c,v 1.48 1997/03/29 06:44:46 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -235,8 +235,10 @@ index_parse(FILE *fp, char *name, char *pathto, char *prefix, char *comment, cha cp += copy_to_sep(maint, cp, '|'); cp += copy_to_sep(cats, 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 */ + if (index(cp, '|')) + copy_to_sep(rdeps, cp, '|'); + else + strncpy(rdeps, cp, 510); return 0; } |
