Skip to content

Commit 3cdffbc

Browse files
committed
ssh-add.exe being fixed to work in Windows
setvbuf to avoid in Windows for stdio
1 parent f8f10e1 commit 3cdffbc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ssh-add.c

+2
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,9 @@ main(int argc, char **argv)
508508
OpenSSL_add_all_algorithms();
509509
#endif
510510

511+
#ifndef WIN32_FIXME
511512
setvbuf(stdout, NULL, _IOLBF, 0);
513+
#endif
512514

513515
/* First, get a connection to the authentication agent. */
514516
switch (r = ssh_get_authentication_socket(&agent_fd)) {

0 commit comments

Comments
 (0)