[devel] packages/zsh: tags/4.3.6-alt2.1

Valery V. Inozemtsev =?iso-8859-1?q?shrek_=CE=C1_altlinux=2Eru?=
Пт Дек 12 23:52:16 MSK 2008


On Friday 12 December 2008 23:50:43 Alexey Tourbin wrote:
> On Fri, Dec 12, 2008 at 10:54:06PM +0300, Valery Inozemtsev wrote:
> > Changelog since `4.3.6-alt2' follows:
> > commit e3cff2c99425c53076a99ebea0bbc44ba1446168
> > Author: Valery Inozemtsev <shrek at altlinux>
> > Date:   Fri Dec 12 22:45:34 2008 +0300
> >
> >     1:4.3.6-alt2.1
> >
> >     - NMU: fixed build with glibc-2.9
> >
> > commit 461a7819935cea3690755ca3f4ab21aed22fb967
> > Author: Valery Inozemtsev <shrek at altlinux>
> > Date:   Fri Dec 12 21:02:39 2008 +0300
> >
> >     zpty: backport from 4.3.9
>
> Не годится.

ну так перепиши

>
> > -		const char *name = ptsname(master);
> > -		if (!name)
> > -			exit(1);
> > -		slave = open(name, O_RDWR|O_NOCTTY);
> > -		if (slave < 0)
> > -			exit(1);
> > -		if (isastream(slave))
> > -		{
> > -			if (ioctl(slave, I_PUSH, "ptem") < 0
> > -			|| ioctl(slave, I_PUSH, "ldterm") < 0)
> > -				exit(1);
> > -		}
>
> Этот код ранее написал я, на основе примера из 'info libc'.



-- 
Valery V. Inozemtsev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.altlinux.org/pipermail/devel/attachments/20081212/45ea19c3/attachment.bin>


Подробная информация о списке рассылки Devel