Diff for /xmil/win9x/dosio.cpp between versions 1.1 and 1.2

version 1.1, 2004/08/01 05:31:31 version 1.2, 2004/08/03 12:50:54
Line 186  void __stdcall file_cutname(OEMCHAR *pat Line 186  void __stdcall file_cutname(OEMCHAR *pat
   
 OEMCHAR * __stdcall file_getext(const OEMCHAR *path) {  OEMCHAR * __stdcall file_getext(const OEMCHAR *path) {
   
 const char      *p;  const OEMCHAR   *p;
 const char      *q;  const OEMCHAR   *q;
   
         p = file_getname(path);          p = file_getname(path);
         q = NULL;          q = NULL;
Line 225  void __stdcall file_cutseparator(OEMCHAR Line 225  void __stdcall file_cutseparator(OEMCHAR
   
         int             pos;          int             pos;
   
         pos = strlen(path) - 1;          pos = STRLEN(path) - 1;
         if ((pos > 0) &&                                                        // 2文字以上でー          if ((pos > 0) &&                                                        // 2文字以上でー
                 (path[pos] == '\\') &&                                  // ケツが \ でー                  (path[pos] == '\\') &&                                  // ケツが \ でー
                 (!milstr_kanji2nd(path, pos)) &&                // 漢字の2バイト目ぢゃなくてー                  (!milstr_kanji2nd(path, pos)) &&                // 漢字の2バイト目ぢゃなくてー
Line 239  void __stdcall file_setseparator(OEMCHAR Line 239  void __stdcall file_setseparator(OEMCHAR
   
         int             pos;          int             pos;
   
         pos = strlen(path) - 1;          pos = STRLEN(path) - 1;
         if ((pos < 0) ||          if ((pos < 0) ||
                 ((pos == 1) && (path[1] == ':')) ||                  ((pos == 1) && (path[1] == ':')) ||
                 ((path[pos] == '\\') && (!milstr_kanji2nd(path, pos))) ||                  ((path[pos] == '\\') && (!milstr_kanji2nd(path, pos))) ||

Removed from v.1.1  
changed lines
  Added in v.1.2


RetroPC.NET-CVS <cvs@retropc.net>