Changeset: 0b6d35e525fe for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=0b6d35e525fe
Modified Files:
clients/mapiclient/mclient.c
Branch: Jun2016
Log Message:
On Windows, don't prompt when testing.
On "normal" systems, isatty() will do the right thing already.
diffs (16 lines):
diff --git a/clients/mapiclient/mclient.c b/clients/mapiclient/mclient.c
--- a/clients/mapiclient/mclient.c
+++ b/clients/mapiclient/mclient.c
@@ -2195,7 +2195,11 @@ doFile(Mapi mid, stream *fp, int useinse
#endif
(void) save_history; /* not used if no readline */
- if (getFile(fp) && isatty(fileno(getFile(fp)))) {
+ if (getFile(fp) && isatty(fileno(getFile(fp)))
+#ifdef WIN32 /* isatty may not give expected result */
+ && formatter != TESTformatter
+#endif
+ ) {
interactive = 1;
setPrompt();
prompt = promptbuf;
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list