mirror of
https://github.com/samba-team/samba.git
synced 2025-02-21 01:59:07 +03:00
replace: Use the same size as d_name member of struct dirent
This fixes an error with GCC 7.1 BUG: https://bugzilla.samba.org/show_bug.cgi?id=12827 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 94e21c139f9b0c1d28ee85fdcb9b7490cc64e27b)
This commit is contained in:
parent
553433aee4
commit
3afa33b1f6
@ -63,7 +63,7 @@ static int os2_delete(DIR *d)
|
||||
off_t offsets[READDIR_SIZE];
|
||||
int i, j;
|
||||
struct dirent *de;
|
||||
char names[READDIR_SIZE][30];
|
||||
char names[READDIR_SIZE][256];
|
||||
|
||||
/* scan, remembering offsets */
|
||||
for (i=0, de=readdir(d);
|
||||
|
Loading…
x
Reference in New Issue
Block a user