Ignore:
Timestamp:
Mar 25, 2003, 5:01:56 PM (17 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
bf71e25e
Parents:
2742cc3
Message:

2003-03-25 Thomas Doerfler <Thomas.Doerfler@…>

PR 367/filesystem

  • src/dosfs/Makefile.am, src/dosfs/fat.c, src/dosfs/fat.h, src/dosfs/fat_fat_operations.c, src/dosfs/fat_file.c, src/dosfs/msdos.h, src/dosfs/msdos_dir.c: Some bugs were still present in the DOSFS implementation:
    • FAT12 did not work properly on Big-Endian machines
    • Some synchronization and error handling problems were present
    • Some legal codings for EOC were not recognized
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libfs/src/dosfs/fat_file.c

    r2742cc3 r01c5b9d7  
    771771       
    772772    /* for each cluster of the file ... */
    773     while ((cur_cln & fs_info->vol.mask) != fs_info->vol.eoc_val)
     773    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)
    774774    {
    775775        sec = fat_cluster_num_to_sector_num(mt_entry, cur_cln);
     
    831831    fat_fd->fat_file_size = 0;
    832832 
    833     while ((cur_cln & fs_info->vol.mask) != fs_info->vol.eoc_val)
     833    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)
    834834    {
    835835        save_cln = cur_cln;
Note: See TracChangeset for help on using the changeset viewer.