cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: curl_memdebug() / Win32

From: Henke, Markus <Markus_Henke_at_ordat.com>
Date: Thu, 9 Jan 2003 14:16:42 +0100

Hello @all,

On Thu, 9 Jan 2003, Stenberg, Daniel wrote:
 
> > Nope, "memanalyze.pl < testfile" spits out an empty line...
 
> This just have to be a Windows specific thing. I tried the
> above with the file you posted, and I got a lot of output.

I surmised as much... :]

> It did however identify a flaw in the script thanks to your
> input, as the script didn't treat colons in file names fine
> (the drive letter in windows).

Hm, i've feeded the memanalyzer with a relativ path...

> I've committed a version that works for me using your file
> as input.

Fine, thanx!
 
> > BTW: You can feed "memanalyze" with arbitrary files on Win32,
> > nothing happens...

> Isn't that a working way to pass a file on stdin to a program?

Sure it is... 8)
I'd just expected that the memanalyzer normally says something
like "Uups, i'm sorry; don't understand that memdump" if you
feed it with, let's say a jpeg.
If so, this behaviour on Win32 might be a hint what's wrong
there...
 
> Anyway, I remade this too and the new version in CVS now
> takes a file name as
> argument, like this:
>
> "memanalyze.pl memdump"
>
> --
> Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.

Thank you & Ciao, Markus

-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
Received on 2003-01-09