Thread (11 messages) flat view 11 messages, 3 authors, 2016-06-15

Re: [PATCH 5/7] add generic terminal prompt function

From: Jeff King <hidden>
Date: 2016-06-15 22:52:35

On Thu, Dec 08, 2011 at 01:48:33PM -0800, Jakub Narebski wrote:
quoted
@@ -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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help