diff options
author | jkh <jkh@FreeBSD.org> | 1994-07-11 01:11:14 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1994-07-11 01:11:14 +0000 |
commit | cae4aac15c44f759dd6b6c877ede4cac060b4e77 (patch) | |
tree | 6d5d101fc2ec11926cf0455b39fa7e544fda2f87 /usr.sbin | |
parent | f9a6051213b00e70433b2b73687deb9703033f6a (diff) | |
download | FreeBSD-src-cae4aac15c44f759dd6b6c877ede4cac060b4e77.zip FreeBSD-src-cae4aac15c44f759dd6b6c877ede4cac060b4e77.tar.gz |
Argh! What a boneheaded bug! Finally fix the blank-line-in-packing list
problem! I am pond scum!
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 eb8dee8..a0a2fa5 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) { |