This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Serious BUG in fseek ftell


| | Now to a another minor problem I found when I tested this.
| | This I consider an undesired side effect of implementing ftell with
| | the help of fseek as fseek clears the effect of ungetc, but ftell
| | should not do this.
| 
| Thanks again.  I've modified scm_seek to recognise this as a special
| case.  This makes it a bit more complex, but it seemed undesirable to
| have a separate ftell giving results different to (seek p 0 SEEK_SET).

SEEK_CUR, that should be.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]