This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
["Khimenko Victor" <khim@sch57.msk.ru>] libc/1496: fmemopen is gone in glibc 2.x
- To: "GNU C. library Alpha Tester List" <libc-alpha at sourceware dot cygnus dot com>
- Subject: ["Khimenko Victor" <khim@sch57.msk.ru>] libc/1496: fmemopen is gone in glibc 2.x
- From: Andreas Jaeger <aj at suse dot de>
- Date: 28 Dec 1999 13:21:52 +0100
- Cc: "Khimenko Victor" <khim at sch57 dot msk dot ru>
We've received the appended bug report. fmemopen is a function only
available in libio but not in stdio.
Is anybody interested in writing fmemopen for stdio? Or is this an
obsolete function?
Andreas
P.S. Khimenko: Using stdio instead of libio is no option on Linux.
- To: bugs at gnu dot org
- Subject: libc/1496: fmemopen is gone in glibc 2.x
- From: "Khimenko Victor" <khim at sch57 dot msk dot ru>
- Date: Wed, 22 Dec 1999 09:00:39 +0300 (MSK)
- Delivery-date: Wed, 22 Dec 1999 15:34:12 +0100
- Envelope-to: aj@localhost
- Resent-Cc: gnats-admin at gnu dot org
- Resent-Reply-To: bugs@gnu.org, "Khimenko Victor" <khim@sch57.msk.ru>
- Xref: gromit.rhein-neckar.de mail.gnats-libc-bugs:4359
Note: There was a bad value `sw-bug|doc-bug' for the field `>Class:'.
It was set to the default value of `sw-bug'.
>Number: 1496
>Category: libc
>Synopsis: fmemopen.c exist in stdio subdirectory but not in libio
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: libc-gnats
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Wed Dec 22 01:10:01 EST 1999
>Last-Modified:
>Originator: root
>Organization:
The Moscow State 57th school
>Release: libc-2.1.2
>Environment:
Host type: i586-ksi-linux-gnu
System: Linux localhost.localdomain 2.2.10-ac10 #1 SMP Mon Jul 12 14:10:36 EEST 1999 i586 unknown
Architecture: i586
Addons: crypt glibc-compat linuxthreads
Build CFLAGS: -mcpu=pentium -march=pentium -pipe -bi586-ksi-linux -D__USE_STRING_INLINES -fstrict-aliasing -g -O2
Build CC: gcc
Compiler version: 2.95.2 19991024 (release)
Kernel headers: 2.2.10-ac10
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:
Function fmemopen is described in libc.info but not actually available
It's available with stdio library but not with libio library :-((
open_memstream() exists in libio but it's not always enough :-/
>How-To-Repeat:
Grab sample program from glibc's info documentation about fmemopen
and try to compile it :-)
>Fix:
Use of GNU stdio instead of GNU libio ... Perhaps change in
documentation can be called "fix" as well but it does not look like a
good fix to me ...
>Audit-Trail:
>Unformatted:
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.rhein-neckar.de