Make tell() fail properly if called without an argument and when no previous file...
authorRafael Garcia-Suarez <rgs@consttype.org>
Thu, 8 Oct 2009 09:44:21 +0000 (11:44 +0200)
committerRafael Garcia-Suarez <rgs@consttype.org>
Thu, 8 Oct 2009 09:44:21 +0000 (11:44 +0200)
commitf03173f2c707a804ec3e9c291d2ab1adb9db4abc
treeb2f1fd1256dde00872d894f7fc30b6887750f658
parenta916b30221d5aac718ed67c9a5bc9c0905daddd0
Make tell() fail properly if called without an argument and when no previous file was read

This makes tell() return -1, and sets errno to EBADF, thus
restoring the 5.8.x behaviour
pp_sys.c