help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: using evalstring from a loadable builtin


From: Marco Maggi
Subject: Re: using evalstring from a loadable builtin
Date: Mon, 04 Nov 2024 14:05:09 +0100

> script_string = strdup(script_string);
> evalstring(script_string, "whatever", SEVAL_NOHIST);
> free(script_string);

I meant without the free:

    script_string = strdup(script_string);
    evalstring(script_string, "whatever", SEVAL_NOHIST);

-- 
Marco



reply via email to

[Prev in Thread] Current Thread [Next in Thread]