Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inet_aton() -> inet_pton() #1461

Open
wants to merge 10 commits into
base: develop
Choose a base branch
from
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ AX_TYPE_SOCKLEN_T
AX_CREATE_STDINT_H([eggint.h])

# Checks for functions and their arguments.
AC_CHECK_FUNCS([clock_gettime dprintf explicit_bzero memset_explicit explicit_memset getrandom inet_aton memset_s snprintf strlcpy vsnprintf])
AC_CHECK_FUNCS([clock_gettime dprintf explicit_bzero memset_explicit explicit_memset getrandom memset_s snprintf strlcpy vsnprintf])
AC_FUNC_SELECT_ARGTYPES
EGG_FUNC_B64_NTOP
AC_FUNC_MMAP
Expand Down
125 changes: 55 additions & 70 deletions src/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -88,145 +88,130 @@ eggdrop.h:
#safety hash
bg.o: bg.c main.h ../config.h ../eggint.h ../lush.h lang.h eggdrop.h \
compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h tclhash.h \
chan.h users.h compat/compat.h compat/base64.h compat/inet_aton.h \
../src/main.h compat/snprintf.h compat/explicit_bzero.h compat/strlcpy.h \
bg.h
chan.h users.h compat/compat.h compat/base64.h compat/snprintf.h \
../src/main.h compat/explicit_bzero.h compat/strlcpy.h bg.h
botcmd.o: botcmd.c main.h ../config.h ../eggint.h ../lush.h lang.h \
eggdrop.h compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h \
tclhash.h chan.h users.h compat/compat.h compat/base64.h \
compat/inet_aton.h ../src/main.h compat/snprintf.h \
compat/explicit_bzero.h compat/strlcpy.h tandem.h modules.h \
mod/modvals.h
compat/snprintf.h ../src/main.h compat/explicit_bzero.h compat/strlcpy.h \
tandem.h modules.h mod/modvals.h
botmsg.o: botmsg.c main.h ../config.h ../eggint.h ../lush.h lang.h \
eggdrop.h compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h \
tclhash.h chan.h users.h compat/compat.h compat/base64.h \
compat/inet_aton.h ../src/main.h compat/snprintf.h \
compat/explicit_bzero.h compat/strlcpy.h tandem.h
compat/snprintf.h ../src/main.h compat/explicit_bzero.h compat/strlcpy.h \
tandem.h
botnet.o: botnet.c main.h ../config.h ../eggint.h ../lush.h lang.h \
eggdrop.h compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h \
tclhash.h chan.h users.h compat/compat.h compat/base64.h \
compat/inet_aton.h ../src/main.h compat/snprintf.h \
compat/explicit_bzero.h compat/strlcpy.h tandem.h
compat/snprintf.h ../src/main.h compat/explicit_bzero.h compat/strlcpy.h \
tandem.h
chanprog.o: chanprog.c main.h ../config.h ../eggint.h ../lush.h lang.h \
eggdrop.h compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h \
tclhash.h chan.h users.h compat/compat.h compat/base64.h \
compat/inet_aton.h ../src/main.h compat/snprintf.h \
compat/explicit_bzero.h compat/strlcpy.h modules.h mod/modvals.h
compat/snprintf.h ../src/main.h compat/explicit_bzero.h compat/strlcpy.h \
modules.h mod/modvals.h
cmds.o: cmds.c main.h ../config.h ../eggint.h ../lush.h lang.h eggdrop.h \
compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h tclhash.h \
chan.h users.h compat/compat.h compat/base64.h compat/inet_aton.h \
../src/main.h compat/snprintf.h compat/explicit_bzero.h compat/strlcpy.h \
tandem.h modules.h mod/modvals.h
chan.h users.h compat/compat.h compat/base64.h compat/snprintf.h \
../src/main.h compat/explicit_bzero.h compat/strlcpy.h tandem.h \
modules.h mod/modvals.h
dcc.o: dcc.c main.h ../config.h ../eggint.h ../lush.h lang.h eggdrop.h \
compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h tclhash.h \
chan.h users.h compat/compat.h compat/base64.h compat/inet_aton.h \
../src/main.h compat/snprintf.h compat/explicit_bzero.h compat/strlcpy.h \
tandem.h md5/md5.h
chan.h users.h compat/compat.h compat/base64.h compat/snprintf.h \
../src/main.h compat/explicit_bzero.h compat/strlcpy.h tandem.h \
md5/md5.h
dccutil.o: dccutil.c main.h ../config.h ../eggint.h ../lush.h lang.h \
eggdrop.h compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h \
tclhash.h chan.h users.h compat/compat.h compat/base64.h \
compat/inet_aton.h ../src/main.h compat/snprintf.h \
compat/explicit_bzero.h compat/strlcpy.h tandem.h
compat/snprintf.h ../src/main.h compat/explicit_bzero.h compat/strlcpy.h \
tandem.h
dns.o: dns.c main.h ../config.h ../eggint.h ../lush.h lang.h eggdrop.h \
compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h tclhash.h \
chan.h users.h compat/compat.h compat/base64.h compat/inet_aton.h \
../src/main.h compat/snprintf.h compat/explicit_bzero.h compat/strlcpy.h \
dns.h
chan.h users.h compat/compat.h compat/base64.h compat/snprintf.h \
../src/main.h compat/explicit_bzero.h compat/strlcpy.h dns.h
flags.o: flags.c main.h ../config.h ../eggint.h ../lush.h lang.h \
eggdrop.h compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h \
tclhash.h chan.h users.h compat/compat.h compat/base64.h \
compat/inet_aton.h ../src/main.h compat/snprintf.h \
compat/explicit_bzero.h compat/strlcpy.h
compat/snprintf.h ../src/main.h compat/explicit_bzero.h compat/strlcpy.h
language.o: language.c main.h ../config.h ../eggint.h ../lush.h lang.h \
eggdrop.h compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h \
tclhash.h chan.h users.h compat/compat.h compat/base64.h \
compat/inet_aton.h ../src/main.h compat/snprintf.h \
compat/explicit_bzero.h compat/strlcpy.h
compat/snprintf.h ../src/main.h compat/explicit_bzero.h compat/strlcpy.h
main.o: main.c ../config.h main.h ../eggint.h ../lush.h lang.h eggdrop.h \
compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h tclhash.h \
chan.h users.h compat/compat.h compat/base64.h compat/inet_aton.h \
../src/main.h compat/snprintf.h compat/explicit_bzero.h compat/strlcpy.h \
version.h modules.h mod/modvals.h bg.h
chan.h users.h compat/compat.h compat/base64.h compat/snprintf.h \
../src/main.h compat/explicit_bzero.h compat/strlcpy.h version.h \
modules.h mod/modvals.h bg.h
match.o: match.c main.h ../config.h ../eggint.h ../lush.h lang.h \
eggdrop.h compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h \
tclhash.h chan.h users.h compat/compat.h compat/base64.h \
compat/inet_aton.h ../src/main.h compat/snprintf.h \
compat/explicit_bzero.h compat/strlcpy.h
compat/snprintf.h ../src/main.h compat/explicit_bzero.h compat/strlcpy.h
mem.o: mem.c main.h ../config.h ../eggint.h ../lush.h lang.h eggdrop.h \
compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h tclhash.h \
chan.h users.h compat/compat.h compat/base64.h compat/inet_aton.h \
../src/main.h compat/snprintf.h compat/explicit_bzero.h compat/strlcpy.h \
mod/modvals.h
chan.h users.h compat/compat.h compat/base64.h compat/snprintf.h \
../src/main.h compat/explicit_bzero.h compat/strlcpy.h mod/modvals.h
misc.o: misc.c main.h ../config.h ../eggint.h ../lush.h lang.h eggdrop.h \
compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h tclhash.h \
chan.h users.h compat/compat.h compat/base64.h compat/inet_aton.h \
../src/main.h compat/snprintf.h compat/explicit_bzero.h compat/strlcpy.h \
tandem.h modules.h mod/modvals.h stat.h
chan.h users.h compat/compat.h compat/base64.h compat/snprintf.h \
../src/main.h compat/explicit_bzero.h compat/strlcpy.h tandem.h \
modules.h mod/modvals.h stat.h
misc_file.o: misc_file.c main.h ../config.h ../eggint.h ../lush.h lang.h \
eggdrop.h compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h \
tclhash.h chan.h users.h compat/compat.h compat/base64.h \
compat/inet_aton.h ../src/main.h compat/snprintf.h \
compat/explicit_bzero.h compat/strlcpy.h stat.h
compat/snprintf.h ../src/main.h compat/explicit_bzero.h compat/strlcpy.h \
stat.h
modules.o: modules.c main.h ../config.h ../eggint.h ../lush.h lang.h \
eggdrop.h compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h \
tclhash.h chan.h users.h compat/compat.h compat/base64.h \
compat/inet_aton.h ../src/main.h compat/snprintf.h \
compat/explicit_bzero.h compat/strlcpy.h modules.h mod/modvals.h \
tandem.h md5/md5.h
compat/snprintf.h ../src/main.h compat/explicit_bzero.h compat/strlcpy.h \
modules.h mod/modvals.h tandem.h md5/md5.h
net.o: net.c main.h ../config.h ../eggint.h ../lush.h lang.h eggdrop.h \
compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h tclhash.h \
chan.h users.h compat/compat.h compat/base64.h compat/inet_aton.h \
../src/main.h compat/snprintf.h compat/explicit_bzero.h compat/strlcpy.h \
modules.h mod/modvals.h
chan.h users.h compat/compat.h compat/base64.h compat/snprintf.h \
../src/main.h compat/explicit_bzero.h compat/strlcpy.h modules.h \
mod/modvals.h
rfc1459.o: rfc1459.c main.h ../config.h ../eggint.h ../lush.h lang.h \
eggdrop.h compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h \
tclhash.h chan.h users.h compat/compat.h compat/base64.h \
compat/inet_aton.h ../src/main.h compat/snprintf.h \
compat/explicit_bzero.h compat/strlcpy.h
compat/snprintf.h ../src/main.h compat/explicit_bzero.h compat/strlcpy.h
tcl.o: tcl.c main.h ../config.h ../eggint.h ../lush.h lang.h eggdrop.h \
compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h tclhash.h \
chan.h users.h compat/compat.h compat/base64.h compat/inet_aton.h \
../src/main.h compat/snprintf.h compat/explicit_bzero.h compat/strlcpy.h
chan.h users.h compat/compat.h compat/base64.h compat/snprintf.h \
../src/main.h compat/explicit_bzero.h compat/strlcpy.h
tcldcc.o: tcldcc.c main.h ../config.h ../eggint.h ../lush.h lang.h \
eggdrop.h compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h \
tclhash.h chan.h users.h compat/compat.h compat/base64.h \
compat/inet_aton.h ../src/main.h compat/snprintf.h \
compat/explicit_bzero.h compat/strlcpy.h tandem.h modules.h \
mod/modvals.h
compat/snprintf.h ../src/main.h compat/explicit_bzero.h compat/strlcpy.h \
tandem.h modules.h mod/modvals.h
tclhash.o: tclhash.c main.h ../config.h ../eggint.h ../lush.h lang.h \
eggdrop.h compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h \
tclhash.h chan.h users.h compat/compat.h compat/base64.h \
compat/inet_aton.h ../src/main.h compat/snprintf.h \
compat/explicit_bzero.h compat/strlcpy.h
compat/snprintf.h ../src/main.h compat/explicit_bzero.h compat/strlcpy.h
tclmisc.o: tclmisc.c main.h ../config.h ../eggint.h ../lush.h lang.h \
eggdrop.h compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h \
tclhash.h chan.h users.h compat/compat.h compat/base64.h \
compat/inet_aton.h ../src/main.h compat/snprintf.h \
compat/explicit_bzero.h compat/strlcpy.h modules.h mod/modvals.h \
md5/md5.h
compat/snprintf.h ../src/main.h compat/explicit_bzero.h compat/strlcpy.h \
modules.h mod/modvals.h md5/md5.h
tcluser.o: tcluser.c main.h ../config.h ../eggint.h ../lush.h lang.h \
eggdrop.h compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h \
tclhash.h chan.h users.h compat/compat.h compat/base64.h \
compat/inet_aton.h ../src/main.h compat/snprintf.h \
compat/explicit_bzero.h compat/strlcpy.h modules.h mod/modvals.h
compat/snprintf.h ../src/main.h compat/explicit_bzero.h compat/strlcpy.h \
modules.h mod/modvals.h
tls.o: tls.c main.h ../config.h ../eggint.h ../lush.h lang.h eggdrop.h \
compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h tclhash.h \
chan.h users.h compat/compat.h compat/base64.h compat/inet_aton.h \
../src/main.h compat/snprintf.h compat/explicit_bzero.h compat/strlcpy.h
chan.h users.h compat/compat.h compat/base64.h compat/snprintf.h \
../src/main.h compat/explicit_bzero.h compat/strlcpy.h
userent.o: userent.c main.h ../config.h ../eggint.h ../lush.h lang.h \
eggdrop.h compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h \
tclhash.h chan.h users.h compat/compat.h compat/base64.h \
compat/inet_aton.h ../src/main.h compat/snprintf.h \
compat/explicit_bzero.h compat/strlcpy.h
compat/snprintf.h ../src/main.h compat/explicit_bzero.h compat/strlcpy.h
userrec.o: userrec.c main.h ../config.h ../eggint.h ../lush.h lang.h \
eggdrop.h compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h \
tclhash.h chan.h users.h compat/compat.h compat/base64.h \
compat/inet_aton.h ../src/main.h compat/snprintf.h \
compat/explicit_bzero.h compat/strlcpy.h modules.h mod/modvals.h \
tandem.h
compat/snprintf.h ../src/main.h compat/explicit_bzero.h compat/strlcpy.h \
modules.h mod/modvals.h tandem.h
users.o: users.c main.h ../config.h ../eggint.h ../lush.h lang.h \
eggdrop.h compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h \
tclhash.h chan.h users.h compat/compat.h compat/base64.h \
compat/inet_aton.h ../src/main.h compat/snprintf.h \
compat/explicit_bzero.h compat/strlcpy.h modules.h mod/modvals.h \
tandem.h
compat/snprintf.h ../src/main.h compat/explicit_bzero.h compat/strlcpy.h \
modules.h mod/modvals.h tandem.h
15 changes: 3 additions & 12 deletions src/compat/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ STRIP = @STRIP@
CFLAGS = @CFLAGS@ -I../.. -I$(top_srcdir) -I$(top_srcdir)/src @SSL_INCLUDES@ @DEFS@ $(CFLGS)
CPPFLAGS = @CPPFLAGS@

OBJS = base64.o explicit_bzero.o in6.o inet_aton.o snprintf.o strlcpy.o
OBJS = base64.o explicit_bzero.o in6.o snprintf.o strlcpy.o

doofus:
@echo ""
Expand All @@ -43,20 +43,11 @@ compat: $(OBJS)
base64.o: base64.c ../../config.h
explicit_bzero.o: explicit_bzero.c ../../config.h
in6.o: in6.c in6.h
inet_aton.o: inet_aton.c ../../src/main.h ../../config.h ../../eggint.h \
../../lush.h ../../src/lang.h ../../src/eggdrop.h ../../src/compat/in6.h \
../../src/flags.h ../../src/proto.h ../../src/misc_file.h \
../../src/cmdt.h ../../src/tclegg.h ../../src/tclhash.h ../../src/chan.h \
../../src/users.h ../../src/compat/compat.h ../../src/compat/base64.h \
../../src/compat/inet_aton.h ../../src/main.h \
../../src/compat/snprintf.h ../../src/compat/explicit_bzero.h \
../../src/compat/strlcpy.h inet_aton.h
snprintf.o: snprintf.c ../../src/main.h ../../config.h ../../eggint.h \
../../lush.h ../../src/lang.h ../../src/eggdrop.h ../../src/compat/in6.h \
../../src/flags.h ../../src/proto.h ../../src/misc_file.h \
../../src/cmdt.h ../../src/tclegg.h ../../src/tclhash.h ../../src/chan.h \
../../src/users.h ../../src/compat/compat.h ../../src/compat/base64.h \
../../src/compat/inet_aton.h ../../src/main.h \
../../src/compat/snprintf.h ../../src/compat/explicit_bzero.h \
../../src/compat/strlcpy.h snprintf.h
../../src/compat/snprintf.h ../../src/main.h \
../../src/compat/explicit_bzero.h ../../src/compat/strlcpy.h snprintf.h
strlcpy.o: strlcpy.c ../../config.h
1 change: 0 additions & 1 deletion src/compat/compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#define _EGG_COMPAT_COMPAT_H

#include "base64.h"
#include "inet_aton.h"
#include "snprintf.h"
#include "explicit_bzero.h"
#include "strlcpy.h"
Expand Down
Loading
Loading