Project

General

Profile

Bug #527

Updated by Robin Mills about 4 years ago

When the -l switch is used and a directory is specified that ends in the directory separator "\" the extraction fails with error code 22. It appears that this sequence of parameters causes the thumbnail filename to be incorrectly generated.

Supplying a directory name without the ending "\" functions properly.



*Additional information:*



C:\Documents and Settings\jeff.WOEHLER\My Documents\utilities\exiv2>exiv2 -et DS
C00498.JPG -l "C:\Documents and Settings\jeff.WOEHLER\Local Settings\Temp"

C:\Documents and Settings\jeff.WOEHLER\My Documents\utilities\exiv2>exiv2 -et DS
C00498.JPG -l "C:\Documents and Settings\jeff.WOEHLER\Local Settings\Temp\"
Exiv2 exception in extract action for file DSC00498.JPG:
C:\Documents and Settings\jeff.WOEHLER\Local Settings\Temp"\DSC00498-thumb.jpg:
Failed to open file (wb): Invalid argument (22)

Back