# # patch "ChangeLog" # from [ff6b1988efea3604c887f542466f7c122c23f729] # to [5e7a948405d2d0889771ab84ac69999a5e1b9eb0] # # patch "automate.cc" # from [affdba906ca8aa970749756f7eba5a3ae4e9efb8] # to [6634aeb4bc67911ff0ea7e08a6fdd12b5876f9e0] # --- ChangeLog +++ ChangeLog @@ -1,5 +1,9 @@ 2005-05-24 Timothy Brownawell + * automate.cc: Fix buffering for "automate stdio" + +2005-05-24 Timothy Brownawell + * automate.cc: Put back lost "automate certs". 2005-05-24 Matt Johnston --- automate.cc +++ automate.cc @@ -10,6 +10,7 @@ #include #include #include +#include #include #include @@ -1002,6 +1003,7 @@ s<='0') { @@ -1031,8 +1035,10 @@ } else if(c == ':') { - char *tok=new char[toklen+1]; - std::cin.get(tok, toklen+1); + char *tok=new char[toklen]; + int count=0; + while(count