diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-03-26 21:13:01 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-03-26 21:13:01 +0100 |
commit | c48fde9c51983494910925bc4a13cf862f320d38 (patch) | |
tree | 1d024def3e43c4544e860a9fcab48707197a29a9 /package/dosfstools/patches/patch-src_fsck_fat_h | |
parent | 291a3cf5e1ba11aa9e548a756fe85c51d7b3217f (diff) | |
parent | 199f633fb1077c7ffedff161726e9229e7312152 (diff) |
Merge branch 'master' of git+ssh://www.openadk.org/git/openadk
Diffstat (limited to 'package/dosfstools/patches/patch-src_fsck_fat_h')
-rw-r--r-- | package/dosfstools/patches/patch-src_fsck_fat_h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/package/dosfstools/patches/patch-src_fsck_fat_h b/package/dosfstools/patches/patch-src_fsck_fat_h new file mode 100644 index 000000000..feaefb58e --- /dev/null +++ b/package/dosfstools/patches/patch-src_fsck_fat_h @@ -0,0 +1,38 @@ +--- dosfstools-3.0.26.orig/src/fsck.fat.h 2014-02-08 18:53:10.000000000 +0100 ++++ dosfstools-3.0.26/src/fsck.fat.h 2014-03-26 13:29:32.000000000 +0100 +@@ -143,8 +143,8 @@ typedef struct { + typedef struct _dos_file { + DIR_ENT dir_ent; + char *lfn; +- loff_t offset; +- loff_t lfn_offset; ++ off_t offset; ++ off_t lfn_offset; + struct _dos_file *parent; /* parent directory */ + struct _dos_file *next; /* next entry */ + struct _dos_file *first; /* first entry (directory only) */ +@@ -157,19 +157,19 @@ typedef struct { + + typedef struct { + int nfats; +- loff_t fat_start; ++ off_t fat_start; + unsigned int fat_size; /* unit is bytes */ + unsigned int fat_bits; /* size of a FAT entry */ + unsigned int eff_fat_bits; /* # of used bits in a FAT entry */ + uint32_t root_cluster; /* 0 for old-style root dir */ +- loff_t root_start; ++ off_t root_start; + unsigned int root_entries; +- loff_t data_start; ++ off_t data_start; + unsigned int cluster_size; + uint32_t clusters; +- loff_t fsinfo_start; /* 0 if not present */ ++ off_t fsinfo_start; /* 0 if not present */ + long free_clusters; +- loff_t backupboot_start; /* 0 if not present */ ++ off_t backupboot_start; /* 0 if not present */ + unsigned char *fat; + DOS_FILE **cluster_owner; + char *label; |