2 ms·
Why not just change the “%s.%u” to “%s.%010u” and no code changes?
by dmitrygr 2y ago
Why not just change the “%s.%u” to “%s.%010u” and no code changes?
- andrelaszlo 2y agoIf I understood the article correctly it caused problems when the same file was imported multiple times, or when another file with the same base name was imported. https://gist.github.com/bssrdf/397900607028bffd0f8d223a7acdce7e#solution https://gist.github.com/bssrdf/397900607028bffd0f8d223a7acdc...
- dmitrygr 2y agoYes, TFA says the issue is because "12345" sorts before "9888" My solution avoids that.
- consp 2y agoYou just created a fix up to a large, but arbitrary, number just pushing the problem down the road instead of fixing it.