pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pbulk pbulk-0.38:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8ce9b0dc757b
branches:  trunk
changeset: 394251:8ce9b0dc757b
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Jun 07 17:59:50 2009 +0000

description:
pbulk-0.38:
Skip lines starting with # in the limited list.

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 2080c1ca72a6 -r 8ce9b0dc757b pkgtools/pbulk/Makefile
--- a/pkgtools/pbulk/Makefile   Sun Jun 07 14:48:19 2009 +0000
+++ b/pkgtools/pbulk/Makefile   Sun Jun 07 17:59:50 2009 +0000
@@ -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 -r 2080c1ca72a6 -r 8ce9b0dc757b pkgtools/pbulk/files/pbulk/pscan/pscan.c
--- a/pkgtools/pbulk/files/pbulk/pscan/pscan.c  Sun Jun 07 14:48:19 2009 +0000
+++ b/pkgtools/pbulk/files/pbulk/pscan/pscan.c  Sun Jun 07 17:59:50 2009 +0000
@@ -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@localhost>.
@@ -185,6 +185,8 @@
                        err(1, "Incomplete or too long input line");
                if (location == eos)
                        continue;
+               if (*location == '#')
+                       continue;
                *eos = '\0';
                add_job_full(location);
        }



Home | Main Index | Thread Index | Old Index