2002-08-11 Koji Arai <jca02266@nifty.ne.jp>
+ * src/lha_macro.h (SJC_FIRST_P): rename to SJIS_FIRST_P.
+ (SJC_SECOND_P): rename to SJIS_SECOND_P.
+
+ * src/util.c (convdelim): removed.
+
+ * src/header.c (convert_filename): when small letter is included
+ in filename, do not convert case.
+
* tests/lha-test.in, tests/lha-test2, tests/lha-test3, tests/lha-test4, tests/lha-test5, tests/lha-test6, tests/lha-test7, tests/lha-test8, tests/lha-test9, tests/lha-test10, tests/lha-test11, tests/lha-test12, tests/lha-test13:
print filename when test failed.
FILENAME=lha-test13
message testing the kanji code conversion.
-printf '\xb4\xc1\xbb\xfa\xc9\xbd\n' > test-tmp-euc
+printf '\xb4\xc1\xbb\xfa\n' > test-tmp-euc
check $? $LINENO
-printf '\x8a\xbf\x8e\x9a\x95\x5c\n' > test-tmp-sjis
+printf '\x8a\xbf\x8e\x9a\n' > test-tmp-sjis
check $? $LINENO
# no convert
$lha c test-tmp-euc.lzh test-tmp-euc
check $? $LINENO
i=0
-while ((i++ < 100))
+while ((i++ < 10))
do
- cat test-tmp-euc >> test-tmp-euc2
- cat test-tmp-sjis >> test-tmp-sjis2
-done
+ cat test-tmp-euc
+done > test-tmp-euc2
+
+i=0
+while ((i++ < 10))
+do
+ cat test-tmp-sjis
+done > test-tmp-sjis2
# no convert
$lha c test-tmp-euc2.lzh test-tmp-euc2