From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sat, 8 Nov 2008 17:52:20 +0300 From: Alexey Tourbin To: ALT Devel discussion list Message-ID: <20081108145220.GA8826@altlinux.org> Mail-Followup-To: ALT Devel discussion list References: <20081106161331.GU9550@altlinux.org> <20081108142947.GA30698@wo.int.altlinux.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oyUTqETQ0mS9luUI" Content-Disposition: inline In-Reply-To: <20081108142947.GA30698@wo.int.altlinux.org> Subject: Re: [devel] 0ldconfig.filetrigger (packages/rpm: heads/altlinux-4.1) 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: Sat, 08 Nov 2008 14:52:20 -0000 Archived-At: List-Archive: List-Post: --oyUTqETQ0mS9luUI Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Nov 08, 2008 at 05:29:47PM +0300, Dmitry V. Levin wrote: > On Thu, Nov 06, 2008 at 07:13:31PM +0300, Alexey M. Tourbin wrote: > > --- a/scripts/0ldconfig.filetrigger > > +++ b/scripts/0ldconfig.filetrigger > [...] > > + # 0) Short circuit condition: if a library is already found, > > + # skip the remaining list of non-system libraries. Note that > > + # the input file list is sorted, and "/lic" collates after > > + # "/lib" and "/lib64". > > + if [ -n "$lib" ] && LC_ALL=3DC [ "$f" '>' "/lic" ]; then >=20 > =F4=CF=C7=C4=C1 =CC=D5=DE=DB=C5 =CE=C1=D0=C9=D3=C1=D4=D8 =C2=C5=DA =CF=C2= =C9=CE=D1=CB=CF=D7: [ "$f" '>' "/lib64" ] =EE=C5 =D3=CF=D7=D3=C5=CD. =EE=D5=D6=CE=CF =CF=C2=D2=D5=C2=C1=D4=D8 =C3=C9= =CB=CC =D4=CF=CC=D8=CB=CF =D4=CF=C7=C4=C1, =CB=CF=C7=C4=C1 =D7=D3=C5 =C6=C1= =CA=CC=D9 "/lib64/*" =D5=D6=C5 =D0=D2=CF=CA=C4=C5=CE=D9. =E1 =D4=C1=CB =CC=C0=C2=CF= =CA =C6=C1=CA=CC "/lib64/*" =C2=D5=C4=C5=D4 =C2=CF=CC=D8=DB=C5 "/lib64", =C1 =D7=C5=C4=D8 =C6=CC=C1=C7 sys=3D1 =C5=DD=A3 =CE=C5 =D7=D9=D3= =D4=C1=D7=CC=C5=CE. =F4=CF =C5=D3=D4=D8 =D4=CF, =DE=D4=CF =D4=D9 =D0=D2=C5=C4=CC=C1=C7=C1=C5=DB=D8, -- =CE=C5=D7=C5=D2=CE=CF. =EE=CF =C9=C4= =C5=D1 =D0=CF=CE=D1=D4=CE=C1: =D5=D3=CC=CF=D7=C9=C5 =CF=CB=CF=CE=DE=C1=CE= =C9=C5 =C3=C9=CB=CC=C1 =CD=CF=D6=CE=CF =D7=D9=D2=C1=DA=C9=D4=D8 =C5=DD=A3 =CE=C5=CD=CE=CF=C7=CF = =C2=CF=CC=C5=C5 =D4=CF=DE=CE=CF. =E5=D3=CC=C9 =D7=CF =D7=D3=C5=C8 =CC=CF= =CB=C1=CC=D1=C8 "/lib64" > "/lib/" (=C3=C9=C6=D2=C1 =C2=CF=CC=D8=DB=C5 =D3=CC=C5=DB=C1), = =D4=CF =D7 =D0=D2=C9=CE=C3=C9=D0=C5 =CD=CF=D6=CE=CF =D3=D2=C1=D7=CE=C9=D7= =C1=D4=D8 =D3 "/lib7". =F4=D5=D4 =C5=D3=D4=D8 =C5=DD=A3 =CF=C4=CE=C1 =D4=CF=CE=CB=CF=D3=D4=D8, =CE= =C1 =CB=CF=D4=CF=D2=D5=C0 =D1 =CF=C2=D2=C1=D4=CC =D7=CE=C9=CD=C1=CE=C9=C5: = =D7 bash(1) =D3=CB=C1=DA=C1=CE=CF string1 > string2 True if string1 sorts after string2 lexicographically in the = current locale. =EE=CF =CE=C1 =D3=C1=CD=CF=CD =C4=C5=CC=C5 =D7 bash/test.c:binary_test() = =C9=D3=D0=CF=CC=D8=DA=D5=C5=D4=D3=D1 strcmp: 379 else if ((op[0] =3D=3D '>' || op[0] =3D=3D '<') && op[1] =3D=3D '= \0') 380 return ((op[0] =3D=3D '>') ? (strcmp (arg1, arg2) > 0) : (strcm= p (arg1, arg2) < 0)); =D4=CF =C5=D3=D4=D8, =D7=CF=D0=D2=C5=CB=C9 =C4=CF=CB=D5=CD=C5=CE=D4=C1=C3= =C9=C9, =CC=CF=CB=C1=CC=D8 =CE=C5 =C9=D3=D0=CF=CC=D8=DA=D5=C5=D4=D3=D1. =E1 =D7 ash(1) =C4=D2=D5=C7=C1=D1 =C6=CF=D2=CD=D5=CC=C9=D2=CF=D7=CB=C1, =CB= =CF=D4=CF=D2=C1=D1 =D7=D2=CF=C4=C5 =C2=D9 =D0=CF=C4=D2=C1=DA=D5=CD=C5=D7=C1= =C5=D4 strcmp: s1 > s2 True if string s1 comes after s2 based on the ASC= II value of their characters. =F7 =CF=C2=DD=C5=CD, =D7=D3=A3 =DC=D4=CF =DA=C1=D3=D4=C1=D7=C9=CC=CF =CD=C5= =CE=D1 =D0=D2=C9=C4=D5=CD=C1=D4=D8 =D7=CF=D4 =D4=C1=CB=D5=C0 =D3=D4=D2=C1= =CE=CE=D5=C0, =CE=CF =D7=D2=CF=C4=C5 =C2=D9 =CE=C1=C9=C2=CF=CC=C5=C5 =C2=C5=DA=CF=D0=C1= =D3=CE=D5=C0 =CB=CF=CE=D3=D4=D2=D5=CB=C3=C9=C0. --oyUTqETQ0mS9luUI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkkVp6QACgkQfBKgtDjnu0Y9fgCgywHsPGmsMJVEocScy1Lru5s+ WiYAoJps4saDpncm+GqJ+iaXM7L6Y+e5 =2IPD -----END PGP SIGNATURE----- --oyUTqETQ0mS9luUI--