Re: [E-devel] Change request for evas

2011-08-08 Thread Tom Hacohen
On 09/08/11 08:43, Vincent Torri wrote: > > > On Tue, 9 Aug 2011, Daniel Juyung Seo wrote: > >> What about strdup? > > slower. We know the length, here Not only that we know the length, we also wanted to copy up to a certain point, and not up to the terminating null. -- Tom. ---

Re: [E-devel] Change request for evas

2011-08-08 Thread Tom Hacohen
On 09/08/11 08:42, Vincent Torri wrote: > strncpy is faster than memcpy ? > No, the opposite is true, and that's exactly what he said. -- Tom. -- uberSVN's rich system and user administration capabilities and model conf

Re: [E-devel] Change request for evas

2011-08-08 Thread The Rasterman
On Tue, 9 Aug 2011 07:42:13 +0200 (CEST) Vincent Torri said: > > > On Tue, 9 Aug 2011, Carsten Haitzler (The Rasterman) wrote: > > > On Mon, 08 Aug 2011 17:45:30 +0300 Tom Hacohen > > said: > > > >> On 08/08/11 17:40, Carsten Haitzler (The Rasterman) wrote: > >>> removed in svn. someone was b

Re: [E-devel] Change request for evas

2011-08-08 Thread Vincent Torri
On Tue, 9 Aug 2011, Daniel Juyung Seo wrote: What about strdup? slower. We know the length, here Vincent Daniel Juyung Seo (SeoZ) On Tue, Aug 9, 2011 at 9:06 AM, Carsten Haitzler wrote: On Mon, 08 Aug 2011 17:45:30 +0300 Tom Hacohen said: On 08/08/11 17:40, Carsten Haitzler (The Ra

Re: [E-devel] Change request for evas

2011-08-08 Thread Vincent Torri
On Tue, 9 Aug 2011, Carsten Haitzler (The Rasterman) wrote: > On Mon, 08 Aug 2011 17:45:30 +0300 Tom Hacohen > said: > >> On 08/08/11 17:40, Carsten Haitzler (The Rasterman) wrote: >>> removed in svn. someone was being bad... >>> >>> >> >> Was just about to fix it, but I guess you were faster t

Re: [E-devel] Change request for evas

2011-08-08 Thread The Rasterman
On Tue, 9 Aug 2011 09:24:22 +0900 Daniel Juyung Seo said: but beware.. strdupa is a gnu extn. :) > What about strdup? > > Daniel Juyung Seo (SeoZ) > > On Tue, Aug 9, 2011 at 9:06 AM, Carsten Haitzler wrote: > > On Mon, 08 Aug 2011 17:45:30 +0300 Tom Hacohen > > said: > > > >> On 08/08/11 17:

Re: [E-devel] Change request for evas

2011-08-08 Thread The Rasterman
On Tue, 9 Aug 2011 09:24:22 +0900 Daniel Juyung Seo said: strdupa will dup onto the stack :) > What about strdup? > > Daniel Juyung Seo (SeoZ) > > On Tue, Aug 9, 2011 at 9:06 AM, Carsten Haitzler wrote: > > On Mon, 08 Aug 2011 17:45:30 +0300 Tom Hacohen > > said: > > > >> On 08/08/11 17:40,

Re: [E-devel] Change request for evas

2011-08-08 Thread Daniel Juyung Seo
What about strdup? Daniel Juyung Seo (SeoZ) On Tue, Aug 9, 2011 at 9:06 AM, Carsten Haitzler wrote: > On Mon, 08 Aug 2011 17:45:30 +0300 Tom Hacohen > said: > >> On 08/08/11 17:40, Carsten Haitzler (The Rasterman) wrote: >> > removed in svn. someone was being bad... >> > >> > >> >> Was just abo

Re: [E-devel] Change request for evas

2011-08-08 Thread The Rasterman
On Mon, 08 Aug 2011 17:45:30 +0300 Tom Hacohen said: > On 08/08/11 17:40, Carsten Haitzler (The Rasterman) wrote: > > removed in svn. someone was being bad... > > > > > > Was just about to fix it, but I guess you were faster this time. I'll > get you next time. > > As for strndup: It's a usefu

Re: [E-devel] Change request for evas

2011-08-08 Thread Tom Hacohen
On 08/08/11 17:40, Carsten Haitzler (The Rasterman) wrote: > removed in svn. someone was being bad... > > Was just about to fix it, but I guess you were faster this time. I'll get you next time. As for strndup: It's a useful extension, we should probably detect and implement it on our own (as a

Re: [E-devel] Change request for evas

2011-08-08 Thread The Rasterman
On Mon, 8 Aug 2011 07:27:35 -0700 Dave Ray said: > Evas is failing to build on OSX because it is now using _strndup, which is a > GNU extension not supported on OSX by default. > > make[5]: Nothing to be done for `all-am'. > Making all in include > make[4]: Nothing to be done for `all'. > CC

[E-devel] Change request for evas

2011-08-08 Thread Dave Ray
Evas is failing to build on OSX because it is now using _strndup, which is a GNU extension not supported on OSX by default. make[5]: Nothing to be done for `all-am'. Making all in include make[4]: Nothing to be done for `all'. CC main.lo CCLD libevas.la Undefined symbols: "_strndup", refere