Re: [Mesa-dev] [PATCH 1/3] clover: fix _logs string creation

2014-09-05 Thread Jan Vesely
On Mon, 2014-08-18 at 09:20 +0300, Francisco Jerez wrote: > EdB writes: > > > compact::string is not \0 terminated. > > size() need to be used for std::string creation > > --- > > src/gallium/state_trackers/clover/core/program.cpp | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > >

Re: [Mesa-dev] [PATCH 1/3] clover: fix _logs string creation

2014-08-18 Thread EdB
On Monday, August 18, 2014 09:20:03 AM Francisco Jerez wrote: > EdB writes: > > compact::string is not \0 terminated. > > size() need to be used for std::string creation > > --- > > > > src/gallium/state_trackers/clover/core/program.cpp | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(

Re: [Mesa-dev] [PATCH 1/3] clover: fix _logs string creation

2014-08-17 Thread Francisco Jerez
EdB writes: > compact::string is not \0 terminated. > size() need to be used for std::string creation > --- > src/gallium/state_trackers/clover/core/program.cpp | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/src/gallium/state_trackers/clover/core/program.cpp > b/sr

[Mesa-dev] [PATCH 1/3] clover: fix _logs string creation

2014-08-07 Thread EdB
compact::string is not \0 terminated. size() need to be used for std::string creation --- src/gallium/state_trackers/clover/core/program.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/state_trackers/clover/core/program.cpp b/src/gallium/state_trackers/clov