This is the mail archive of the libc-alpha@sourceware.org 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]
Other format: [Raw text]

Re: [PATCH 1/2] libio: fmemopen rewrite to POSIX compliance


On Wed, 5 Nov 2014, Adhemerval Zanella wrote:

> This patch added a new fmemopen version, for glibc 2.20, that aims to be

2.21.

> 	* libio/Versions [GLIBC_2.20]: Add new fmemopen symbol.

2.21.

> 	* sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist [GLIBC_2.20]: Add
> 	fmemopen.
> 	* sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.20]: Likewise.
> 	* sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.20]: Likewise.
> 	* sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.20]: Likewise.
> 	* sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist [GLIBC_2.20]:
> 	Likewise.

2.21.  And those nptl subdirectories no longer exist.

> +/* fmemopen() from 2.20 and forward works as defined by POSIX.  It also
> +   provides an older symbol, version 2.2.5, that behaves different regarding
> +   SEEK_END (libio/oldfmemopen.c).  */

2.21.

> +#if SHLIB_COMPAT (libc, GLIBC_2_2, GLIBC_2_20)

2.21 (it's the first version in which the symbol was obsolete, not the 
last version in which it was non-obsolete).

-- 
Joseph S. Myers
joseph@codesourcery.com


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