This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

The manual erroneously says that fpos_t is off_t in the GNU system


>Submitter-Id:	net
>Originator:	Stefan Asserhäll
>Organization:
 
>Confidential:	no
>Synopsis:	Manual erroneously says that fpos_t is off_t in the GNU system
>Severity:	non-critical
>Priority:	low
>Category:	libc
>Class:		doc-bug
>Release:	libc-2.1.92
>Environment:
	Linux Redhat 7.0
Host type: i686-redhat-linux-gnu
System: Linux 2.2.16-22 #1 Tue Aug 22 16:49:06 EDT 2000 i686 unknown
Architecture: i686

Addons: c_stubs glibc-compat linuxthreads soft-fp
Build CFLAGS: -march=i686 -D__USE_STRING_INLINES -fstrict-aliasing -freorder-blocks -DNDEBUG=1 -g -O3
Build CC: gcc
Compiler version: 2.96 20000731 (experimental)
Kernel headers: 2.4.0-0.26
Symbol versioning: yes
Build static: yes
Build shared: yes
Build pic-default: no
Build profile: yes
Build omitfp: no
Build bounded: no
Build static-nss: no
Stdio: libio

>Description:
	The manual erroneously says that fpos_t is off_t in the GNU system
	under "Portable File-Position Functions". This is no longer true,
	see _G_Config.h where _G_fpos_t is defined as a struct.
	
	Some software seems to rely on fpos_t being equal to off_t, for
	example PGP 6.5.8, which does not build on RedHat 7.0.
>How-To-Repeat:
	Read the manual.
>Fix:
	Describe that fpos_t is a struct with members __off and __state
	in the manual under "Portable File-Position Functions".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]