This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug stdio/13960] #defining _LARGEFILE_SOURCE does not give me ftello
- From: "aj at suse dot de" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Sun, 08 Apr 2012 09:47:22 +0000
- Subject: [Bug stdio/13960] #defining _LARGEFILE_SOURCE does not give me ftello
- Auto-submitted: auto-generated
- References: <bug-13960-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=13960
Andreas Jaeger <aj at suse dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |UNCONFIRMED
CC| |aj at suse dot de
Ever Confirmed|1 |0
--- Comment #1 from Andreas Jaeger <aj at suse dot de> 2012-04-08 09:47:22 UTC ---
You get ftello - just run it through gcc -E -ansi.
What you don't get is off_t - you have __off_t only.
And the feature test macro for off_t has a check for
__USE_XOPEN2K8.
So, add a define of _XOPEN_SOURCE to 700 as well.
I'm not sure whether this is really a bug in glibc or in your usage of the
flags.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.