- Fixed bug whereby a % character could not be used in a description. Problem was use of fprintf, which when changed to fputs, fixed the problem.

This commit is contained in:
Paul Beckingham 2008-05-30 20:59:28 -04:00
parent 654eb260c7
commit 1aa9051885
3 changed files with 7 additions and 8 deletions

View file

@ -1,12 +1,12 @@
1.1.0 (?)
- Command line specification of .taskrc file
- Command line specification of alternate .taskrc file
1.0.0 (?)
- New movie made, uploaded
+ Bug: assertion fails on mobile for t v
+ Bug: configure.ac does not properly determine ncurses availability
- Bug: when run without arguments, task dumps core on Solaris 10
- Bug: Cannot seem to use the percent character in a task description
+ Bug: Cannot seem to use the percent character in a task description
+ Bug: New installation "task stats" reports newest task 12/31/1969
+ Bug: New installation task projects displays header but no data - should short-circuit
+ Bug: incorrect color specification in sample .taskrc file

View file

@ -307,7 +307,7 @@ bool TDB::logCommand (int argc, char** argv) const
delay (0.25);
#endif
fprintf (out, command.c_str ());
fputs (command.c_str (), out);
fclose (out);
return true;
@ -342,7 +342,7 @@ bool TDB::overwritePending (std::vector <T>& all) const
std::vector <T>::iterator it;
for (it = all.begin (); it != all.end (); ++it)
fprintf (out, it->compose ().c_str ());
fputs (it->compose ().c_str (), out);
fclose (out);
return true;
@ -364,7 +364,7 @@ bool TDB::writePending (const T& t) const
delay (0.25);
#endif
fprintf (out, t.compose ().c_str ());
fputs (t.compose ().c_str (), out);
fclose (out);
return true;
@ -386,7 +386,7 @@ bool TDB::writeCompleted (const T& t) const
delay (0.25);
#endif
fprintf (out, t.compose ().c_str ());
fputs (t.compose ().c_str (), out);
fclose (out);
return true;

View file

@ -256,8 +256,7 @@ int main (int argc, char** argv)
return -2;
}
// return 0;
exit (0);
return 0;
}
////////////////////////////////////////////////////////////////////////////////