edje: fix edje_watch to not pass the '\n' to eio_monitor.
authorCedric BAIL <cedric.bail@samsung.com>
Wed, 5 Mar 2014 03:14:40 +0000 (12:14 +0900)
committerCedric BAIL <cedric.bail@samsung.com>
Wed, 5 Mar 2014 03:14:40 +0000 (12:14 +0900)
commitadd9540b1cc2deb3b3015f89b804e0266bba8a29
tree4c80316d31ecb4a2ff863b32f5099c737473f85b
parentbe25ab6f85ba89c94fcce987863ac2a295f13950
edje: fix edje_watch to not pass the '\n' to eio_monitor.

Eina_File line iterator does give the length of the line including the '\n'.
We did previously ignore that and passed the '\n' down to eio_monitor. Obviously
it would fail to monitor a PATH that finished with a '\n' and edje_watch did
stop working. I guess nobody did any real testing with edje watch in the past
year.

@fix
src/bin/edje/edje_watch.c