From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 20 Nov 2007 14:18:01 +0300 From: Alexey Tourbin To: ALT Devel discussion list Message-ID: <20071120111801.GI23589@solemn.turbinal> Mail-Followup-To: ALT Devel discussion list References: <20071119161141.DE2B81CB4689@ssh.git.local.altlinux.org> <75e139a00711200312p22759de9m1c48c39006a361ce@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uJrvpPjGB3z5kYrA" Content-Disposition: inline In-Reply-To: <75e139a00711200312p22759de9m1c48c39006a361ce@mail.gmail.com> Subject: Re: [devel] [git update] packages/rpm: heads/master X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.9 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: Tue, 20 Nov 2007 11:18:02 -0000 Archived-At: List-Archive: List-Post: --uJrvpPjGB3z5kYrA Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 20, 2007 at 05:12:59PM +0600, Slava Semushin wrote: > 2007/11/19, Alex V. Myltsev : > > Update of /people/avm/packages/rpm.git > [...] > > --- a/build/reqprov.c > > +++ b/build/reqprov.c > [...] > > +#define PRIVATE_PREFIX "[private]" > > + > > +/* If there is a PRIVATE_PREFIX at the beginning of depName, skip it. = */ > > +__attribute__((visibility ("hidden"))) > > +const char* rpmStripDepPrefix(const char* depName) > > +{ > > + if (!strncmp(depName, PRIVATE_PREFIX, strlen(PRIVATE_PREFIX))) { > > + depName +=3D strlen(PRIVATE_PREFIX); > > + } > > + return depName; > > +} > > + > [...] >=20 > =F0=CF=DE=C5=CD=D5 =C2=D9 =CE=C5 =DA=C1=CD=C5=CE=C9=D4=D8 strlen(PRIVATE_= PREFIX) =CE=C1 sizeof(PRIVATE_PREFIX)-1 ? >=20 > =FE=C9=D4=C1=C2=C5=CC=D8=CE=CF=D3=D4=D8 =CB=CF=C4=C1 =DE=D5=D4=CF=CB =D5= =CD=C5=CE=D8=DB=C9=D4=D3=D1, =DA=C1=D4=CF =C4=CC=C9=CE=CE=C1 =D3=D4=D2=CF= =CB=C9 =CF=C2=C1 =D2=C1=DA=C1 =C2=D5=C4=C5=D4 > =D7=D9=DE=C9=D3=CC=D1=D4=D8=D3=D1 =D0=D2=C9 =CB=CF=CD=D0=C9=CC=D1=C3=C9= =C9, =C1 =CE=C5 =D7 run-time. =EB=C1=D6=C5=D4=D3=D1 gcc =D5=CD=C5=C5=D4 =CF=D0=D4=C9=CD=C9=DA=C9=D2=CF=D7= =C1=D4=D8 strlen =C4=CC=D1 =CB=CF=CE=D3=D4=C1=CE=D4=CE=D9=C8 =D3=D4=D2=CF= =CB. > =FC=D4=CF =D1 =D4=C1=CB, =CC=C9=DB=D8 =D0=D2=C5=C4=CC=C1=C7=C1=C0. --uJrvpPjGB3z5kYrA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHQsJpfBKgtDjnu0YRAozGAKCitEifd1yEVjZHLiCoCXkQez0weQCgpfEY 9o7uuzOGVvYD7mu0DHCGvN0= =5Msa -----END PGP SIGNATURE----- --uJrvpPjGB3z5kYrA--