Jump to page: 1 2
Thread overview
[Issue 13755] core.sys.linux.stdio, std.stdio.File: fopencookie, fmemopen missing
[Issue 13755] std.file: fopencookie, fmemopen missing
Nov 22, 2014
Jonathan M Davis
[Issue 13755] std.stdio.File: fopencookie, fmemopen missing
[Issue 13755] core.sys.posix.stdio, std.stdio.File: fopencookie, fmemopen missing
November 19, 2014
https://issues.dlang.org/show_bug.cgi?id=13755

Danny Milosavljevic <danny.milo@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Phobos                      |druntime

--
November 19, 2014
https://issues.dlang.org/show_bug.cgi?id=13755

--- Comment #1 from Danny Milosavljevic <danny.milo@gmail.com> ---
Then, also, File would need to be able to use such a thing. I'm not sure how one goes from a FILE* to a File. Does this work already?

--
November 21, 2014
https://issues.dlang.org/show_bug.cgi?id=13755

Danny Milosavljevic <danny.milo@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|All                         |Linux

--
November 22, 2014
https://issues.dlang.org/show_bug.cgi?id=13755

Jonathan M Davis <issues.dlang@jmdavisProg.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |issues.dlang@jmdavisProg.co
                   |                            |m

--- Comment #2 from Jonathan M Davis <issues.dlang@jmdavisProg.com> ---
Do you mean std.stdio.File? There is no File type in std.file, and nothing there wraps a FILE* or even uses it internally. The functions in std.file operate on an entire file at once rather than open it to keep it open for doing multiple operations on it.

--
November 22, 2014
https://issues.dlang.org/show_bug.cgi?id=13755

Danny Milosavljevic <danny.milo@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|std.file: fopencookie,      |std.stdio.File:
                   |fmemopen missing            |fopencookie, fmemopen
                   |                            |missing

--
November 22, 2014
https://issues.dlang.org/show_bug.cgi?id=13755

--- Comment #3 from Danny Milosavljevic <danny.milo@gmail.com> ---
Yes, I mean't std.stdio.File . But the FILE* parts seem to be in
core.sys.posix.stdio (fopen etc).

--
November 22, 2014
https://issues.dlang.org/show_bug.cgi?id=13755

Danny Milosavljevic <danny.milo@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|std.stdio.File:             |core.sys.posix.stdio,
                   |fopencookie, fmemopen       |std.stdio.File:
                   |missing                     |fopencookie, fmemopen
                   |                            |missing

--
November 22, 2014
https://issues.dlang.org/show_bug.cgi?id=13755

Danny Milosavljevic <danny.milo@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|core.sys.posix.stdio,       |core.sys.linux.stdio,
                   |std.stdio.File:             |std.stdio.File:
                   |fopencookie, fmemopen       |fopencookie, fmemopen
                   |missing                     |missing

--
November 22, 2014
https://issues.dlang.org/show_bug.cgi?id=13755

--- Comment #4 from Danny Milosavljevic <danny.milo@gmail.com> ---
(But _GNU_SOURCE is only true in core.sys.linux , so changing to that)

--
November 22, 2014
https://issues.dlang.org/show_bug.cgi?id=13755

--- Comment #5 from Danny Milosavljevic <danny.milo@gmail.com> ---
Created attachment 1456
  --> https://issues.dlang.org/attachment.cgi?id=1456&action=edit
core/sys/linux/stdio.d (new file)

interface for fopencookie

--
« First   ‹ Prev
1 2