Mail Archives: djgpp-workers/2000/06/06/14:19:00
Hello.
Pierre Muller wrote:
> I got a problem with netsetup program
>
> I only have two name server on my network, but
> pressing enter directly to avoid creating a third one does not work !
>
> The problem is probably that
> scanf("%255s",line);
> does not return if I only press Enter !
>
> You should change the code or the output Text to say to Enter "0"
> to avoid one more.
>
> I tried
> scanf("%[^\n]\n",line);
> but this one does not work at all :(
Thanks for the bug report. I'll fix that soon.
BTW djgpp-workers isn't really the right place to discuss this - libsocket
isn't actually part of DJGPP. You should be able to send mail to
libsocket AT egroups DOT com without being a member of the list.
Thanks, bye,
--
Richard Dawe
richdawe AT bigfoot DOT com ICQ 47595498 http://www.bigfoot.com/~richdawe/
- Raw text -