Changeset 665f03a in rtems


Ignore:
Timestamp:
Jul 12, 2016, 10:43:06 AM (4 years ago)
Author:
Joel Sherrill <joel@…>
Branches:
5, master
Children:
612297e8
Parents:
814bd6e3
Message:

DOSFS - LENGHT -> LENGTH

closes #2756,

Location:
cpukit/libfs/src/dosfs
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libfs/src/dosfs/msdos.h

    r814bd6e3 r665f03a  
    237237
    238238/* Size limits for files and directories */
    239 #define MSDOS_MAX_DIR_LENGHT               0x200000   /* 2,097,152 bytes */
     239#define MSDOS_MAX_DIR_LENGTH               0x200000   /* 2,097,152 bytes */
    240240#define MSDOS_MAX_FILE_SIZE                0xFFFFFFFF /* 4 Gb */
    241241
  • cpukit/libfs/src/dosfs/msdos_create.c

    r814bd6e3 r665f03a  
    191191        fat_fd->fat_file_size = 0;
    192192        fat_fd->fat_file_type = FAT_DIRECTORY;
    193         fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;
     193        fat_fd->size_limit = MSDOS_MAX_DIR_LENGTH;
    194194        fat_file_set_ctime_mtime(fat_fd, now);
    195195
  • cpukit/libfs/src/dosfs/msdos_initsupp.c

    r814bd6e3 r665f03a  
    9898    /* again: unfortunately "fat-file" is just almost fat file :( */
    9999    fat_fd->fat_file_type = FAT_DIRECTORY;
    100     fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;
     100    fat_fd->size_limit = MSDOS_MAX_DIR_LENGTH;
    101101    fat_fd->cln = fs_info->fat.vol.rdir_cl;
    102102
  • cpukit/libfs/src/dosfs/msdos_misc.c

    r814bd6e3 r665f03a  
    389389        {
    390390            fat_fd->fat_file_type = FAT_DIRECTORY;
    391             fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;
     391            fat_fd->size_limit = MSDOS_MAX_DIR_LENGTH;
    392392
    393393            rc = fat_file_size(&fs_info->fat, fat_fd);
     
    582582    fat_fd->cln = cln;
    583583    fat_fd->fat_file_type = FAT_DIRECTORY;
    584     fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;
     584    fat_fd->size_limit = MSDOS_MAX_DIR_LENGTH;
    585585
    586586    fat_fd->map.file_cln = 0;
     
    651651
    652652    fat_fd->fat_file_type = FAT_DIRECTORY;
    653     fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;
     653    fat_fd->size_limit = MSDOS_MAX_DIR_LENGTH;
    654654
    655655    fat_fd->map.file_cln = 0;
Note: See TracChangeset for help on using the changeset viewer.