[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
Re: Identical function names in bash source code, Chet Ramey, 2019/01/06
- Re: Identical function names in bash source code,
Peng Yu <=