wok-current annotate linux/stuff/linux-fix-format-overflow-gcc8.patch @ rev 25586
Fix linux build with gcc > 6 again
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon May 29 12:23:26 2023 +0000 (15 months ago) |
parents | |
children |
rev | line source |
---|---|
shann@25586 | 1 diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c |
shann@25586 | 2 index 5f87ad561b08..39e20974f4a3 100644 |
shann@25586 | 3 --- a/scripts/kconfig/confdata.c |
shann@25586 | 4 +++ b/scripts/kconfig/confdata.c |
shann@25586 | 5 @@ -720,7 +720,7 @@ int conf_write(const char *name) |
shann@25586 | 6 struct menu *menu; |
shann@25586 | 7 const char *basename; |
shann@25586 | 8 const char *str; |
shann@25586 | 9 - char dirname[PATH_MAX+1], tmpname[PATH_MAX+1], newname[PATH_MAX+1]; |
shann@25586 | 10 + char dirname[PATH_MAX+1], tmpname[PATH_MAX+22], newname[PATH_MAX+8]; |
shann@25586 | 11 char *env; |
shann@25586 | 12 |
shann@25586 | 13 dirname[0] = 0; |