From: sandmann AT clio DOT rice DOT edu (Charles Sandmann) Message-Id: <10212130137.AA01762@clio.rice.edu> Subject: Re: scanf buffer overflow; support 'hh' conversion specifier [PATCH] To: djgpp-workers AT delorie DOT com Date: Thu, 12 Dec 2002 19:37:46 -0600 (CST) In-Reply-To: <3DF93420.D217F616@phekda.freeserve.co.uk> from "Richard Dawe" at Dec 13, 2002 01:13:04 AM X-Mailer: ELM [version 2.5 PL2] Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Charles Sandmann wrote: > [snip] > > d,D, o,O, i,I, u,U, x,X, e,E, g,G all supposedly do the same thing. > > For printf? Or scanf? scanf. I tried to attach the brain to keyboard this time > To be clear: what does Borland C++ 3.0's docs say for scanf and the X type > conversion? Says int - if you want to change size then you must use size adjuster.