ssh-add.exe being fixed to work in Windows
setvbuf to avoid in Windows for stdio
This commit is contained in:
parent
f8f10e1911
commit
3cdffbc29e
|
@ -508,7 +508,9 @@ main(int argc, char **argv)
|
||||||
OpenSSL_add_all_algorithms();
|
OpenSSL_add_all_algorithms();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef WIN32_FIXME
|
||||||
setvbuf(stdout, NULL, _IOLBF, 0);
|
setvbuf(stdout, NULL, _IOLBF, 0);
|
||||||
|
#endif
|
||||||
|
|
||||||
/* First, get a connection to the authentication agent. */
|
/* First, get a connection to the authentication agent. */
|
||||||
switch (r = ssh_get_authentication_socket(&agent_fd)) {
|
switch (r = ssh_get_authentication_socket(&agent_fd)) {
|
||||||
|
|
Loading…
Reference in New Issue