From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KkBoz-0002cZ-7e for garchives@archives.gentoo.org; Mon, 29 Sep 2008 06:01:25 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 06693E077F; Mon, 29 Sep 2008 06:01:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id C65E0E0782 for ; Mon, 29 Sep 2008 06:01:24 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id A446B64959 for ; Mon, 29 Sep 2008 06:01:23 +0000 (UTC) Received: from vapier by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1KkBow-0005gK-K0 for gentoo-commits@lists.gentoo.org; Mon, 29 Sep 2008 06:01:22 +0000 From: "Mike Frysinger (vapier)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, vapier@gentoo.org Subject: [gentoo-commits] gentoo-projects commit in pax-utils: scanelf.c X-VCS-Repository: gentoo-projects X-VCS-Files: scanelf.c X-VCS-Directories: pax-utils X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger Content-Type: text/plain; charset=utf8 Message-Id: Sender: Mike Frysinger Date: Mon, 29 Sep 2008 06:01:22 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: dd07d66f-b88b-49d2-8370-86f0f82539cc X-Archives-Hash: 4128914f06937bf8a8da47e9748a357b vapier 08/09/29 06:01:22 Modified: scanelf.c Log: only issue warnings on missing cache code when targeting an ELF system Revision Changes Path 1.192 pax-utils/scanelf.c file : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/sca= nelf.c?rev=3D1.192&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/sca= nelf.c?rev=3D1.192&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-projects/pax-utils/sca= nelf.c?r1=3D1.191&r2=3D1.192 Index: scanelf.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-projects/pax-utils/scanelf.c,v retrieving revision 1.191 retrieving revision 1.192 diff -u -r1.191 -r1.192 --- scanelf.c 17 Jun 2008 17:07:57 -0000 1.191 +++ scanelf.c 29 Sep 2008 06:01:22 -0000 1.192 @@ -1,13 +1,13 @@ /* * Copyright 2003-2007 Gentoo Foundation * Distributed under the terms of the GNU General Public License v2 - * $Header: /var/cvsroot/gentoo-projects/pax-utils/scanelf.c,v 1.191 200= 8/06/17 17:07:57 solar Exp $ + * $Header: /var/cvsroot/gentoo-projects/pax-utils/scanelf.c,v 1.192 200= 8/09/29 06:01:22 vapier Exp $ * * Copyright 2003-2007 Ned Ludd - * Copyright 2004-2007 Mike Frysinger - */ =20 -static const char *rcsid =3D "$Id: scanelf.c,v 1.191 2008/06/17 17:07:57= solar Exp $"; +static const char *rcsid =3D "$Id: scanelf.c,v 1.192 2008/09/29 06:01:22= vapier Exp $"; const char * const argv0 =3D "scanelf"; =20 #include "paxinc.h" @@ -796,7 +796,9 @@ return NULL; } #else +#ifdef __ELF__ #warning Cache support not implemented for your target +#endif static char *lookup_cache_lib(elfobj *elf, char *fname) { return NULL; @@ -1546,13 +1548,14 @@ } =20 #else - +#ifdef __ELF__ #warning Cache config support not implemented for your target +#endif static int load_ld_cache_config(int i, const char *fname) { memset(ldpaths, 0x00, sizeof(ldpaths)); + return 0; } - #endif =20 /* scan /etc/ld.so.conf for paths */