- Added "#include <string.h>" to task.cpp to ensure clean build under GCC 4.3

This commit is contained in:
Paul Beckingham 2008-09-12 16:22:51 -04:00
parent fb87039d8c
commit ec15dc9342
4 changed files with 8 additions and 1 deletions

View file

@ -4,6 +4,7 @@ Principal Author:
Contributing Authors: Contributing Authors:
Damian Glenny Damian Glenny
Andy Lester Andy Lester
H. İbrahim Güngör
With thanks to: With thanks to:
Eugene Kramer Eugene Kramer
@ -13,7 +14,6 @@ With thanks to:
Thomas Engel Thomas Engel
Nishiishii Nishiishii
galvanizd galvanizd
H. İbrahim Güngör
Stas Antons Stas Antons
Vincent Fleuranceau Vincent Fleuranceau
T. Charles Yun T. Charles Yun

View file

@ -25,6 +25,8 @@ represents a feature release, and the Z represents a patch.
whenever task is invoked with no arguments. whenever task is invoked with no arguments.
+ Bug: Now properly supports relative dates in filters (task list due:eom, + Bug: Now properly supports relative dates in filters (task list due:eom,
task list due:tomorrow, task list due:23rd ...) task list due:tomorrow, task list due:23rd ...)
+ Bug: Source now properly includes <string.h> in order to build clean
using gcc 4.3.
------ old releases ------------------------------ ------ old releases ------------------------------

View file

@ -81,6 +81,7 @@
<td>Mac OS X 10.5 (Leopard) Intel-only:</td> <td>Mac OS X 10.5 (Leopard) Intel-only:</td>
<td><a href="http://www.beckingham.net/task-1.4.2.pkg">task-1.4.2.pkg</a></td> <td><a href="http://www.beckingham.net/task-1.4.2.pkg">task-1.4.2.pkg</a></td>
</tr> </tr>
<!--
<tr> <tr>
<td> <td>
Debian package: Debian package:
@ -88,6 +89,7 @@
</td> </td>
<td><a href="http://www.beckingham.net/task_1.4.2-1_i386.deb">task_1.4.2-1_i386.deb</a></td> <td><a href="http://www.beckingham.net/task_1.4.2-1_i386.deb">task_1.4.2-1_i386.deb</a></td>
</tr> </tr>
-->
</table> </table>
<h4>New in version 1.4.2 (9/12/2008)</h4> <h4>New in version 1.4.2 (9/12/2008)</h4>
@ -110,6 +112,8 @@
<li>Fixed bug so that relative dates in filters (task list due:eom, <li>Fixed bug so that relative dates in filters (task list due:eom,
task list due:tomorrow, task list due:23rd ...) are now properly task list due:tomorrow, task list due:23rd ...) are now properly
supported. supported.
<li>Fixed bug so that source now properly includes &lt;string.h&gt; in
order to build clean using gcc 4.3.
</ul> </ul>
<p> <p>

View file

@ -29,6 +29,7 @@
#include <fstream> #include <fstream>
#include <sys/types.h> #include <sys/types.h>
#include <stdio.h> #include <stdio.h>
#include <string.h>
#include <unistd.h> #include <unistd.h>
#include <stdlib.h> #include <stdlib.h>
#include <pwd.h> #include <pwd.h>