]> git.pld-linux.org Git - packages/mysql.git/blame - mysql-libwrap.patch
- when stopping wait for 15 sec max instead of only 3 sec
[packages/mysql.git] / mysql-libwrap.patch
CommitLineData
ef79c5cf
JB
1--- mysql-4.1.9/sql/mysqld.cc.orig 2005-01-11 23:06:00.000000000 +0100
2+++ mysql-4.1.9/sql/mysqld.cc 2005-02-06 17:21:26.238717200 +0100
3@@ -133,7 +133,16 @@
f61b1e35
AM
4 #endif /* __WIN__ */
5
6 #ifdef HAVE_LIBWRAP
7+#define hosts_access hosts_access_old
8+#define sock_host sock_host_old
9+#define eval_client eval_client_old
10 #include <tcpd.h>
11+#undef hosts_access
12+#undef sock_host
13+#undef eval_client
f61b1e35
AM
14+extern int hosts_access(struct request_info *);
15+extern int sock_host(struct request_info *);
16+extern int eval_client(struct request_info *);
ef79c5cf
JB
17 #include <syslog.h>
18 #ifdef NEED_SYS_SYSLOG_H
19 #include <sys/syslog.h>
This page took 0.056528 seconds and 4 git commands to generate.