From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sun, 21 Mar 2004 22:39:23 +0300 From: Alexey Tourbin To: devel@altlinux.ru Message-ID: <20040321193923.GN27221@solemn.turbinal.org> Mail-Followup-To: devel@altlinux.ru Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/TUrtqMIkCP4YtJm" Content-Disposition: inline Subject: [devel] Q: snprintf X-BeenThere: devel@altlinux.ru X-Mailman-Version: 2.1.4 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, 21 Mar 2004 19:40:19 -0000 Archived-At: List-Archive: List-Post: --/TUrtqMIkCP4YtJm Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable =FA=C4=D2=C1=D7=D3=D4=D7=D5=CA=D4=C5. =EE=C9=D6=C5=D3=CC=C5=C4=D5=C0=DD=C9=CA =CB=D5=D3=CF=CB (=CF=C4=CE=CF=C7=CF= =D0=C1=D4=DE=C1) =CD=C5=CE=D1 =CF=DA=C1=C4=C1=DE=C9=CC. =F3=D5=DD=C5=D3= =D4=D7=D5=C5=D4 =CC=C9 =CE=C1=C4=C5=D6=CE=D9=CA =D3=D0=CF=D3=CF=C2 =CF=D0=D2=C5=C4=C5=CC=C9=D4=D8:= =C2=D9=CC=C1 =CC=C9 =D0=C5=D2=C5=CD=C5=CE=CE=C1=D1 =CF=C2=DF=C5=D7=CC=C5= =CE=C1 =CB=C1=CB =C9=CD=D1 =CD=C1=D3=D3=C9=D7=C1, =C9=CC=C9 =CB=C1=CB =D5=CB=C1=DA=C1=D4=C5=CC=D8? --- src/lvm.c.orig 2004-01-13 11:37:53.000000000 -0200 +++ src/lvm.c 2004-01-13 11:33:34.000000000 -0200 @@ -32,7 +32,7 @@ /* function to convert a lua_Number to a string */ #ifndef lua_number2str -#define lua_number2str(s,n) sprintf((s), LUA_NUMBER_FMT, (n)) +#define lua_number2str(s,n) snprintf((s), sizeof((s)), LUA_NUMBER_FMT,= (n)) #endif --/TUrtqMIkCP4YtJm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAXe9rfBKgtDjnu0YRAt0cAJ40Pn03ET0q3rOkif8SYv2jaiTvOgCg10L9 O9tpTeKVptU9AaJ8DdUucDI= =xP++ -----END PGP SIGNATURE----- --/TUrtqMIkCP4YtJm--