1 Aug 2007 17:47
MAX_CHARSETS and NUM_CHARSETS
HAT <hat <at> fa2.so-net.ne.jp>
2007-08-01 15:47:57 GMT
2007-08-01 15:47:57 GMT
What do the following two macros mean? #define MAX_CHARSETS in libatalk/unicode/charcnv.c #define NUM_CHARSETS in include/atalk/unicode.h Using netatalk 2.0.3, all maccharsets can be mounted. However, when netatalk 2.1dev (CVS HEAD) is used, some maccharsets cannot be mounted. Is the value of MAX_CHARSETS or NUM_CHARSETS small? NETATALK 2.0.3 ============================================= #define MAX_CHARSETS 10 in libatalk/unicode/charcnv.c #define NUM_CHARSETS 5 in include/atalk/unicode.h --- AppleVolumes.default ----------------------------------- /export/test01 "test01" maccharset:MAC_CENTRALEUROPE /export/test02 "test02" maccharset:SHIFT_JIS /export/test03 "test03" maccharset:MAC_ROMAN /export/test04 "test04" maccharset:MAC_HEBREW /export/test05 "test05" maccharset:MAC_TURKISH /export/test06 "test06" maccharset:MAC_CYRILLIC --- log ---------------------------------------------------- afpd[2840][charcnv.c:238]: D5:Default: Added charset MAC_CENTRALEUROPE with handle 5 afpd[2840][charcnv.c:238]: D5:Default: Added charset SHIFT_JIS with handle 6 afpd[2840][charcnv.c:238]: D5:Default: Added charset MAC_HEBREW with handle 7 afpd[2840][charcnv.c:238]: D5:Default: Added charset MAC_TURKISH with handle 8 afpd[2840][charcnv.c:238]: D5:Default: Added charset MAC_CYRILLIC with handle 9 NETATALK 2.1dev ============================================ #define MAX_CHARSETS 10 in libatalk/unicode/charcnv.c(Continue reading)
RSS Feed