facf0c92e0
Red Bear OS is a full fork. All sources must be available from git clone with zero network access. Removed gitignore rules that excluded fetched source trees under recipes/*/source/, local/recipes/kde/*/source/, local/recipes/qt/*/source/, and vendor source trees. Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded. 127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt frameworks, mesa, wayland, DRM drivers, and every other recipe source.
22 lines
541 B
Batchfile
22 lines
541 B
Batchfile
@ECHO OFF
|
|
REM Complete check of a stateless encoding.
|
|
REM Usage: check-stateless.bat SRCDIR CHARSET
|
|
|
|
.\table-from %2 > tmp-%2.TXT
|
|
.\table-to %2 | sort > tmp-%2.INVERSE.TXT
|
|
fc %1\%2.TXT tmp-%2.TXT
|
|
|
|
if not exist %1\%2.IRREVERSIBLE.TXT goto ELSE_1
|
|
copy /a %1\%2.TXT /a + %1\%2.IRREVERSIBLE.TXT /a tmp
|
|
sort < tmp | uniq-u > tmp-orig-%2.INVERSE.TXT
|
|
fc tmp-orig-%2.INVERSE.TXT tmp-%2.INVERSE.TXT
|
|
del tmp
|
|
del tmp-orig-%2.INVERSE.TXT
|
|
goto ENDIF_1
|
|
:ELSE_1
|
|
fc %1\%2.TXT tmp-%2.INVERSE.TXT
|
|
:ENDIF_1
|
|
|
|
del tmp-%2.TXT
|
|
del tmp-%2.INVERSE.TXT
|