patch to experimental upload code from Tom�? Holu?a <tomas.holusa@netcentrum.cz>
patch to experimental upload code from Tom�? Holu?a
<tomas.holusa@netcentrum.cz>

quoting e-mail to gphoto-devel@ :

>When guessing filename to store uploaded file into, you use function
>strcmp() to all files in folder and find the "MAXIMAL", then add
>but when we (for example) have files:
>AUT_0628.JPG
>AUT_0629.JPG
>IMG_0626.JPG
>IMG_0627.JPG
>you mark as last "627" (because 	MG' is more than UT') and new file
>will be named AUT_0628 which will overwrite old one!
>
>Better compare by strcmp() only numbers, not prefixes


git-svn-id: 40dd595c6684d839db675001a64203a1457e7319@5138 67ed7778-7388-44ab-90cf-0a291f65f57c

jbreeden/libgphoto2,msmeissn/libgphoto2,thusoy/libgphoto2,gphoto/libgphoto2,thusoy/libgphoto2,gphoto/libgphoto2,thusoy/libgphoto2,thusoy/libgphoto2,msmeissn/libgphoto2,msmeissn/libgphoto2,jbreeden/libgphoto2,msmeissn/libgphoto2,jbreeden/libgphoto2,thusoy/libgphoto2,gphoto/libgphoto2,jbreeden/libgphoto2,gphoto/libgphoto2,gphoto/libgphoto2,jbreeden/libgphoto2,msmeissn/libgphoto2,gphoto/libgphoto2