Hello list,
nothing special, i just have to correct a few noisy statements of
mine in order to correct the picture.

 |  <https://downloads.sourceforge.net/project/s-nail/s-nail-14_6.2.tar.xz>
 |  <https://downloads.sourceforge.net/project/s-nail/s-nail-14_6.2.tar.gz>

.. 14_6_2 ..
But the really dumb stuff follows..

 |- (GLibC) STD I/O overoptimizes rewind(3) so that underlaying file
 |  descriptor offset is not reset to 0.  Generalize the already
 |  used `really_rewind()' hack and use it not only in
 |  `savedeadletter()' but also in `page_or_print()'.  It is likely
 |  that this not only fixes `history' listing but also some other
 |  things which go through the pager, dependend on the setting of
 |  *crt* etc., and on at least GNU/Linux systems. [463660f]
 |
 |  Note: standard I/O does NOT offer a possibility to do this in
 |  a non-hackish way.  It is thus likely that S-nail will gain
 |  a completely new I/O layer in the future.  That'll also be faster.

This note is plain wrong!
I'm ashamed, i'm crawling along, i'm burned to all ashes!!
Correct is nothing but: with Issue 7 POSIX actually overloaded the
meaning of the fflush(3) library call with the following new
functionality (extending the ISO C standard):

  For a stream open for reading, if the file is not already at EOF,
  and the file is one capable of seeking, the file offset of the
  underlying open file description shall be set to the file position
  of the stream, and any characters pushed back onto the stream by
  ungetc() or ungetwc() that have not subsequently been read from
  the stream shall be discarded (without further changing the file
  offset).

I have adjusted S-nail accordingly.
(But i still think the future will nonetheless bring a simple
homebrew I/O layer.)
Sorry..

--steffen

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
S-nail-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/s-nail-users

Reply via email to