[Lha-users] lhext.c: extract_one()

Back to archive index

MagicalSayurin magic****@users*****
2007年 5月 18日 (金) 07:53:56 JST


気になるところ第2段です。

lhext.c: extract_one()に

/*
 * if OSK then strip device name
 */
if (hdr->extend_type == EXTEND_OS68K
    || hdr->extend_type == EXTEND_XOSK) {
    do
        c = (*q++);
    while (c && c != '/');
    if (!c || !*q)
        q = ".";    /* if device name only */
}

とあります。OSKのことはよくわからないのですが、何らかの条件を満たしたとき
ファイル名を「.」とするのは変では? 「.」って多くのOSでカレント
ディレクトリを表すファイル名ですよね?




Lha-users メーリングリストの案内
Back to archive index