Sender: rich AT delorie DOT com Message-ID: <393D3EFA.F0CCF66@bigfoot.com> Date: Tue, 06 Jun 2000 19:12:10 +0100 From: Richard Dawe X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.14 i586) X-Accept-Language: de,fr MIME-Version: 1.0 To: djgpp-workers AT delorie DOT com CC: libsocket Mailing List Subject: Re: ANNOUNCE: libsocket 0.7.4 beta 4 References: <200006060847 DOT KAA24550 AT cerbere DOT u-strasbg DOT fr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com 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/