Use memcpy instead of strndup() as we know the length of the string. Also fixes compilation on Mac OS X where strndup() is not defined.
Use memcpy instead of strndup() as we know the length of the string.
Also fixes compilation on Mac OS X where strndup() is not defined.


SVN revision: 56341

gfriloux/ecore,gfriloux/ecore,gfriloux/ecore