Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id 6755F705E2 for ; Tue, 11 Jun 2013 21:43:18 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id C34FC14A176; Tue, 11 Jun 2013 21:43:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 0F8D114A16C for ; Tue, 11 Jun 2013 21:43:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id ot_b05UusAhK for ; Tue, 11 Jun 2013 21:43:14 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 02E6A14A16F for ; Tue, 11 Jun 2013 21:43:13 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id DA4D196; Tue, 11 Jun 2013 21:43:13 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Tue, 11 Jun 2013 21:43:13 +0000 From: "Makoto Fujiwara" Subject: CVS commit: pkgsrc/shells/posh To: pkgsrc-changes@NetBSD.org Reply-To: mef@netbsd.org X-Mailer: log_accum Message-Id: <20130611214313.DA4D196@cvs.netbsd.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk Module Name: pkgsrc Committed By: mef Date: Tue Jun 11 21:43:13 UTC 2013 Modified Files: pkgsrc/shells/posh: distinfo Added Files: pkgsrc/shells/posh/patches: patch-main.c Log Message: Add patches/patch-main.c to fix segmentation fault just after invocation, at least on NetBSD/amd64 6.1, which is reported as PR pkg/47917. The problem was also reported by gcc (4.5.3) as: main.c: In function 'main': main.c:206:15: warning: assignment makes pointer from integer without a cast At following location: 203 char *simplified; .... 206 simplified = canonicalize_file_name(current_wd); To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 pkgsrc/shells/posh/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/shells/posh/patches/patch-main.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.