# HG changeset patch # User carl # Date 1085986633 25200 # Node ID ccf2c2651c1dae49e73ad95335bd6c9da56331e0 # Parent 95607fbef60873bf3b627aef99c0fb38a978239c add -pthread compiler option, fix error in scanning for end of html comment diff -r 95607fbef608 -r ccf2c2651c1d install.bash --- 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 diff -r 95607fbef608 -r ccf2c2651c1d sendmail.st Binary file sendmail.st has changed diff -r 95607fbef608 -r ccf2c2651c1d src/scanner.cpp --- 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 diff -r 95607fbef608 -r ccf2c2651c1d test.bash --- 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