diff --git a/ChangeLog b/ChangeLog index 2720eb880..c52e526a1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/src/TDB.cpp b/src/TDB.cpp index b2efec264..1158109e6 100644 --- a/src/TDB.cpp +++ b/src/TDB.cpp @@ -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 & all) const std::vector ::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; diff --git a/src/task.cpp b/src/task.cpp index 4148b9104..9beebe83d 100644 --- a/src/task.cpp +++ b/src/task.cpp @@ -256,8 +256,7 @@ int main (int argc, char** argv) return -2; } -// return 0; - exit (0); + return 0; } ////////////////////////////////////////////////////////////////////////////////