vapier 14/11/20 01:25:56 Modified: scanelf.c Log: scanelf: add a note in the rpath warning when we fix the ELF automatically #334819 by Dennis Schridde
Revision Changes Path 1.269 pax-utils/scanelf.c file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/scanelf.c?rev=1.269&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/scanelf.c?rev=1.269&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/scanelf.c?r1=1.268&r2=1.269 Index: scanelf.c =================================================================== RCS file: /var/cvsroot/gentoo-projects/pax-utils/scanelf.c,v retrieving revision 1.268 retrieving revision 1.269 diff -u -r1.268 -r1.269 --- scanelf.c 5 Nov 2014 02:02:03 -0000 1.268 +++ scanelf.c 20 Nov 2014 01:25:56 -0000 1.269 @@ -1,13 +1,13 @@ /* * Copyright 2003-2012 Gentoo Foundation * Distributed under the terms of the GNU General Public License v2 - * $Header: /var/cvsroot/gentoo-projects/pax-utils/scanelf.c,v 1.268 2014/11/05 02:02:03 vapier Exp $ + * $Header: /var/cvsroot/gentoo-projects/pax-utils/scanelf.c,v 1.269 2014/11/20 01:25:56 vapier Exp $ * * Copyright 2003-2012 Ned Ludd - <[email protected]> * Copyright 2004-2012 Mike Frysinger - <[email protected]> */ -static const char rcsid[] = "$Id: scanelf.c,v 1.268 2014/11/05 02:02:03 vapier Exp $"; +static const char rcsid[] = "$Id: scanelf.c,v 1.269 2014/11/20 01:25:56 vapier Exp $"; const char argv0[] = "scanelf"; #include "paxinc.h" @@ -679,6 +679,8 @@ warnf("Maybe? sec problem with %s='%s' in %s", dt_type, item, elf->filename); break; } + if (fix_elf) + warnf("Note: RPATH has been automatically fixed, but this should be fixed in the package itself"); } static void scanelf_file_rpath(elfobj *elf, char *found_rpath, char **ret, size_t *ret_len) {
