This commit is contained in:
Jordan K. Hubbard 1997-04-05 07:08:14 +00:00
parent f35381a000
commit aa733cd0c5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24645
2 changed files with 10 additions and 6 deletions

View File

@ -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;
}

View File

@ -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;
}