FreeBSD Bugzilla – Attachment 241235 Details for
Bug 270567
usr.bin/nm: --demangle=auto is not supported despite what manpage claims
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
workaround
nm.demangle-auto.diff (text/plain), 431 bytes, created by
Jan Beich
on 2023-03-31 18:43:26 UTC
(
hide
)
Description:
workaround
Filename:
MIME Type:
Creator:
Jan Beich
Created:
2023-03-31 18:43:26 UTC
Size:
431 bytes
patch
obsolete
>diff --git a/contrib/elftoolchain/nm/nm.c b/contrib/elftoolchain/nm/nm.c >index f9879f97e518..9b9aa5b2a2dd 100644 >--- a/contrib/elftoolchain/nm/nm.c >+++ b/contrib/elftoolchain/nm/nm.c >@@ -462,7 +462,7 @@ static int > parse_demangle_option(const char *opt) > { > >- if (opt == NULL) >+ if (opt == NULL || !strncasecmp(opt, "auto", 4)) > return (ELFTC_DEM_UNKNOWN); > else if (!strncasecmp(opt, "gnu-v2", 6)) > return (ELFTC_DEM_GNU2);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 270567
: 241235