diff options
author | bsiegert <bsiegert@pkgsrc.org> | 2016-01-10 19:13:05 +0000 |
---|---|---|
committer | bsiegert <bsiegert@pkgsrc.org> | 2016-01-10 19:13:05 +0000 |
commit | 733872af395cb4ab52688f3e58320c97ed9b360e (patch) | |
tree | 1122a7649e7981af1b930addbe8b321f3e6386b9 /pkgtools | |
parent | b65ce5efdc82604bd61ae79314728ef84b8b97f8 (diff) | |
download | pkgsrc-733872af395cb4ab52688f3e58320c97ed9b360e.tar.gz |
Fix wrong character count in strncmp. From Kamil Rytarowski in
PR pkg/49761.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/cwrappers/Makefile | 4 | ||||
-rw-r--r-- | pkgtools/cwrappers/files/bin/cleanup-cc.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgtools/cwrappers/Makefile b/pkgtools/cwrappers/Makefile index 07a047083d3..517d482c58b 100644 --- a/pkgtools/cwrappers/Makefile +++ b/pkgtools/cwrappers/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.13 2015/07/07 15:00:25 jperkin Exp $ +# $NetBSD: Makefile,v 1.14 2016/01/10 19:13:05 bsiegert Exp $ -PKGNAME= cwrappers-20150707 +PKGNAME= cwrappers-20160110 CATEGORIES= pkgtools sysutils MAINTAINER= joerg@NetBSD.org diff --git a/pkgtools/cwrappers/files/bin/cleanup-cc.c b/pkgtools/cwrappers/files/bin/cleanup-cc.c index 65e2417df3e..282ad8e831c 100644 --- a/pkgtools/cwrappers/files/bin/cleanup-cc.c +++ b/pkgtools/cwrappers/files/bin/cleanup-cc.c @@ -1,4 +1,4 @@ -/* $NetBSD: cleanup-cc.c,v 1.2 2015/04/19 14:30:07 jperkin Exp $ */ +/* $NetBSD: cleanup-cc.c,v 1.3 2016/01/10 19:13:05 bsiegert Exp $ */ /*- * Copyright (c) 2009 Joerg Sonnenberger <joerg@NetBSD.org>. @@ -65,7 +65,7 @@ cleanup_cc(struct arglist *args) if (strncmp(arg->val, "-I", 2) == 0 || strncmp(arg->val, "-L", 2) == 0 || strncmp(arg->val, "-Wl,-rpath,", 11) == 0 || - strncmp(arg->val, "-Wl,-rpath-link,", 15) == 0) { + strncmp(arg->val, "-Wl,-rpath-link,", 16) == 0) { i = wrapper_hash(arg->val) & (CLEANUP_HASH - 1); TAILQ_FOREACH(arg3, hashtab + i, tmp_link) { if (strcmp(arg->val, arg3->val) == 0) { |