diff options
author | joerg <joerg@pkgsrc.org> | 2009-06-07 17:59:50 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-06-07 17:59:50 +0000 |
commit | b0e238e4a02ece5bfe09b63a192690ffe253dd45 (patch) | |
tree | a23ff98960c1d44d72b440d58c9850ea57639304 /pkgtools/pbulk | |
parent | 67f5dc1de626b3806d24233e3deb51bf1eb46b7d (diff) | |
download | pkgsrc-b0e238e4a02ece5bfe09b63a192690ffe253dd45.tar.gz |
pbulk-0.38:
Skip lines starting with # in the limited list.
Diffstat (limited to 'pkgtools/pbulk')
-rw-r--r-- | pkgtools/pbulk/Makefile | 4 | ||||
-rw-r--r-- | pkgtools/pbulk/files/pbulk/pscan/pscan.c | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/pkgtools/pbulk/Makefile b/pkgtools/pbulk/Makefile index 1f70e3f9eae..96bf14e1275 100644 --- a/pkgtools/pbulk/Makefile +++ b/pkgtools/pbulk/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.51 2009/04/09 00:48:11 joerg Exp $ +# $NetBSD: Makefile,v 1.52 2009/06/07 17:59:50 joerg Exp $ -DISTNAME= pbulk-0.37 +DISTNAME= pbulk-0.38 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 111133ed1f1..a7d8726b788 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.5 2007/12/05 21:33:58 joerg Exp $ */ +/* $NetBSD: pscan.c,v 1.6 2009/06/07 17:59:50 joerg Exp $ */ /*- * Copyright (c) 2007 Joerg Sonnenberger <joerg@NetBSD.org>. @@ -185,6 +185,8 @@ read_limited_list(void) err(1, "Incomplete or too long input line"); if (location == eos) continue; + if (*location == '#') + continue; *eos = '\0'; add_job_full(location); } |