##// END OF EJS Templates
pathencode: fix hashmangle short dir limit (issue3958)...
Siddharth Agarwal -
r19317:66da6e9f stable
parent child Browse files
Show More
@@ -585,7 +585,8 static PyObject *hashmangle(const char *
585 585 in a space or dot, which are unportable. */
586 586 if (d == '.' || d == ' ')
587 587 dest[destlen - 1] = '_';
588 if (destlen > maxshortdirslen)
588 /* The + 3 is to account for "dh/" in the beginning */
589 if (destlen > maxshortdirslen + 3)
589 590 break;
590 591 charcopy(dest, &destlen, destsize, src[i]);
591 592 p = -1;
General Comments 0
You need to be logged in to leave comments. Login now