[Issue 8642] Fix `fopen` and friends signatures on Windows to not accept `char*`

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Sep 11 14:37:49 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8642



--- Comment #3 from Jonathan M Davis <jmdavisProg at gmx.com> 2012-09-11 14:38:12 PDT ---
In what way are the signatures wrong?

According to the Linux man page, digitalmars' documentation, _and_ MSDN, fopen
is

FILE *fopen(const char *path, const char *mode);

And in druntime, it's

FILE* fopen(in char* filename, in char* mode);

The only difference is that in is const scope instead of just const. in
shouldn't have been used, but it won't affect the kind of stuff that you're
talking about.

-- 
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