* lib/ftello.c (ftello): Use lseek, not llseek.
Signed-off-by: Eric Blake <eblake@redhat.com>
2010-12-31 Eric Blake <eblake@redhat.com>
+ ftello: avoid compilation failure with SunStudio c89
+ * lib/ftello.c (ftello): Use lseek, not llseek.
+
tests: avoid failing coreutils tests on cygwin
* tests/init.sh (find_exe_basenames_): Exempt [.exe.
(create_exe_shims_): Return 0 when skipping.
ftello (fp);
/* Compute the file position ourselves. */
- pos = llseek (fileno (fp), (off_t) 0, SEEK_CUR);
+ pos = lseek (fileno (fp), (off_t) 0, SEEK_CUR);
if (pos >= 0)
{
if ((fp_->_flag & _IONBF) == 0 && fp_->_base != NULL)