Fixed trailing whitespace errors. Sorry for sending dirty patch. Should be good
now.
* src/log.c: Use tcgetpgrp(STDIN_FILENO) != getpgrp() to determine when to
print to STD* or logfile.
Deprecate log_request_redirect_output function.
Use different file handles for STD* and logfile, to easily
* src/log.c: Use tcgetpgrp(STDIN_FILENO) != getpgrp() to determine when to
print to STD* or logfile.
Deprecate log_request_redirect_output function.
Use different file handles for STD* and logfile, to easily switch between
them when changing fg/bg.
* src/log.h: Make redirect_output function e
* src/ftp.c: Return error as exit value if even one file doesn't exist
---
src/ftp.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/src/ftp.c b/src/ftp.c
index cc98ca3..77dc9cd 100644
--- a/src/ftp.c
+++ b/src/ftp.c
@@ -1186,6 +1186,7 @@ Error in server response, clos
* src/ftp.c: Leverage new struct net_credentials and function pick_credentials.
pick_credentials is responsible for taking proper order when selecting source
of credentials.
* src/http.c: Leverage new struct net_credentials and function
pick_credentials.
* src/utils.c: New function pick
I've updated patch to not run tcgetpgrp, getpgrp and isatty (for
shell_is_interactive test) on windows.
I have compiled and tested on linux and (mostly*) on windows. Should be ok.
* - I was able to create working mingw env on linux, but cross-compilation
worked for me only few times (I know, sil