| Summary: | [patch] rtld(1) mentions "%m" but it's not implemented | ||
|---|---|---|---|
| Product: | Documentation | Reporter: | Adrian Steinmann <ast> |
| Component: | Books & Articles | Assignee: | dfr |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | CC: | dfr |
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-i386->freebsd-doc Patch to a manpage -> over to freebsd-doc Responsible Changed From-To: freebsd-doc->dfr Doug, can you take care of this PR please? State Changed From-To: open->closed Manpage reference was removed, thanks for the report! |
man rtld mentions a "%m" format string for major shared object version, but that is not implemented. Fix: This info - and the "undocumented" %n for minor version - are commented out of the source (maybe those lines should be removed altogether): $ grep -n -A10 'if 0' /usr/src/libexec/rtld-elf/rtld.c 2410:#if 0 2411- case 'm': 2412- printf("%d", sodp->sod_major); 2413- break; 2414- case 'n': 2415- printf("%d", sodp->sod_minor); 2416- break; 2417-#endif 2418- case 'p': 2419- printf("%s", path); 2420- break; Adrian--ItjExN4CXLB0ZkYtqhWiGYRzCTh67xkzMkkITnAyNh2YQLW4 Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- rtld-elf/rtld.1.orig Wed Apr 20 08:46:24 2005 +++ rtld-elf/rtld.1 Wed Apr 20 08:46:37 2005 @@ -164,8 +164,6 @@ .Ev LD_TRACE_LOADED_OBJECTS_PROGNAME .It Li %o The library name. -.It Li %m -The library's major version number. .It Li %p The full pathname as determined by .Nm rtld Ns 's How-To-Repeat: man rtld