Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Dec 2019 12:25:57 -0700
From:      Ian Lepore <ian@freebsd.org>
To:        rgrimes@FreeBSD.org, John Baldwin <jhb@FreeBSD.org>
Cc:        Vincenzo Maffione <vmaffione@FreeBSD.org>, src-committers <src-committers@FreeBSD.org>, svn-src-all@FreeBSD.org, svn-src-head@FreeBSD.org
Subject:   Re: svn commit: r355301 - head/usr.sbin/bhyve
Message-ID:  <b334de119b68776d4a816eb904dbb558f69dfa7c.camel@freebsd.org>
In-Reply-To: <201912051921.xB5JLTMk045371@gndrsh.dnsmgr.net>
References:  <201912051921.xB5JLTMk045371@gndrsh.dnsmgr.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2019-12-05 at 11:21 -0800, Rodney W. Grimes wrote:
> > On 12/4/19 9:35 PM, Rodney W. Grimes wrote:
> > > > I see, thanks for the pointers.
> > > > It looks like cfmakeraw() and tcsetattr() were what I was
> > > > looking for.
> > > > A bhyve-specific printf wrapper looks the right solution to me.
> > > > I can try to sketch a patch for you guys to review, if that's
> > > > useful.
> > > > 
> > > > Cheers,
> > > >   Vincenzo
> > > 
> > > Meanwhile could you please revert the commit, and add a note to
> > > D22552 to the effects that this was not the right solution?
> > 
> > I don't think we have to revert as it isn't that big of a
> > deal.  Just
> > fixing it going forward is probably fine.
> 
> I disagree.  Not reverting this leads to a bunch of un-needed changes
> in the forward moving review, clouding the view of what is really
> being changed in that new review which is now a mix of undoing this
> and adding a new set of macros to deal with end of line.
> 

It doesn't cloud anything in the new review.  Reverting it will change
all the \n\r back to just \n.  Then exactly the same lines will need
changing on the do-over to remove the \n.

There are times when backing out a changeset and doing things over from
scratch make sense, but this doesn't seem to be one of them.

-- Ian




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