-------------------------------------------------------------------
+Tue Apr 11 16:41:02 CEST 2006 - jsrain@suse.de
+
+- fixed storing patch scripts to target store (#159928)
+- rev 3058
+
+-------------------------------------------------------------------
Tue Apr 11 16:24:26 CEST 2006 - kkaempf@suse.de
- if a patch is bad, only skip this patch, not everything
ifstream infile;
infile.open(obj->do_script().asString().c_str());
while (infile.good())
- out << (char) infile.get();
+ {
+ char c = (char)infile.get();
+ if (! infile.eof())
+ out << c;
+ }
infile.close();
out << " ]]>" << std::endl;
// read script
infile.open(obj->undo_script().asString().c_str());
while (infile.good())
- out << (char) infile.get();
+ {
+ char c = (char)infile.get();
+ if (! infile.eof())
+ out << c;
+ }
infile.close();
out << " ]]>" << std::endl;