This queue is for tickets about the Text-CSV_XS CPAN distribution.

Report information
The Basics
Id:
62388
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
jand [...] ActiveState.com
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
0.68
Fixed in:
0.77

Attachments
0001-Avoid-interpolation-of-s-into-s-by-buggy-C-preproces.patch



Subject: Work around CPP bug in VAC 5 on AIX
Date: Fri, 22 Oct 2010 15:21:59 -0700
To: <bug-Text-CSV_XS@rt.cpan.org>
From: "Jan Dubois" <jand@activestate.com>
It looks like under certain conditions the C preprocessor would interpolate the "s" macro parameter inside the format string for "%s". The simple workaround is to use a longer parameter name, e.g. "str" instead of "s". Cheers, -Jan PS: It also looks like the cx_pretty_str() function is leaking an SV on each call: SV *dsv = newSVpvs (""); Not sure it matters, as it is just debugging code, but throwing in an sv_2mortal() shouldn't hurt (although I didn't test it).

Message body is not shown because sender requested not to inline it.

Thanks, both applied, committed and pushed


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.