Package: qemubuilder
Version: 0.39
Severity: normal

Hi,

The latest (git) version of qemubuilder does not reset the terminal
properly despite the call to fix_terminal().

It leaves the terminal in bad need of a 'stty echo'.

My guess is that the close(0) which happens in:


  if ((child=fork()))
    {
      /* this is parent process */

      close(sp[1]);
      close(0);
      
      FD_ZERO(&readfds);

makes the call to fix_terminal useless, because the fd 0 is now
closed. Indeed, removing close(0) fixes the bug. However, I'm not sure
if it's the right thing to do (I'm not sure why close(0) is there in the
first place either. It does not seem to be a problem to keep it open.)

Kind regards,
JB

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22.1 (PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages qemubuilder depends on:
ii  libc6                         2.6.1-1+b1 GNU C Library: Shared libraries
ii  pbuilder                      0.171      personal package builder for Debia
ii  qemu                          0.9.0-2    fast processor emulator

qemubuilder recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to