diff options
author | Jason King <jason.king@joyent.com> | 2020-06-11 19:14:03 -0500 |
---|---|---|
committer | Jason King <jason.king@joyent.com> | 2020-06-12 17:28:37 -0500 |
commit | b30f02def0d29c7f2398666939cf35cf81f809f1 (patch) | |
tree | 3a3330388deec71020d016ed0fc23f5325d61b81 | |
parent | 61de0de2b543856b77c5769b0d8981f58a7f26bd (diff) | |
download | illumos-joyent-b30f02def0d29c7f2398666939cf35cf81f809f1.tar.gz |
12850 demangle(1) can trip up on names starting with underscore
Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
Reviewed by: Yuri Pankov <ypankov@tintri.com>
Reviewed by: Toomas Soome <tsoome@me.com>
Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r-- | usr/src/cmd/demangle/demangle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/cmd/demangle/demangle.c b/usr/src/cmd/demangle/demangle.c index 33a68edc9e..76c02e3f53 100644 --- a/usr/src/cmd/demangle/demangle.c +++ b/usr/src/cmd/demangle/demangle.c @@ -183,7 +183,7 @@ do_demangle(const char *sym, sysdem_lang_t lang, FILE *out) { char *demangled = sysdemangle(sym, lang, NULL); - if (demangled == NULL && errno != EINVAL) { + if (demangled == NULL && errno != EINVAL && errno != ENOTSUP) { warn(_("error while demangling '%s'"), sym); return (-1); } |