pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pbulk Skip empty lines in the limited list. B...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ea5bb6589ec0
branches: trunk
changeset: 536197:ea5bb6589ec0
user: joerg <joerg%pkgsrc.org@localhost>
date: Wed Dec 05 21:33:58 2007 +0000
description:
Skip empty lines in the limited list. Bump to 1.16.
diffstat:
pkgtools/pbulk/Makefile | 4 ++--
pkgtools/pbulk/files/pbulk/pscan/pscan.c | 4 +++-
2 files changed, 5 insertions(+), 3 deletions(-)
diffs (30 lines):
diff -r 2714ffbf2414 -r ea5bb6589ec0 pkgtools/pbulk/Makefile
--- a/pkgtools/pbulk/Makefile Wed Dec 05 17:43:20 2007 +0000
+++ b/pkgtools/pbulk/Makefile Wed Dec 05 21:33:58 2007 +0000
@@ -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 -r 2714ffbf2414 -r ea5bb6589ec0 pkgtools/pbulk/files/pbulk/pscan/pscan.c
--- a/pkgtools/pbulk/files/pbulk/pscan/pscan.c Wed Dec 05 17:43:20 2007 +0000
+++ b/pkgtools/pbulk/files/pbulk/pscan/pscan.c Wed Dec 05 21:33:58 2007 +0000
@@ -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@localhost>.
@@ -183,6 +183,8 @@
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);
}
Home |
Main Index |
Thread Index |
Old Index