[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnutls-dev] gnutls-cli bug
From: |
Simon Josefsson |
Subject: |
Re: [gnutls-dev] gnutls-cli bug |
Date: |
Sat, 14 Jul 2007 10:46:19 +0200 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux) |
Hi, thanks for the report. Patch installed on the 1.7.x branch.
/Simon
Hal Eden <address@hidden> writes:
> when using the -s flag under macosx, i found that it would perform
> the handshake, but when i typed the next line to be sent to the
> server it would exit the program and leave what i typed in the input
> buffer for the shell to read (it works fine when i send SIGALRM).
>
> i think what is needed is for the EOF flag to be cleared: clearerr()
> does this (there may be other, better solutions).
>
> i put this after:
>
> 673:
> < ret = do_handshake (&hd);
>
>
> > ret = do_handshake (&hd);
> > clearerr(stdin);
>
>
> and tested. this seems to fix the issue.
>
> let me know if you need any further information.
>
> thanks for this fine utility.
>
> hal