Commit in reactos/lib/fslib/vfatlib on ros-branch-0_2_1
fat12.c+1-11.3 -> 1.3.14.1
fat16.c+1-11.5 -> 1.5.14.1
+2-2
2 modified files
Also zero out first sector of root dir when formatting FAT12 and FAT16
volumes

reactos/lib/fslib/vfatlib
fat12.c 1.3 -> 1.3.14.1
diff -u -r1.3 -r1.3.14.1
--- fat12.c	12 Sep 2003 17:51:46 -0000	1.3
+++ fat12.c	19 Feb 2004 21:24:28 -0000	1.3.14.1
@@ -223,7 +223,7 @@
   memset(Buffer, 0, 32 * 1024);
 
   Sectors = 32 * 1024 / BootSector->BytesPerSector;
-  for (i = 1; i < RootDirSectors; i += Sectors)
+  for (i = 0; i < RootDirSectors; i += Sectors)
     {
       /* Zero some sectors of the root directory */
       FileOffset.QuadPart = (FirstRootDirSector + i) * BootSector->BytesPerSector;

reactos/lib/fslib/vfatlib
fat16.c 1.5 -> 1.5.14.1
diff -u -r1.5 -r1.5.14.1
--- fat16.c	12 Sep 2003 17:51:46 -0000	1.5
+++ fat16.c	19 Feb 2004 21:24:28 -0000	1.5.14.1
@@ -226,7 +226,7 @@
   memset(Buffer, 0, 32 * 1024);
 
   Sectors = 32 * 1024 / BootSector->BytesPerSector;
-  for (i = 1; i < RootDirSectors; i += Sectors)
+  for (i = 0; i < RootDirSectors; i += Sectors)
     {
       /* Zero some sectors of the root directory */
       FileOffset.QuadPart = (FirstRootDirSector + i) * BootSector->BytesPerSector;
CVSspam 0.2.8