git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e9bff1
)
replace: Use the same size as d_name member of struct dirent
author
Andreas Schneider
<asn@samba.org>
Thu, 1 Jun 2017 12:16:56 +0000
(14:16 +0200)
committer
Jeremy Allison
<jra@samba.org>
Thu, 1 Jun 2017 17:35:10 +0000
(19:35 +0200)
This fixes an error with GCC 7.1
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/replace/test/os2_delete.c
patch
|
blob
|
history
diff --git
a/lib/replace/test/os2_delete.c
b/lib/replace/test/os2_delete.c
index 0816f611516d654875c791c6ff5b4329df7a10c6..4b99ccf910344159067791f9e47a60038b04ca41 100644
(file)
--- a/
lib/replace/test/os2_delete.c
+++ b/
lib/replace/test/os2_delete.c
@@
-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);