From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 15 May 2006 20:05:29 +0400 From: "Dmitry V. Levin" To: ALT Devel discussion list Message-ID: <20060515160529.GC8433@basalt.office.altlinux.org> Mail-Followup-To: ALT Devel discussion list References: <20060515155914.GR9655@localhost> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="da4uJneut+ArUgXk" Content-Disposition: inline In-Reply-To: <20060515155914.GR9655@localhost> X-fingerprint: FE4C 93AB E19A 2E4C CB5D 3E4E 7CAB E6AC 9E35 361E Subject: Re: [devel] missing sentinel in function call X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.7 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: Mon, 15 May 2006 16:05:30 -0000 Archived-At: List-Archive: List-Post: --da4uJneut+ArUgXk Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 15, 2006 at 07:59:14PM +0400, Alexey Tourbin wrote: >=20 > execl("/bin/sh", "sh", "-c", cmd, 0); > Panic(errno, "/bin/sh"); >=20 >=20 > cc1: warnings being treated as errors > fileio.c: In function 'printpipe': > fileio.c:782: warning: missing sentinel in function call >=20 > =EB=C1=CB =C9=D3=D0=D2=C1=D7=C9=D4=D8? =FE=C9=D4=C1=D4=D8 =C4=CF=CB=D5=CD=C5=CE=D4=C1=C3=C9=C0. =E5=D3=CC=C9 =CC= =C5=CE=D8 =C9=D3=CB=C1=D4=D8, =D4=CF =D7=D4=CF=D2=C1=D1 =D3=D3=D9=CC=CB=C1 = =D7 G =D7=C5=C4=A3=D4 =CE=C1 http://www.linuxonly.nl/docs/sentinel/ =F4=C1=CB =D2=D5=C7=C1=C5=D4=D3=D1: execl("/bin/sh", "sh", "-c", cmd, 0); =F4=C1=CB =CE=C5 =D2=D5=C7=C1=C5=D4=D3=D1: execl("/bin/sh", "sh", "-c", cmd, NULL); --=20 ldv --da4uJneut+ArUgXk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFEaKbJfKvmrJ41Nh4RAlxgAJwKY2u3/ALcVg1fIBrrJPX7pePbDwCgpTr+ Nn1o0ek/CyTtkIPSR/IR2JQ= =CKcJ -----END PGP SIGNATURE----- --da4uJneut+ArUgXk--