On 7/5/23 3:25 PM, Grisha Levit wrote:
On Wed, May 31, 2023 at 6:23 PM Grisha Levit wrote:
If rl_filename_rewrite_hook returns a new string for a filename (which
I guess only happens on macOS with bash), it is in most cases not
free-d.
I think this one got dropped.
I think this one might h
On Wed, May 31, 2023 at 6:23 PM Grisha Levit wrote:
>
> If rl_filename_rewrite_hook returns a new string for a filename (which
> I guess only happens on macOS with bash), it is in most cases not
> free-d.
> diff --git a/lib/readline/complete.c b/lib/readline/complete.c
> index bf7cc856..99556a35
If rl_filename_rewrite_hook returns a new string for a filename (which
I guess only happens on macOS with bash), it is in most cases not
free-d.
run() {
for ((i=0; i<=1; i++)); do
((i%1000)) || ps -o rss= $BASHPID
compgen -f . >/dev/null
done
}
$ (run)
2160
4576
6864
9040
1123