Bug#560789: pbuilder: output uses CAPITAL FONTS

Loïc Minier lool at dooz.org
Sun Dec 13 22:14:01 UTC 2009


On Sun, Dec 13, 2009, Loïc Minier wrote:
>          ioctl(0, TIOCGWINSZ, (char *)&win);
>          if (openpty(&master, &slave, NULL, &tt, &win) < 0)

 all the ioctls of this type fail in the strace log I got:
13708 ioctl(1, TIOCGWINSZ, 0x7fff86c8c790) = -1 EINVAL (Invalid
argument)
13708 ioctl(0, TIOCGWINSZ, 0x7fff86c8b6f0) = -1 ENOTTY (Inappropriate
ioctl for device)
13708 ioctl(0, TIOCGWINSZ, 0x7fff86c8b6f0) = -1 ENOTTY (Inappropriate
ioctl for device)

 but win is passed unconditionally and is never initialized; I suspect
 it's passing random terminal setup data.

-- 
Loïc Minier





More information about the Pbuilder-maint mailing list