Skip Menu |

This queue is for tickets about the MARC-Charset CPAN distribution.

Report information
The Basics
Id: 108486
Status: open
Priority: 0/
Queue: MARC-Charset

Owner: Nobody in particular
Requestors: jrittenh [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: invalid call to sprintf on line 308
Date: Thu, 5 Nov 2015 11:39:49 -0500
To: bug-MARC-Charset [...]
From: Justin Rittenhouse <jrittenh [...]>
Download (untitled) / with headers
text/plain 414b
Line 308 in MARC/ (marc8_to_utf8 subroutine) calls sprintf with no formatting parameter:: 306 if (!$found) 307 { 308 warn(sprintf("no mapping found for [0x\%X] at position $index in $marc8 ". 309 "g0=".MARC::Charset::Constants::charset_name($G0) . " " . 310 "g1=".MARC::Charset::Constants::charset_name($G1), unpack('C',substr($marc8,$index,1))));
Download (untitled) / with headers
text/plain 507b
The call to sprintf looks fine. The FORMAT string contains a valid format specifier (%X). Can you provide more details regarding the problem you are experiencing? This will help the module author as well as other users understand how this affects their code. What are the symptoms of the problem? If you have error or warning messages when you run your code, please post them exactly as they appear. Can you post a small, runnable code example which demonstrates the problem you are experiencing?

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to