Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Jan 2009 03:22:11 +0900 (JST)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        danger@FreeBSD.org
Cc:        doc@FreeBSD.org, brueffer@FreeBSD.org
Subject:   Re: svn commit: r186737 - head/sbin/geom/class/virstor
Message-ID:  <20090105.032211.33865530.hrs@allbsd.org>
In-Reply-To: <1289663263.20090104185721@rulez.sk>
References:  <287359450.20090104174842@rulez.sk> <20090105.025058.119952164.hrs@allbsd.org> <1289663263.20090104185721@rulez.sk>

next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart(Mon_Jan__5_03_22_11_2009_552)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Daniel Gerzo <danger@freebsd.org> wrote
  in <1289663263.20090104185721@rulez.sk>:

da> Hello Hiroki,
da>
da> Sunday, January 4, 2009, 6:50:58 PM, you wrote:
da>
da> > Daniel Gerzo <danger@freebsd.org> wrote
da> >   in <287359450.20090104174842@rulez.sk>:
da>
da> da>> Hello Christian,
da> da>>
da> da>> Sunday, January 4, 2009, 4:58:32 PM, you wrote:
da> da>>
da> da>> > While using .Ex is good, collapsing EXIT STATUS into DIAGNOSTICS is not.
da> da>> > EXIT STATUS is a standard section in our manpages and it's orthogonal to
da> da>> > DIAGNOSTICS.
da> da>>
da> da>> I am fine to revert this part, however I have trimmed this section
da> da>> just because I didn't see it listed in the PAGE STRUCTURE DOMAIN
da> da>> section of the mdoc(7) manual page.
da> da>>
da> da>> Interestingly, it lists the DIAGNOSTICS section and explicitly
da> da>> says that .Ex macro should be used there.
da>
da> >  Is using .Ex macro really correct?.  When geom(1) fails the exit
da> >  status will be 1, not >0.  While many commands whose manual page says
da> >  so return 1 on an error actually (especially when it is in POSIX),
da> >  the two are not the same at least.
da>
da> I thought that 1 > 0 ... (?)

 I mean I am wondering if rewriting "1" with ">0" is reasonable or
 not.  "1>0" is always true, but "1" is not equal to ">0".

 Some other manual pages have the description "1 on error.".  If we
 have a consensus on that this rewriting is reasonable, we should
 also rewrite them in consistency.

--
| Hiroki SATO

----Security_Multipart(Mon_Jan__5_03_22_11_2009_552)--
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEABECAAYFAklg/lQACgkQTyzT2CeTzy1kqQCZAZTyiCRUjtxLKYQomHxHMfPI
5A4An3tcnp9SFvvt6X67rMjqW22DjB4P
=JxDs
-----END PGP SIGNATURE-----

----Security_Multipart(Mon_Jan__5_03_22_11_2009_552)----



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