Thanks for the backport Stefan
But I don't think example change is the target of backport.
How do you think?

Maybe we need to consider documentation fix as well.

Thanks.

Daniel Juyung Seo (SeoZ)


On Fri, Feb 28, 2014 at 8:18 PM, Stefan Schmidt
<[email protected]>wrote:

> stefan pushed a commit to branch efl-1.9.
>
>
> http://git.enlightenment.org/core/efl.git/commit/?id=8f3188d42e63954be6d33713270701f36a9f7117
>
> commit 8f3188d42e63954be6d33713270701f36a9f7117
> Author: Stefan Schmidt <[email protected]>
> Date:   Fri Feb 28 12:13:46 2014 +0100
>
>     examples/evas: Set a proper format string for fprintf
>
>     Instead of abusing the format string we should set it.
>     Was made aware of this problme by chinmaya061 in
>     https://phab.enlightenment.org/D585
>
>     @fix
> ---
>  src/examples/evas/evas-box.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/examples/evas/evas-box.c b/src/examples/evas/evas-box.c
> index c58298e..160135d 100644
> --- a/src/examples/evas/evas-box.c
> +++ b/src/examples/evas/evas-box.c
> @@ -108,7 +108,7 @@ _on_keydown(void        *data EINA_UNUSED,
>
>     if (strcmp(ev->key, "h") == 0) /* print help */
>       {
> -        fprintf(stdout, commands);
> +        fprintf(stdout, "%s",  commands);
>          return;
>       }
>
> @@ -361,7 +361,7 @@ main(void)
>     evas_object_image_border_center_fill_set(d.border,
> EVAS_BORDER_FILL_NONE);
>     evas_object_show(d.border);
>
> -   fprintf(stdout, commands);
> +   fprintf(stdout, "%s", commands);
>
>     _canvas_resize_cb(d.ee);
>     ecore_main_loop_begin();
>
> --
>
>
>
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to