NetBSD Problem Report #49761

From www@NetBSD.org  Thu Mar 19 21:45:54 2015
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id C8A58A5B2E
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 19 Mar 2015 21:45:53 +0000 (UTC)
Message-Id: <20150319214552.81892A6567@mollari.NetBSD.org>
Date: Thu, 19 Mar 2015 21:45:52 +0000 (UTC)
From: n54@gmx.com
Reply-To: n54@gmx.com
To: gnats-bugs@NetBSD.org
Subject: typo in cwrappers
X-Send-Pr-Version: www-1.0

>Number:         49761
>Category:       pkg
>Synopsis:       typo in cwrappers
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bsiegert
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 19 21:50:01 +0000 2015
>Closed-Date:    Sun Jan 10 19:13:30 +0000 2016
>Last-Modified:  Sun Jan 10 19:15:01 +0000 2016
>Originator:     Kamil Rytarowski
>Release:        current
>Organization:
>Environment:
NetBSD compaq 7.99.1 NetBSD 7.99.1 (GENERIC) #0: Fri Nov  7 22:04:53 CET 2014  kamil@chieftec:/tmp/netbsd-tmp/sys/arch/amd64/compile/GENERIC amd64
>Description:
Likely typo in a string comparison.
>How-To-Repeat:
N/A
>Fix:
Index: cleanup-cc.c
===================================================================
RCS file: /cvsroot/pkgsrc/pkgtools/cwrappers/files/bin/cleanup-cc.c,v
retrieving revision 1.1
diff -r1.1 cleanup-cc.c
67c67
< 		    strncmp(arg->val, "-Wl,-rpath-link,", 15) == 0) {
---
> 		    strncmp(arg->val, "-Wl,-rpath-link,", 16) == 0) {

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->joerg
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Thu, 19 Mar 2015 21:59:52 +0000
Responsible-Changed-Why:
Over to maintainer


Responsible-Changed-From-To: joerg->bsiegert
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Sun, 10 Jan 2016 19:13:30 +0000
Responsible-Changed-Why:


State-Changed-From-To: open->closed
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Sun, 10 Jan 2016 19:13:30 +0000
State-Changed-Why:
Committed, thanks!


From: "Benny Siegert" <bsiegert@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/49761 CVS commit: pkgsrc/pkgtools/cwrappers
Date: Sun, 10 Jan 2016 19:13:06 +0000

 Module Name:	pkgsrc
 Committed By:	bsiegert
 Date:		Sun Jan 10 19:13:06 UTC 2016

 Modified Files:
 	pkgsrc/pkgtools/cwrappers: Makefile
 	pkgsrc/pkgtools/cwrappers/files/bin: cleanup-cc.c

 Log Message:
 Fix wrong character count in strncmp. From Kamil Rytarowski in
 PR pkg/49761.


 To generate a diff of this commit:
 cvs rdiff -u -r1.13 -r1.14 pkgsrc/pkgtools/cwrappers/Makefile
 cvs rdiff -u -r1.2 -r1.3 pkgsrc/pkgtools/cwrappers/files/bin/cleanup-cc.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.