pbulk-0.38:

Skip lines starting with # in the limited list.
This commit is contained in:
joerg 2009-06-07 17:59:50 +00:00
parent bc71035a5c
commit 4d5c60b865
2 changed files with 5 additions and 3 deletions

View file

@ -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

View file

@ -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);
}