changeset 37:ccf2c2651c1d

add -pthread compiler option, fix error in scanning for end of html comment
author carl
date Sun, 30 May 2004 23:57:13 -0700
parents 95607fbef608
children 038521f9490a
files install.bash sendmail.st src/scanner.cpp test.bash
diffstat 4 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/install.bash	Sun May 30 18:38:36 2004 -0700
+++ b/install.bash	Sun May 30 23:57:13 2004 -0700
@@ -11,7 +11,7 @@
 #####################
 # build the milter
 # add compiler flags - suggested by Nigel Horne
-g++ -c $CXXFLAGS dnsbl.cpp
+g++ -c $CXXFLAGS -pthread dnsbl.cpp
 if [ $? -ne 0 ]; then
     echo "compiler errors"
     exit
Binary file sendmail.st has changed
--- a/src/scanner.cpp	Sun May 30 18:38:36 2004 -0700
+++ b/src/scanner.cpp	Sun May 30 23:57:13 2004 -0700
@@ -186,7 +186,7 @@
     {h_init, h_end,  t_init, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_semi, m_init, m_init, m_init, b_init, b_init, b_init, b_init,  },  // 0x3B ;
     {h_init, h_end,  t_tag1, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init,  },  // 0x3C <
     {h_init, h_end,  t_init, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_eq,   m_init, m_init, b_init, b_64,   b_64,   b_64,    },  // 0x3D =
-    {h_init, h_end,  t_init, t_end,  t_end,  t_end,  t_end,  t_end,  t_end,  t_end,  t_end,  u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init,  },  // 0x3E >
+    {h_init, h_end,  t_init, t_end,  t_end,  t_end,  t_end,  t_com3, t_com3, t_end,  t_end,  u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init,  },  // 0x3E >
     {h_init, h_end,  t_init, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init,  },  // 0x3F ?
     {h_init, h_host, t_init, t_disc, t_disc, t_disc, t_disc, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_init, u_reco, d_init, d_init, d_init, e_init, e_init, e_init, m_init, m_init, m_init, b_init, b_init, b_init, b_init,  },  // 0x40 @
     {h_host, h_host, t_init, t_tag2, t_tag2, t_tag2, t_tag2, t_com3, t_com3, t_com3, t_disc, u_init, u_init, u_url,  u_url,  d_init, d_1,    d_2,    e_init, e_init, e_init, m_init, m_1,    m_2,    b_init, b_64,   b_64,   b_64,    },  // 0x41 A
--- a/test.bash	Sun May 30 18:38:36 2004 -0700
+++ b/test.bash	Sun May 30 23:57:13 2004 -0700
@@ -18,7 +18,7 @@
 ###########################
 # compile the milter
 #
-g++ -c dnsbl.cpp
+g++ -c -pthread dnsbl.cpp
 if [ $? -ne 0 ]; then
     echo "compiler errors"
     exit