This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: Serious BUG in fseek ftell
- To: orre at nada dot kth dot se
- Subject: Re: Serious BUG in fseek ftell
- From: Gary Houston <ghouston at freewire dot co dot uk>
- Date: 20 Oct 1999 21:11:41 -0000
- CC: guile at sourceware dot cygnus dot com
- References: <199910182123.XAA11906@faun.nada.kth.se>
| | 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.