~ubuntu-branches/ubuntu/natty/shishi/natty

« back to all changes in this revision

Viewing changes to gl/fseeko.c

  • Committer: Bazaar Package Importer
  • Author(s): Simon Josefsson
  • Date: 2010-05-20 21:10:28 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20100520211028-n4a7e5gx7f596dnz
Tags: 1.0.0-1
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
#include "stdio-impl.h"
27
27
 
 
28
int
 
29
fseeko (FILE *fp, off_t offset, int whence)
28
30
#undef fseeko
29
31
#if !HAVE_FSEEKO
30
32
# undef fseek
31
33
# define fseeko fseek
32
34
#endif
33
 
 
34
 
int
35
 
rpl_fseeko (FILE *fp, off_t offset, int whence)
36
35
{
37
36
#if LSEEK_PIPE_BROKEN
38
37
  /* mingw gives bogus answers rather than failure on non-seekable files.  */