Package: posh
Version: 0.12
Severity: normal

When running a command that traps SIGINT, posh doesn't ignore SIGINT.
It should implement WCE (like bash and ksh93), as described on:

  http://www.cons.org/cracauer/sigint.html

To reproduce the bug:

  posh -c "gdb; echo OK"

and type Ctrl-C (trapped by gdb), then Ctrl-D to quit gdb. "OK" is not
output and "echo $?" outputs 130 instead of 0.

With this bug, posh shouldn't be a /bin/sh candidate, as this bug can
yield spurious command failure when executed with system().

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'oldstable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.8-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages posh depends on:
ii  debconf [debconf-2.0]  1.5.50
ii  libc6                  2.17-3

posh recommends no packages.

posh suggests no packages.

-- debconf information:
  posh/sh: false


-- 
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