On Mon, Jan 01, 2018 at 08:56:18AM GMT, Mark Kettenis wrote: > > Date: Mon, 1 Jan 2018 07:49:54 +0100 (CET) > > From: Mark Kettenis <[email protected]> > > > > > Date: Mon, 1 Jan 2018 04:20:35 +0000 > > > From: Raf Czlonka <[email protected]> > > > > > > Hi all, > > > > > > With the recent rtld -> ld.so name change in the 1.100 revision[0], > > > said objtypename has been increased by one character, thus causing > > > everything past the 'Type' column to become mis-aligned, i.e.: > > > > > > $ ldd /usr/bin/ldd > > > > > > /usr/bin/ldd: > > > Start End Type Open Ref GrpRef Name > > > 0000105b67100000 0000105b67303000 exe 1 0 0 /usr/bin/ldd > > > 0000105d9e966000 0000105d9ec46000 rlib 0 1 0 > > > /usr/lib/libc.so.92.2 > > > 0000105dca300000 0000105dca300000 ld.so 0 1 0 > > > /usr/libexec/ld.so > > > > > > How about simply changing the ld.so five-character name to ldso > > > four-character one and keep current column alignment? > > > > > > Alternatively, expand the 'Type' column and all remaining objtypenames > > > by one character (mostly space) in order to fix the alignment. > > > > > > I'm only including the diff for the latter as doing the former is > > > trivial - I still prefer the former solution, BTW. > > > > > > While there, how about dropping the leading tab character so that > > > majority of the outputs generated fit within 80 columns? > > > > I'd prefer to simply revert the change. It serves no purpose other > > than to eat another column. And if there is any doubt this is ld.so, > > the full name is printed next to it on the same line! > > Or we could change it to "ldso" instead.
Hi Mark, Yes, please - as per above, and quoting myself from a private email, this would have been my preferred solution as removing a single character - the dot (.) - is simply the least amount of effort to fix the alignment while still maintaining the ldso objtypename unambiguously clear and descriptive. Additionally, the 'Type' column header would look better separated from the other headers - bar Start and End - by a single space. Kind regards, Raf
