Package: posh
Version: 12.0
Severity: normal
Tags: patch

Dear Maintainer,
*** Please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these lines ***


-- System Information:
Sorry for using reportbug on Ubuntu, the platform is unrelatd to this 
report. It is on NetBSD/amd64 (x86_64) 6.1 with pkgsrc shells/posh packaging.

posh-12.0 will segfaults on 64bit system, I believe.

The information is also found at
at http://gnats.netbsd.org/47917

The patch is here:
------
$NetBSD: patch-main.c,v 1.1 2013/06/11 21:43:13 mef Exp $

Avoid getting following warning, 
  main.c: In function 'main':
  main.c:206:15: warning: assignment makes pointer from integer without a cast
and segmentation faulting just after invocation on NetBSD/amd64 6.1.

--- main.c.orig 2004-06-09 00:51:50.000000000 +0900
+++ main.c      2013-06-12 00:40:13.000000000 +0900
@@ -7,6 +7,7 @@
 #include "sh.h"
 #include "ksh_stat.h"
 #include "ksh_time.h"
+#include "src/compat.h"
 
 extern char **environ;
 


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to