Skip Menu |

This queue is for tickets about the File-MMagic CPAN distribution.

Report information
The Basics
Id: 12074
Status: open
Priority: 0/
Queue: File-MMagic

People
Owner: Nobody in particular
Requestors: mark [...] summersault.com
Cc:
AdminCc:

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



Subject: position in file is altered after reading
After File::MMagic reads a file handle, it doesn't put the position back where it found it. If the position started out at the beginning, the command to return it would be: seek($fh,0,0); The current behavior caused me hours of wondering why '%PDF-' was missing from my file. Mark
Ping. This bug is still present. It was reported as a bug in Data::FormValidator here today: http://rt.cpan.org//Ticket/Display.html?id=20392 A solution was given the original report and should be easy to patch in. Mark