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 | e892e17182743c3ea9649cb0efb53296539cf995 (patch) | |
tree | a23ff98960c1d44d72b440d58c9850ea57639304 /pkgtools/pbulk/files/pbulk | |
parent | f71d6b9db66327b98e3646f9169b785784fbd2cd (diff) | |
download | pkgsrc-e892e17182743c3ea9649cb0efb53296539cf995.tar.gz |
pbulk-0.38:
Skip lines starting with # in the limited list.
Diffstat (limited to 'pkgtools/pbulk/files/pbulk')
-rw-r--r-- | pkgtools/pbulk/files/pbulk/pscan/pscan.c | 4 |
1 files changed, 3 insertions, 1 deletions
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); } |