raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=f8a88dab0e359fbb53b5607b30708274d49ffe2b

commit f8a88dab0e359fbb53b5607b30708274d49ffe2b
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Fri Jan 11 16:03:39 2019 +0000

    warn - make buffer bigger to avoid trunc warn
---
 src/modules/wizard/page_020.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/modules/wizard/page_020.c b/src/modules/wizard/page_020.c
index 3bef50140..a881f692d 100644
--- a/src/modules/wizard/page_020.c
+++ b/src/modules/wizard/page_020.c
@@ -23,7 +23,7 @@ wizard_page_shutdown(E_Wizard_Page *pg EINA_UNUSED)
 static Evas_Object *
 _profile_content_get(char *prof, Evas_Object *obj, const char *part)
 {
-   char buf[PATH_MAX], buf2[PATH_MAX];
+   char buf[PATH_MAX + 100], buf2[PATH_MAX];
    Evas_Object *ic;
    Efreet_Desktop *desktop;
 
@@ -56,7 +56,7 @@ static char *
 _profile_text_get(char *prof, Evas_Object *obj EINA_UNUSED, const char *part)
 {
    char *label;
-   char buf[PATH_MAX], buf2[PATH_MAX];
+   char buf[PATH_MAX + 100], buf2[PATH_MAX];
    Efreet_Desktop *desktop;
 
    if (!eina_streq(part, "elm.text")) return NULL;
@@ -73,7 +73,7 @@ _profile_text_get(char *prof, Evas_Object *obj EINA_UNUSED, 
const char *part)
 static void
 _profile_select(void *data, Evas_Object *obj EINA_UNUSED, void *event_info 
EINA_UNUSED)
 {
-   char buf[PATH_MAX], buf2[PATH_MAX];
+   char buf[PATH_MAX + 100], buf2[PATH_MAX];
    Efreet_Desktop *desk = NULL;
    profile = data;
 

-- 


Reply via email to