The latest versions of dcraw.c (http://cybercom.net/~dcoffin/dcraw/dcraw.c) contain minor changes that break the testing function built into the dcraw module. Since a successful test is required to edit the path to the binary, this effectively breaks support for newer versions of dcraw. Reasons for breakage: dcraw not dumps its help screen to stdout instead of stderr. Also, case was altered in the title string the module pattern matches against to perform a version check. Both result in the preg_match failing.
Patch fixing compatibility issues with dcraw
Logged In: YES
user_id=942712
Originator: NO
Thanks a lot!
The patch is perfect.
FYI:
I added a unittest and I'm using [Pp] and [Dd] in the regular expression instead of the i modifier since the i modifier is localized and thus unpredictable (it's not a strict ASCII case-insensitive modifier).
The change is in review by another dev and will be part of G2.2 RC-2.