Lets try this push again.. 2.5.1p2 bugs left.
Markus Friedl
Markus.Friedl at informatik.uni-erlangen.de
Thu Feb 22 21:27:48 EST 2001
is this really CYWIN only?
On Thu, Feb 22, 2001 at 10:01:03AM +0100, Corinna Vinschen wrote:
> ===================================================================
> RCS file: /cvs/openssh_cvs/sftp.c,v
> retrieving revision 1.4
> diff -u -p -r1.4 sftp.c
> --- sftp.c 2001/02/09 13:40:04 1.4
> +++ sftp.c 2001/02/18 16:59:27
> @@ -246,11 +246,18 @@ main(int argc, char **argv)
>
> interactive_loop(in, out);
>
> +#if defined(HAVE_CYGWIN) && !defined(USE_PIPES)
> + shutdown(in, SHUT_RDWR);
> + shutdown(out, SHUT_RDWR);
> +#endif
> +
> close(in);
> close(out);
>
> +#if !defined(HAVE_CYGWIN)
> if (kill(sshpid, SIGHUP) == -1)
> fatal("Couldn't terminate ssh process: %s", strerror(errno));
> +#endif
>
> if (waitpid(sshpid, NULL, 0) == -1)
> fatal("Couldn't wait for ssh process: %s", strerror(errno));
>
>
> Corinna
>
> --
> Corinna Vinschen
> Cygwin Developer
> Red Hat, Inc.
> mailto:vinschen at redhat.com
More information about the openssh-unix-dev
mailing list