From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Date: Thu, 22 May 2008 13:59:28 +0600 From: Ildar Mulyukov To: devel@lists.altlinux.org In-Reply-To: <200805211314.36038.serpiph@nikiet.ru> (from serpiph@nikiet.ru on Wed May 21 15:14:35 2008) X-Mailer: Balsa 2.3.23 Message-Id: <1211443168.12412.13@ildar.innovations.kz> MIME-Version: 1.0 Content-Type: text/plain; charset=KOI8-R; DelSp=Yes; Format=Flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-Drweb-SpamState: no X-Drweb-SpamScore: -110 Subject: Re: [devel] =?utf-8?b?0LfQsNGH0LXQvCDQtdC80YMg0LzQvtC5IC9ldGMvcGFz?= =?utf-8?b?c3dkINC4ICRNQUlMID8=?= X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2008 07:59:50 -0000 Archived-At: List-Archive: List-Post: On 21.05.2008 15:14:35, Epiphanov Sergei wrote: > =F7 =D3=CF=CF=C2=DD=C5=CE=C9=C9 =CF=D4 Wednesday 21 May 2008 12:12:19 Ild= ar Mulyukov =20 > =CE=C1=D0=C9=D3=C1=CC(=C1): > > passwd - =DC=D4=CF =D4=D2=C5=D7=CF=D6=CE=D9=CA =DA=D7=CF=CE=CF=DE=C5=CB= . =EF=CE =DA=C1=D3=D4=C1=D7=CC=D1=C5=D4 =CD=C5=CE=D1 =C9=D3=CB=C1=D4=D8 =C9= =9A > > =D2=C1=DA=C2=C9=D2=C1=D4=D8=D3=D1. =E1 =D7=CF=D4 =CD=CF=CA $MAIL - =DC= =D4=CF =D5=D6=C5 =D3=C5=D2=D8=A3=DA=CE=C5=C5. =FE=D4=CF =CF=CE =CF=D6=C9=C4= =C1=C5=D4 =20 > =D4=C1=CD =9A > > =D5=D7=C9=C4=C5=D4=D8? >=20 > =F7 autoconf.info =C5=D3=D4=D8 =D4=C1=CB=C9=C5 =D3=D4=D2=CF=CB=C9: >=20 > ENV' `MAIL' `MAILPATH' `PS1' `PS2' `PS4' > These variables should not matter for shell scripts, since they are =20 > supposed to affect only interactive shells. However, at least one =20 > shell (the pre-3.0 UWIN `ksh') gets confused about whether it is =20 > interactive, which means that (for example) a `PS1' with a side =20 > effect can unexpectedly modify `$?'. To work around this bug, =20 > Autoconf-generated scripts do something like this: >=20 > (unset ENV) >/dev/null 2>&1 && unset ENV MAIL MAILPATH > PS1=3D'$ ' > PS2=3D'> ' > PS4=3D'+ ' >=20 > =F7 ChangeLog (autoconf_2.5-2.59) =DC=D4=C9 =D7=C5=DD=C9 =C4=C1=D4=C9=D2= =CF=D7=C1=CE=D9 =C1=D6 2002-09-01. >=20 > =F7 =C4=D7=D5=C8 =D3=CC=CF=D7=C1=C8: =D0=D2=CF=D7=C5=D2=CB=C1 =CB=CF=CD= =C1=CE=C4=CE=CF=C7=CF =C9=CE=D4=C5=D2=D0=D2=C5=D4=C1=D4=CF=D2=C1 =CE=C1 =D7= =DB=C9=D7=CF=D3=D4=D8. =F3=C5=D2=C7=C5=CA, =EE=D5, =CE=C5 =D3=CF=D7=D3=C5=CD =D4=C1=CB. =F7=D3=A3-=D4=C1=CB=C9, =D2=C1= =C2=CF=D4=C1 =D3 env $MAIL =CE=C5 =D4=D2=C5=C2=D5=C5=D4 =CF=C2=D2=C1=DD=C5= =CE=C9=D1 =CB =20 =D3=C1=CD=CF=CD=D5 =C6=C1=CA=CC=D5. =F1 =C5=DD=A3 =D2=C1=DA =C7=CC=D1=CE=D5= =CC =D7 strace - =D0=CF=C8=CF=D6=C5, =DC=D4=CF =D0=D2=CF=D3=D4=CF bash =20 =D0=D2=CF=D7=C5=D2=D1=C5=D4 =CE=C1=CC=C9=DE=C9=C5 =CE=CF=D7=CF=CA =D0=CF=DE= =D4=D9, =DE=D4=CF=C2=D9 =D3=CF=CF=C2=DD=C9=D4=D8 =CF=C2 =DC=D4=CF=CD =D0=CF= =CC=D8=DA=CF=D7=C1=D4=C5=CC=C0 (=F4=C1=CD =20 =C2=D9=CC=C9 =D4=CF=CC=D8=CB=CF stat64()). > =EE=C1=D3=DE=A3=D4 passwd. =F0=D2=C5=C4=D0=CF=CC=C1=C7=C1=C0, =DE=D4=CF = =D3=CB=D2=C9=D0=D4=D9 =C2=C5=D2=D5=C7 =D0=CF=CC=C5 GECOS =C9=DA =DC=D4=CF= =C7=CF =20 > =C6=C1=CA=CC=C1 (=C5=D3=CC=C9 > =D7=C5=D2=C9=D4=D8 autoconf.info). =F0=CF=C9=D3=CB: AC_CHECK_MEMBER =C9= =CC=C9 'struct =20 > passwd.gecos' =D7 > autoconf.info. =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD, =E9=CC=D8=C4=C1=D2 --=20 Ildar Mulyukov, free SW designer/programmer/packager =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D email: ildar@altlinux.ru Jabber: ildar@jabber.ru ICQ: 4334029 ALT Linux Sisyphus http://www.sisyphus.ru =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D