mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 17:32:43 +00:00
YAMF22
This commit is contained in:
parent
f35381a000
commit
aa733cd0c5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24645
@ -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