Yet another reason to get rid of FILE * dependency. Any modern i/o library with opaque reference types uses methods which know how to close it.
-Steve ----- Original Message ---- > From: Lars Tandle Kyllingstad <[email protected]> > To: Phobos mailing list <[email protected]> > Sent: Mon, August 16, 2010 4:11:01 AM > Subject: [phobos] Removing std.stdio.File.popen() > > I just noticed that std.stdio.File.popen() is POSIX-only. Taking that > into account, along with the fact that it is buggy (issue 3157), does > anyone mind if I remove it? > > It's only used once in Phobos, namely in std.process.shell(), which is > easily implemented by using core.sys.posix.stdio.popen() together with > core.sys.posix.stdio.fdopen() and std.stdio.File.wrapFile(). > > -Lars > > _______________________________________________ > phobos mailing list > [email protected] > http://lists.puremagic.com/mailman/listinfo/phobos > _______________________________________________ phobos mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/phobos
