I suspect the problem is caused by the top-bit set non-ascii characters in your path rather than the length of the string.
While I think your patch is sufficient, I'd actually fix:
* The cast of (int) in strtoint and change it to a (unsigned int)
* and the type of export_hash
I suspect the problem is caused by the top-bit set non-ascii characters in your path rather than the length of the string.
While I think your patch is sufficient, I'd actually fix:
* The cast of (int) in strtoint and change it to a (unsigned int)
* and the type of export_hash
Dave