Hi there,
i tried to compile efl on a somewhat hardened linux.
https://github.com/Enlightenment/efl/blob/master/src/bin/eolian_cxx/eolian_cxx.cc
"""
char* dup = strdup(opts.in_files[0].c_str());
char* base = basename(dup);
std::string cpp_types_header;
opts.unit = (Eolian_Unit*)opts.state;
klass
Well,
dup and base can be the same pointer.
BR
On Sat, 20 Apr 2019, 11:07 Xavi Artigas, wrote:
> Hi,
>
> Nobody is freeing what basename returns, right? Or am I reading it wrong?
> (I am not in front of the computer)
>
> Xavi
>
> On Fri, 19 Apr 2019, 5:44 pm Simon
t;>>
>>> Nobody is freeing what basename returns, right? Or am I reading it wrong?
>>> (I am not in front of the computer)
>>>
>>> Xavi
>>>
>>> On Fri, 19 Apr 2019, 5:44 pm Simon Mages via enlightenment-devel, <
>>> enlightenmen