YAMF22
This commit is contained in:
parent
f35381a000
commit
aa733cd0c5
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user