Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Mar 2020 14:27:24 -0600
From:      Ian Lepore <ian@freebsd.org>
To:        Ed Maste <emaste@freebsd.org>, Mateusz Piotrowski <0mp@freebsd.org>
Cc:        src-committers <src-committers@freebsd.org>, svn-src-all <svn-src-all@freebsd.org>, svn-src-head <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r358891 - head/share/man/man5
Message-ID:  <d6d980f8471ccdca366d6da593e988a265a76d47.camel@freebsd.org>
In-Reply-To: <CAPyFy2CB42VinJTFApGTCDoFW2QueN2H_Sj3ByUjSyHJtX_Xpw@mail.gmail.com>
References:  <202003111815.02BIFIux018547@repo.freebsd.org> <a5d5d0d4-39a7-c74e-8a82-f41ccbfb22c2@FreeBSD.org> <CAPyFy2CB42VinJTFApGTCDoFW2QueN2H_Sj3ByUjSyHJtX_Xpw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2020-03-11 at 16:01 -0400, Ed Maste wrote:
> On Wed, 11 Mar 2020 at 15:07, Mateusz Piotrowski <0mp@freebsd.org>
> wrote:
> > 
> > Hi,
> > 
> > On 3/11/20 7:15 PM, Ed Maste wrote:
> > > Author: emaste
> > > Date: Wed Mar 11 18:15:18 2020
> > > New Revision: 358891
> > > URL: https://svnweb.freebsd.org/changeset/base/358891
> > > 
> > > Log:
> > >    elf.5: start documenting ELF note sections
> > 
> > ...
> > > Modified: head/share/man/man5/elf.5
> > > =================================================================
> > > =============
> > > --- head/share/man/man5/elf.5 Wed Mar 11 15:12:31
> > > 2020        (r358890)
> > > +++ head/share/man/man5/elf.5 Wed Mar 11 18:15:18
> > > 2020        (r358891)
> > > @@ -24,7 +24,7 @@
> > 
> > ...
> > > +.Bl -column -offset indent "Sy Field" "Sy Size" "Sy Description"
> > 
> > The "Sy" macros can be dropped from those strings specifying the
> > width
> > of columns. They are not expanded there anyway.
> 
> Interesting, thanks for the note. I probably copied them from arch.7,
> so it might need similar treatment.
> 
> They did have a side-effect of putting more space between columns
> though; with extra Sy:
> 
>            Field       Size       Description
>            namesz      32 bits    Size of name
>            descsz      32 bits    Size of desc
>            type        32 bits    OS-dependent note type
>            name        namesz     Null-terminated originator name
>            desc        descsz     OS-dependent note data
> 
> Without:
> 
>            Field    Size    Description
>            namesz   32 bits Size of name
>            descsz   32 bits Size of desc
>            type     32 bits OS-dependent note type
>            name     namesz  Null-terminated originator name
>            desc     descsz  OS-dependent note data

With, there are 3 extra spaces.  "Sy ".

-- Ian




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d6d980f8471ccdca366d6da593e988a265a76d47.camel>