summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-12-05 21:33:58 +0000
committerjoerg <joerg@pkgsrc.org>2007-12-05 21:33:58 +0000
commit88572b8312eedcb4383c07bb616589055f63e13b (patch)
treea208797a0bd63bf7b3f470d89cba019da25404d8 /pkgtools
parent82cb65d2619dfc9c163421242fd241aca65ea7aa (diff)
downloadpkgsrc-88572b8312eedcb4383c07bb616589055f63e13b.tar.gz
Skip empty lines in the limited list. Bump to 1.16.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pbulk/Makefile4
-rw-r--r--pkgtools/pbulk/files/pbulk/pscan/pscan.c4
2 files changed, 5 insertions, 3 deletions
diff --git a/pkgtools/pbulk/Makefile b/pkgtools/pbulk/Makefile
index 8df06ec2de3..ec2a7d42b03 100644
--- a/pkgtools/pbulk/Makefile
+++ b/pkgtools/pbulk/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.21 2007/11/08 19:39:42 joerg Exp $
+# $NetBSD: Makefile,v 1.22 2007/12/05 21:33:58 joerg Exp $
-DISTNAME= pbulk-0.15
+DISTNAME= pbulk-0.16
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
diff --git a/pkgtools/pbulk/files/pbulk/pscan/pscan.c b/pkgtools/pbulk/files/pbulk/pscan/pscan.c
index f724a472408..111133ed1f1 100644
--- a/pkgtools/pbulk/files/pbulk/pscan/pscan.c
+++ b/pkgtools/pbulk/files/pbulk/pscan/pscan.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pscan.c,v 1.4 2007/07/21 15:12:06 tnn Exp $ */
+/* $NetBSD: pscan.c,v 1.5 2007/12/05 21:33:58 joerg Exp $ */
/*-
* Copyright (c) 2007 Joerg Sonnenberger <joerg@NetBSD.org>.
@@ -183,6 +183,8 @@ read_limited_list(void)
eos = strchr(location, '\n');
if (eos == NULL)
err(1, "Incomplete or too long input line");
+ if (location == eos)
+ continue;
*eos = '\0';
add_job_full(location);
}