Re: [BUG] fopen(..., "a") does not seek to end of file until some write operation

2009-11-13 Thread Salvador Fandino
IGNED MESSAGE- > Hash: SHA1 > > According to Salvador Fandino on 11/13/2009 1:36 PM: > > Hii > > > > Using ftell() after fopen(..., "a") returns 0 even when the file open for > appending is not empty. AFAIK, it should return the size of the file. > > Not

[BUG] fopen(..., "a") does not seek to end of file until some write operation

2009-11-13 Thread Salvador Fandino
Hii Using ftell() after fopen(..., "a") returns 0 even when the file open for appending is not empty. AFAIK, it should return the size of the file. Compile and run the attached program several times to see it happening. Cheers, - Salva cygcheck.out Description: Binary data #include int ma