This is the mail archive of the libc-alpha@sourceware.cygnus.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]

["Khimenko Victor" <khim@sch57.msk.ru>] libc/1496: fmemopen is gone in glibc 2.x



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.



	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

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