1 diff -c -r ettercap-NG-0.7.3//configure ettercap-NG-0.7.3_patched//configure
2 *** ettercap-NG-0.7.3//configure 2005-05-27 17:11:45.000000000 +0200
3 --- ettercap-NG-0.7.3_patched//configure 2010-07-12 14:59:18.229634997 +0200
6 echo $ECHO_N "(cached) $ECHO_C" >&6
8 ac_func_search_save_LIBS=$LIBS
9 ! ac_cv_search_dn_expand=no
10 cat >conftest.$ac_ext <<_ACEOF
14 echo $ECHO_N "(cached) $ECHO_C" >&6
16 ac_func_search_save_LIBS=$LIBS
17 ! ac_cv_search_dn_expand='-lresolv'
18 cat >conftest.$ac_ext <<_ACEOF
28 HAVE_DN_EXPAND_FALSE='#'
30 HAVE_DN_EXPAND_TRUE='#'
43 HAVE_DN_EXPAND_FALSE='#'
45 HAVE_DN_EXPAND_TRUE='#'
52 diff -c -r ettercap-NG-0.7.3//src/ec_log.c ettercap-NG-0.7.3_patched//src/ec_log.c
53 *** ettercap-NG-0.7.3//src/ec_log.c 2004-09-30 18:01:45.000000000 +0200
54 --- ettercap-NG-0.7.3_patched//src/ec_log.c 2010-07-12 15:00:21.182401038 +0200
58 SEMIFATAL_ERROR("%s", gzerror(fd->cfd, &zerr));
60 ! fd->fd = open(filename, O_CREAT | O_TRUNC | O_RDWR | O_BINARY);
62 SEMIFATAL_ERROR("Can't create %s: %s", filename, strerror(errno));
66 SEMIFATAL_ERROR("%s", gzerror(fd->cfd, &zerr));
68 ! fd->fd = open(filename, O_CREAT | O_TRUNC | O_RDWR | O_BINARY, 0666);
70 SEMIFATAL_ERROR("Can't create %s: %s", filename, strerror(errno));