mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-17 16:10:46 +01:00
Argh! What a boneheaded bug! Finally fix the blank-line-in-packing list
problem! I am pond scum!
This commit is contained in:
parent
c16bf37e86
commit
21e91f6209
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=1793
@ -1,5 +1,5 @@
|
||||
#ifndef lint
|
||||
static const char *rcsid = "$Id: plist.c,v 1.5 1993/09/18 03:39:50 jkh Exp $";
|
||||
static const char *rcsid = "$Id: plist.c,v 1.6 1994/05/25 06:27:24 jkh Exp $";
|
||||
#endif
|
||||
|
||||
/*
|
||||
@ -214,7 +214,7 @@ read_plist(Package *pkg, FILE *fp)
|
||||
|
||||
while (isspace(pline[len]))
|
||||
pline[len--] = '\0';
|
||||
if (!len)
|
||||
if (len <= 0)
|
||||
continue;
|
||||
cp = pline;
|
||||
if (pline[0] == CMD_CHAR) {
|
||||
|
Loading…
Reference in New Issue
Block a user