From 7530fef6bb643c0f051d224892d66b0df42b56b0 Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Fri, 6 May 2016 09:45:06 +0200 Subject: sys-fs/dosfstools: Removed old. Package-Manager: portage-2.2.28 Signed-off-by: Lars Wendler --- .../files/dosfstools-3.0.20-name-ext.patch | 29 ---------------------- 1 file changed, 29 deletions(-) delete mode 100644 sys-fs/dosfstools/files/dosfstools-3.0.20-name-ext.patch (limited to 'sys-fs/dosfstools/files') diff --git a/sys-fs/dosfstools/files/dosfstools-3.0.20-name-ext.patch b/sys-fs/dosfstools/files/dosfstools-3.0.20-name-ext.patch deleted file mode 100644 index 71149bd4d80..00000000000 --- a/sys-fs/dosfstools/files/dosfstools-3.0.20-name-ext.patch +++ /dev/null @@ -1,29 +0,0 @@ -avoid fortify warnings about going beyond array bounds as the strcmp -assumes name[8] and ext[3] are together - ---- dosfstools-3.0.20/src/check.c -+++ dosfstools-3.0.20/src/check.c -@@ -264,7 +264,7 @@ - { - int i, spc, suspicious = 0; - const char *bad_chars = atari_format ? "*?\\/:" : "*?<>|\"\\/:"; -- const unsigned char *name = file->dir_ent.name; -+ const unsigned char *name = file->dir_ent.name_ext; - const unsigned char *ext = file->dir_ent.ext; - - /* Do not complain about (and auto-correct) the extended attribute files ---- dosfstools-3.0.20/src/fsck.fat.h -+++ dosfstools-3.0.20/src/fsck.fat.h -@@ -126,7 +126,12 @@ - }; - - typedef struct { -+ union { -+ struct { - __u8 name[8], ext[3]; /* name and extension */ -+ }; -+ __u8 name_ext[11]; -+ }; - __u8 attr; /* attribute bits */ - __u8 lcase; /* Case for base and extension */ - __u8 ctime_ms; /* Creation time, milliseconds */ -- cgit v1.2.1