From 8b5418771b3e165d139e82dfb3c5f4e651f329e1 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Tue, 26 Feb 2002 23:59:55 +0000 Subject: [PATCH] * lib/mc.ext.in: Run "file" before "nm" to avoid an error message "no symbol found" for unsupported architectures and provide more useful information. --- ChangeLog | 6 ++++++ lib/mc.ext.in | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 074861a28..7e2973baf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-02-26 Pavel Roskin + + * lib/mc.ext.in: Run "file" before "nm" to avoid an error + message "no symbol found" for unsupported architectures and + provide more useful information. + 2002-02-22 Pavel Roskin * README.smbfs: Remove. It contained no useful information diff --git a/lib/mc.ext.in b/lib/mc.ext.in index 619d580fc..a2f03b0f2 100644 --- a/lib/mc.ext.in +++ b/lib/mc.ext.in @@ -137,7 +137,7 @@ shell/.h # Object shell/.o #Open=%var{PAGER:more} %f - View=%view{ascii} nm %f + View=%view{ascii} file %f && nm %f Link=%var{CC:cc} -O %f Disassemble=%view{ascii} objdump -d -r %f @@ -168,7 +168,7 @@ shell/.info # Manual page # Exception - .so libraries are not manual pages regex/\.(so|so\.[0-9\.]*)$ - View=%view{ascii} nm %f + View=%view{ascii} file %f && nm %f regex/(([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|n)|\.man)$ Open=nroff @TROFFASCII@ @MANDOC@ %f | %var{PAGER:more} @@ -515,7 +515,7 @@ type/^compress regex/\.s?a$ Open=%cd %p#uar #Open=%view{ascii} ar tv %f - View=%view{ascii} nm %f + View=%view{ascii} file %f && nm %f # trpm regex/\.trpm$