2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 06:15:37 +00:00

Prefix all libc replacements with sudo_ and #define the real name

to the sudo_ version.  That way we don't pollute the libc namespace.
This commit is contained in:
Todd C. Miller
2014-06-26 15:51:08 -06:00
parent 4d37a4a162
commit 87c2fe5a31
29 changed files with 173 additions and 127 deletions

View File

@@ -239,7 +239,7 @@ inet_pton6(const char *src, u_char *dst)
* Paul Vixie, 1996.
*/
int
inet_pton(int af, const char *src, void *dst)
sudo_inet_pton(int af, const char *src, void *dst)
{
switch (af) {
case AF_INET: