bug-bash
[Top][All Lists]
Advanced

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

Re: Identical function names in bash source code


From: Peng Yu
Subject: Re: Identical function names in bash source code
Date: Sun, 6 Jan 2019 20:05:46 -0600

> "Not uncommon" is stretching it, since it happens in only one place:
> lib/readline/shell.c.

No. it is not uncommon. See the analysis of duplicated function/macro
names and where they appear. There are around ~100 of them. Note that
this analysis is not very accurate. But the balkpark estimate should
be OK.

https://pastebin.com/cV1jP41Y

> Readline is now distributed separately, and used in hundreds of other
> applications in addition to bash, but it was not always this way.

Then, since it has been made into a separate package long time ago,
why readline has not been removed from bash source code?

Thanks.

-- 
Regards,
Peng



reply via email to

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