Re: [PATCH 5/7] add generic terminal prompt function
- From
Jeff King <peff@peff.net>
- Date
- Dec 8, 2011, 21:52 UTC
- Message-ID
- <20111208215218.GA12127@sigill.intra.peff.net>
- In-Reply-To
- <m38vmmivkc.fsf@localhost.localdomain>
On Thu, Dec 08, 2011 at 01:48:33PM -0800, Jakub Narebski wrote:
Show 11 quoted lines
> > @@ -833,6 +838,7 @@ ifeq ($(uname_S),Linux) > > NO_STRLCPY = YesPlease > > NO_MKSTEMPS = YesPlease > > HAVE_PATHS_H = YesPlease > > + HAVE_DEV_TTY = YesPlease > > endif > > Here you use HAVE_DEV_TTY (by the way, I wonder if it could be > automatically detected by ./configure script)... > [...] > ...and here you have NO_DEV_TTY
Whoops. Thanks for catching. I converted it to NO_DEV_TTY, which would turn this code on by default (because I think _most_ platforms we use are going to want this), but then I decided to go the conservative route and let platforms opt into it.
And of course since my platform is the one that enables it, I didn't notice during my testing.
I'll fix it for the next re-roll.
-Peff