delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/09/24/03:41:31

Date: Thu, 24 Sep 92 09:24:13 GMT
From: kuku AT acds DOT physik DOT rwth-aachen DOT de (Christoph Kukulies)
To: djgpp AT sun DOT soe DOT clarkson DOT edu, mll AT aio DOT jsc DOT nasa DOT gov
Subject: Re: Strange behavior in djgpp/go32

sprintf(&ch,"%d",res); 

This seems like a programming error: You are trashing your stack by doing this.
ch should be defined as char ch[BUFSIZE].

--CHris

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019