winedos: fix Filename Terminator Table

Markus Amsler markus.amsler at oribi.org
Tue Sep 7 05:15:08 CDT 2004


Changelog:
* fix Filename Terminator Table, correct exclude_last value
-------------- next part --------------
Index: dlls/winedos/int21.c
===================================================================
RCS file: /home/wine/wine/dlls/winedos/int21.c,v
retrieving revision 1.64
diff -u -r1.64 int21.c
--- dlls/winedos/int21.c	12 Jul 2004 19:53:24 -0000	1.64
+++ dlls/winedos/int21.c	2 Aug 2004 17:02:41 -0000
@@ -469,10 +469,14 @@
  *           INT21_FillHeap
  *
  * Initialize DOS heap.
+ *
+ * Filename Terminator Table of w2k DE NTVDM:
+ * 16 00 01 00 FF 00 00 20-02 0E 2E 22 2F 5C 5B 5D  ....... ..."/\[]
+ * 3A 7C 3C 3E 2B 3D 3B 2C-00                       :|<>+=;,
  */
 static void INT21_FillHeap( INT21_HEAP *heap )
 {
-    static const char terminators[] = "\"\\./[]:|<>+=;,";
+    static const char terminators[] = ".\"/\\[]:|<>+=;,";
     int i;
 
     /*
@@ -504,11 +508,11 @@
     strcpy( heap->filename_illegal_table, terminators );
 
     heap->filename_reserved1 = 0x01;
-    heap->filename_lowest = 0;           /* FIXME: correct value? */
-    heap->filename_highest = 0xff;       /* FIXME: correct value? */
+    heap->filename_lowest = 0x00;
+    heap->filename_highest = 0xff;
     heap->filename_reserved2 = 0x00;    
-    heap->filename_exclude_first = 0x00; /* FIXME: correct value? */
-    heap->filename_exclude_last = 0x00;  /* FIXME: correct value? */
+    heap->filename_exclude_first = 0x00;
+    heap->filename_exclude_last = 0x20;
     heap->filename_reserved3 = 0x02;
 
     /*


More information about the wine-patches mailing list