Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-DLEAKTEST problem #2257

Closed
p5pRT opened this issue Jul 24, 2000 · 3 comments
Closed

-DLEAKTEST problem #2257

p5pRT opened this issue Jul 24, 2000 · 3 comments

Comments

@p5pRT
Copy link

p5pRT commented Jul 24, 2000

Migrated from rt.perl.org#3575 (status was 'resolved')

Searchable as RT3575$

@p5pRT
Copy link
Author

p5pRT commented Jul 24, 2000

From pfeilgm@technomadic.org

I needed to find a memory leak in some code, so I went to compile Perl
5.6.0 with -DLEAKTEST. It happily failed on me. I have two little
diffs here that make it compile, and everything I've tried this new
binary with works. Anyway, it's a small patch, so I've included the
two diffs here​:

perl.h​:
2039a2040

#define DEBUG_L(a)

util.c​:
1876c1876,1881
< DEBUG_L(xstat());


          DEBUG\_L\(\*message == '\!'
                  ? \(xstat\(message\[1\]=='\!'
                           ? \(message\[2\]=='\!' ? 2 : 1\)
                           : 0\)
                     \, 0\)
                  : 0\);

I'm really new at this, so please let me know if these diffs are any
good. Thank you.

@p5pRT
Copy link
Author

p5pRT commented May 8, 2003

From @iabyn

(Just reviewing old perl bugs).

Your patch appears to have been applied to the 5.6.x branch,
and the 5.8.x branch doesnt use LEAKTEST any more, so I'm closing the call.

Regards,

dave M.

@p5pRT
Copy link
Author

p5pRT commented May 8, 2003

@iabyn - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant