Re: problem with C and Gcc 2.95.3

From: Yuri Polyansky (tcpat_private)
Date: Sat May 26 2001 - 00:37:39 PDT

  • Next message: MegaHz: "MS Internet Exprorer URL buffer overflow using Greek characters."

    Ale wrote [Fri, 25 May 2001]:
    
    A>
    A>I can't run this program:
    A>
    A>include <stdio.h>
    A>main () {
    A>char buff[10];
    A>int i;
    A>        for (i=0;i<10;i++){
    A>                buff[i]='.';
    A>        }
    A>        for (i=0;1<10;i++){
    A>                printf("%d",buff[i]);
    A>        }
    A>}                             
    A>
    
    patch:
    - for (i=0;1<10;i++){
    + for (i=0;i<10;i++){
    
    
    ;-)
    
    
    			      Cheers,
    					-up
    



    This archive was generated by hypermail 2b30 : Sat May 26 2001 - 13:27:22 PDT