[haiku-development] Re: reading/writing negative positions

  • From: "Jérôme Duval" <korli@xxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 30 Jul 2007 15:12:12 +0200

2007/7/30, Ingo Weinhold <bonefish@xxxxxxxxxxxxxxx>:
> > Wouldn't it be better to validate the position inside fd.c instead of 
> > passing them to the lower layers?
>
> Definitely. Feel free to do that or create a trac ticket, please.
>

Does it imply to check relative and absolute positions ?
BTW it should also fail for non seekable file systems.

Bye,
Jérôme

Other related posts: