Changeset 01c5b9d7 in rtems for cpukit/libfs/src/dosfs/msdos.h


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/msdos.h

    r2742cc3 r01c5b9d7  
    139139#define msdos_is_separator(_ch)          rtems_filesystem_is_separator(_ch)
    140140
    141 #define MSDOS_SHORT_NAME_LEN             11 /* 11 characters */
     141#define MSDOS_SHORT_BASE_LEN             8  /* 8 characters */
     142#define MSDOS_SHORT_EXT_LEN              3  /* 3 characters */
     143#define MSDOS_SHORT_NAME_LEN             (MSDOS_SHORT_BASE_LEN+\
     144                                          MSDOS_SHORT_EXT_LEN) /* 11 chars */
    142145#define MSDOS_NAME_MAX                   MSDOS_SHORT_NAME_LEN
    143146#define MSDOS_NAME_MAX_WITH_DOT          (MSDOS_NAME_MAX + 1)
Note: See TracChangeset for help on using the changeset viewer.