diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1994-07-11 01:11:14 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1994-07-11 01:11:14 +0000 |
commit | 21e91f6209f4be0a3636762231f9510b725da958 (patch) | |
tree | 6d5d101fc2ec11926cf0455b39fa7e544fda2f87 /usr.sbin | |
parent | c16bf37e86329dad434477c2ebfdf4d9ceff2d18 (diff) | |
download | src-21e91f6209f4be0a3636762231f9510b725da958.tar.gz src-21e91f6209f4be0a3636762231f9510b725da958.zip |
Argh! What a boneheaded bug! Finally fix the blank-line-in-packing list
problem! I am pond scum!
Notes
Notes:
svn path=/head/; revision=1793
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/pkg_install/lib/plist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_install/lib/plist.c b/usr.sbin/pkg_install/lib/plist.c index eb8dee850fcf..a0a2fa5fe05f 100644 --- a/usr.sbin/pkg_install/lib/plist.c +++ b/usr.sbin/pkg_install/lib/plist.c @@ -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) { |