From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 111c93,c1db52110ef2b04a X-Google-Attributes: gid111c93,public X-Google-Thread: 1103af,c1db52110ef2b04a X-Google-Attributes: gid1103af,public From: juergen@monocerus.demon.co.uk (Juergen Heinzl) Subject: Re: sprintf bug? Date: 2000/05/27 Message-ID: #1/1 X-Deja-AN: 627796463 Content-Transfer-Encoding: 8bit X-NNTP-Posting-Host: monocerus.demon.co.uk:212.229.5.80 References: <8gmhrd$jqj$1@nnrp1.deja.com> Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: abuse@demon.net X-Trace: news.demon.co.uk 959387130 nnrp-07:11366 NO-IDENT monocerus.demon.co.uk:212.229.5.80 Organization: Rent A Bug Ltd Mime-Version: 1.0 User-Agent: slrn/0.9.5.7 (UNIX) Newsgroups: comp.os.linux.alpha,comp.os.linux.misc In article <8gmhrd$jqj$1@nnrp1.deja.com>, U.V. Ravindra wrote: > > >I'm using SuSE 6.3 (Kernel 2.2.13 glibc 2.1.2) on an Alpha EV67. >Here's what I'm trying to do > > char buffr[4096+1] > > ... > ... > printf("before %s\n", buffr); > sprintf(buffr, "0, 0, 0, "); > printf("after %s\n", buffr); > >And I see the output: > >before dwki_nr_ibind(100, fname_var, 0, >after 0, 0, 0,i [...] You call printf() passing some junk and then expect reasonable behaviour afterwards ? Good luck. [...] Ta', Juergen -- \ Real name : J�rgen Heinzl \ no flames / \ EMail Private : juergen@monocerus.demon.co.uk \ send money instead /