[Issue 8642] New: Fix `fopen` and friends functions signatures on Windows
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Sep 11 10:38:43 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8642
Summary: Fix `fopen` and friends functions signatures on
Windows
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: major
Priority: P2
Component: druntime
AssignedTo: nobody at puremagic.com
ReportedBy: verylonglogin.reg at gmail.com
--- Comment #0 from Denis Shelomovskij <verylonglogin.reg at gmail.com> 2012-09-11 21:39:07 MSD ---
`fopen` and friends are really nasty sources of unportable code and encoding
issues on Windows.
I hope eventually we will change its signatures to not accept `char*` with our
usual deprecation process.
These functions work on POSIX systems and work-in-many-cases on Windows (read:
hard to debug) so the situation is too dangerous to continue ignoring it (how
about to count druntime/Phobos bugs because of misunderstanding of this issue?)
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list