Enlightenment CVS committal Author : englebass Project : e_modules Module : echo
Dir : e_modules/echo/src Modified Files: e_mod_main.c Log Message: Declare buffer static so that the return value is defined. =================================================================== RCS file: /cvs/e/e_modules/echo/src/e_mod_main.c,v retrieving revision 1.13 retrieving revision 1.14 diff -u -3 -r1.13 -r1.14 --- e_mod_main.c 5 Feb 2008 18:48:48 -0000 1.13 +++ e_mod_main.c 17 Mar 2008 07:54:00 -0000 1.14 @@ -172,7 +172,7 @@ static const char * _gc_id_new(void) { - char buf[PATH_MAX]; + static char buf[PATH_MAX]; snprintf(buf, sizeof(buf), "%s.%d", _gc_class.name, evas_list_count(instances)); ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs