ports/mail/mu/patches/patch-mu_mu-cmd-server_cc

15 lines
467 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
:: doesn't work on macro expansion
Index: mu/mu-cmd-server.cc
--- mu/mu-cmd-server.cc.orig
+++ mu/mu-cmd-server.cc
2023-09-08 05:21:37 +00:00
@@ -125,7 +125,7 @@ Mu::mu_cmd_server(const Mu::Options& opts) try {
opts.debug ? "yes" : "no",
2023-08-16 22:26:55 +00:00
have_readline() ? "yes" : "no");
- tty = ::isatty(::fileno(stdout));
+ tty = ::isatty(fileno(stdout));
2023-09-08 05:21:37 +00:00
const auto eval = std::string{opts.server.commands ? "(help :full t)" : opts.server.eval};
if (!eval.empty()) {
server.invoke(eval);