User Details
- User Since
- May 27 2014, 3:17 PM (628 w, 2 d)
Yesterday
Fri, Jun 5
Thu, Jun 4
Tue, Jun 2
Mon, Jun 1
Sat, May 30
The previous version failed for names that required exactly n*13+1 UTF-16 symbols (e.g. 123456🤐1234🤐) and had a surrogate pair at the end of the name.
This problam was detected by running the msdos24.sh test script recently added to the stress2/misc directory.
The cause was that the end of the unix name had been seen, which made unix2winfn() return end == true, but there still was a surrogate value that required another invocation of unix2winfn() to be written to the next directory slot.
Fri, May 29
I have found that the test added to the stress2/misc directory to specifically test filenames with surrogate pairs (msdos24.sh) reports errors.
When restricted to just ASCII file names or UTF-16 symbols without surrogate pairs, the test succeeds.
I have committed 3 new tests in tools/test/stress2/misc (msdos22.sh, msdos23.sh, msdos24.sh), since I found that msdosfs with the patches in this review failed "under load" when running these tests (originally the script that has been committed as msdos24.sh).
Thu, May 28
Wed, May 20
Tue, May 19
Sat, May 16
May 13 2026
May 9 2026
May 8 2026
Apr 28 2026
Apr 22 2026
Thanks for pointing out the typo in dc_tests.sh.
I can see that this typo makes the test fail on the build cluster, when run under an account without write access to /usr/tests/usr.bin/gh-bc.
It worked on my machine when run as root, but that's no excuse ...
I plan to commit these patches after some more testing (for some reason depends_cleanup.sh is not executed during buildworld, but the tests obj directory is removed in stage 2.2, anyway).
Apr 21 2026
The author of this BC / DC has asked me to not create a fork.
The typo in all.sh has been reported by me and fixed in upstream commit 3887cc1.
The author offered to tag a version 7.1.1, but since it did not affect FreeBSD (usage() in all.sh is not used on FreeBSD, since valid parameters are being passed), I did not ask for it.
The script tests are only relevant for the port, since they depend on a previous version of BC / DC installed on the system the test is run on.
Since no previous version can be assumed to exist on the base system, there is no way to generate the expected outputs from a binary other than the one to be tested.
Apr 11 2026
The tests complete in 3 seconds on my amd64 system.
I do assume that the 100 times slower execition on riscv64 is due to inefficient emulation of that platform?
Instead of patching the timeout in individual ports, I believe the parameters in the CI system should be adjusted to account for the slow execution speed of emulated systems.
Therefore, I do not want to set the timeout to such a high value for all platforms.
If there is consensus that changing individual ports is required, I'd make the timeout adjustment depend on the architecture (apparently, only riscv64 is affected).
Apr 5 2026
Mar 7 2026
Mar 6 2026
Mar 4 2026
Mar 1 2026
Feb 8 2026
Dec 18 2025
Dec 5 2025
Nov 9 2025
Nov 6 2025
Oct 9 2025
Oct 6 2025
Oct 5 2025
Sep 17 2025
Sep 11 2025
Sep 10 2025
Sep 8 2025
Aug 29 2025
Aug 28 2025
Aug 16 2025
Aug 6 2025
Aug 5 2025
Jul 28 2025
Jul 27 2025
Jul 24 2025
Jul 4 2025
Jun 27 2025
Jun 24 2025
Jun 23 2025
Jun 22 2025
Jun 12 2025
Jun 11 2025
Update diff to be in standard format (had been created with "diff.mnemonicprefix=true").