From: Christos Zoulas Date: Tue, 14 Feb 2017 12:56:48 +0000 (+0000) Subject: keep "[not] stripped" last since some scripts expect it to be there. X-Git-Tag: FILE5_31~54 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1507352bc5cbdebaa9f64f1c73876ec9d8a638bc;p=file keep "[not] stripped" last since some scripts expect it to be there. --- diff --git a/src/readelf.c b/src/readelf.c index d1b71cf7..3695c890 100644 --- a/src/readelf.c +++ b/src/readelf.c @@ -27,7 +27,7 @@ #include "file.h" #ifndef lint -FILE_RCSID("@(#)$File: readelf.c,v 1.131 2017/02/10 18:14:01 christos Exp $") +FILE_RCSID("@(#)$File: readelf.c,v 1.132 2017/02/11 18:12:03 christos Exp $") #endif #ifdef BUILTIN_ELF @@ -1373,12 +1373,12 @@ doshn(struct magic_set *ms, int clazz, int swap, int fd, off_t off, int num, } } - if (file_printf(ms, ", %sstripped", stripped ? "" : "not ") == -1) - return -1; if (has_debug_info) { if (file_printf(ms, ", with debug_info") == -1) return -1; } + if (file_printf(ms, ", %sstripped", stripped ? "" : "not ") == -1) + return -1; if (cap_hw1) { const cap_desc_t *cdp; switch (mach) {