digitalmars.D.bugs - std.utf Access Violation
- Vathix (14/14) Nov 18 2004 import std.stdio;
- Thomas Kuehne (3/13) Nov 18 2004 ~wow~, this tiny programm sucks memory like a black hole!
- Vathix (2/2) Nov 19 2004 oops, wrong subject. Should be std.uri :P
import std.stdio;
import std.uri;
int main()
{
writefln("%s", std.uri.encode("http://www.digitalmars.com/~fred/fred's
RX.html#foo"));
return 0;
}
Output (Windows):
Error: Access Violation
Seems to only happen if there's something to encode in the string. If I
compile uri.d and link with it myself it works fine, so it might be that
phobos.lib has an outdated version compiled in. I've had that problem in
my own libs.
Nov 18 2004
Vathix schrieb am Thu, 18 Nov 2004 22:15:44 -0500:
import std.stdio;
import std.uri;
int main()
{
writefln("%s", std.uri.encode("http://www.digitalmars.com/~fred/fred's
RX.html#foo"));
return 0;
}
Output (Windows):
Error: Access Violation
~wow~, this tiny programm sucks memory like a black hole!
got killed under Linux when it passed the 2GB border.
Nov 18 2004
oops, wrong subject. Should be std.uri :P I made that mistake like 4 times today.. too many acronyms!
Nov 19 2004









Thomas Kuehne <thomas-dloop kuehne.thisisspam.cn> 