From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sun, 15 Oct 2006 15:21:02 +0400 From: "Dmitry V. Levin" To: ALT Devel discussion list Message-ID: <20061015112102.GB22928@basalt.office.altlinux.org> Mail-Followup-To: ALT Devel discussion list References: <20061009230659.GA21905@basalt.office.altlinux.org> <20061013150715.GG1710@localhost.localdomain> <20061013171941.GI1710@localhost.localdomain> <20061013203227.GA32739@basalt.office.altlinux.org> <20061015063552.GJ1710@localhost.localdomain> <20061015104244.GA21864@basalt.office.altlinux.org> <20061015105800.GK1710@localhost.localdomain> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="24zk1gE8NUlDmwG9" Content-Disposition: inline In-Reply-To: <20061015105800.GK1710@localhost.localdomain> X-fingerprint: FE4C 93AB E19A 2E4C CB5D 3E4E 7CAB E6AC 9E35 361E Subject: Re: [devel] glibc 6:2.5-alt2 to git-push X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.9rc1 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Oct 2006 11:21:03 -0000 Archived-At: List-Archive: List-Post: --24zk1gE8NUlDmwG9 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Oct 15, 2006 at 02:58:00PM +0400, Alexey Tourbin wrote: > On Sun, Oct 15, 2006 at 02:42:44PM +0400, Dmitry V. Levin wrote: > > > =EB=D3=D4=C1=D4=C9 =D3 asprintf =D2=C5=DA=D5=CC=D8=D4=C1=D4 =CD=CF=D6= =CE=CF =CE=C5 =D0=D2=CF=D7=C5=D2=D1=D4=D8, =D7=CF=D4 =CB=C1=CB=C9=CD =CF=C2= =D2=C1=DA=CF=CD: > > >=20 > > > char *ptr =3D NULL; > > > asprintf(&ptr, fmt, ...); > > > if (ptr) { > > > ... > > > } else { > > > // asprintf failed > > > } > >=20 > > =FC=D4=CF =CE=C5 =D0=C5=D2=C5=CE=CF=D3=C9=CD=CF =CE=C1 =C4=D2=D5=C7=C9= =C5 =C4=C9=D3=D4=D2=C9=C2=D5=D4=C9=D7=D9. =F5 =CD=C5=CE=D1 =CB=CF=C7=C4=C1= -=D4=CF =C4=C1=D7=CE=CF =C2=D9=CC=C1 > > =D2=C1=D3=D4=D1=CE=D5=D4=C1=D1 =D7=CF =D7=D2=C5=CD=C5=CE=C9 =C4=C9=D3= =CB=D5=D3=D3=C9=D1 =D7 libc-alpha =D3 =E4=D2=C5=D0=D0=C5=D2=CF=CD =CE=C1 = =D4=C5=CD=D5 > > glibc-2.5-alt-asprintf.patch, =CD=CF=D6=CE=CF =CE=C1=C7=D5=C7=CC=C9=D4= =D8. =F7 =CB=CF=CE=C5=DE=CE=CF=CD =C9=D4=CF=C7=C5 =CD=C5=CE=D1 > > =D0=CF=C4=C4=C5=D2=D6=C1=CC=C9 =D7=D3=C5 =CB=D2=CF=CD=C5 =E4=D2=C5=D0= =D0=C5=D2=C1. :) >=20 > =EE=C5=D4, =D4=D9 =D3 =CE=C9=CD =C4=C9=D3=CB=D5=D4=C9=D2=CF=D7=C1=CC =CF = =D4=CF=CD, =DE=D4=CF asprintf =C4=CF=CC=D6=C5=CE =FA=E1=EE=F5=EC=F1=F4=F8 p= tr =C5=D3=CC=C9 > =D7=CE=D5=D4=D2=C9 =D0=CF=DB=CC=CF =DE=D4=CF-=D4=CF =CE=C5 =D4=C1=CB (=D5= =D0=C1=CC malloc). =EE=C5=D4, =D4=D9 =D3=CC=C9=DB=CB=CF=CD =D5=DA=CB=CF =D4=D2=C1=CB=D4=D5=C5= =DB=D8. > =FA=C4=C5=D3=D8 =D6=C5 =D1 =EE=E5 =D2=C1=D3=D3=DE=C9=D4=D9=D7=C1=C0 =CE=C1 > =D4=CF, =DE=D4=CF asprintf =DA=C1=CE=D5=CC=C9=D4 prt -- =CF=CE =D5=D6=C5 = =DA=C1=CE=D5=CC=C5=CE =D3 =D3=C1=CD=CF=C7=CF =CE=C1=DE=C1=CC=C1; =C1 =D7=D3= =C5=C7=CF > =CC=C9=DB=D8 =CE=C1 =D4=CF, =DE=D4=CF =D0=D2=C9 =CF=DB=C9=C2=CB=C5 asprin= tf =CE=C5 =C2=D5=C4=C5=D4 =C5=C7=CF =CD=CF=C4=C9=C6=C9=C3=C9=D2=CF=D7=C1=D4= =D8 (=C9=CC=C9 =D6=C5 > =D4=C1=CB=C9 =DA=C1=CE=D5=CC=C9=D4). =F7=C1=CE=C9=CC=D8=CE=D9=CA asprintf =D7 =D3=CC=D5=DE=C1=C5 =CF=DB=C9=C2=CB= =C9 =CF=D3=D4=C1=D7=C9=D4 =D0=CF =C1=C4=D2=C5=D3=D5 prt =CE=C5=C9=DA=D7=C5= =D3=D4=CE=CF =DE=D4=CF, =CE=C1=D0=D2=C9=CD=C5=D2, =DC=D4=CF =CD=CF=D6=C5=D4 =C2=D9=D4=D8 =C1=C4=D2= =C5=D3 =D0=C1=CD=D1=D4=C9, =CB=CF=D4=CF=D2=D5=C0 =CF=CE =C9=D3=D0=CF=CC=D8= =DA=CF=D7=C1=CC =D7=CF =D7=D2=C5=CD=D1 =D2=C1=C2=CF=D4=D9. --=20 ldv --24zk1gE8NUlDmwG9 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFMhmefKvmrJ41Nh4RAv2XAJ9aYvHupTj715lFk+IZyEea3qsA1wCgxMsv AUJvsbaW8Q9ExF3vRol78x0= =Kpas -----END PGP SIGNATURE----- --24zk1gE8NUlDmwG9--