Making changes so it looks like the code in ts-0.6.4, which I can't find v0.6.4
authorviric@mandarina
Fri, 02 Oct 2009 19:20:41 +0200
changeset 274 62048132f95f
parent 273 8d1f96d0e802
child 275 7a28bb35d1f2
Making changes so it looks like the code in ts-0.6.4, which I can't find
Changelog
client.c
mail.c
tail.c
--- a/Changelog	Thu Feb 19 23:18:51 2009 +0100
+++ b/Changelog	Fri Oct 02 19:20:41 2009 +0200
@@ -10,6 +10,8 @@
 Future:
  - Use a better system than mkstemp() for finding output files, so we can add
    .gz to the gzipped outputs.
+v0.6.4:
+ - Fixed a bug breaking -c and -t.
 v0.6.3:
  - Fixed a bug on -c and -t.
  - Adding first support for -D (run depending on any job)
--- a/client.c	Thu Feb 19 23:18:51 2009 +0100
+++ b/client.c	Fri Oct 02 19:20:41 2009 +0200
@@ -207,6 +207,7 @@
             "old ts server running?\n");
         error("Error checking version");
     }
+    alarm(0);
 
     if (m.type != VERSION || m.u.version != PROTOCOL_VERSION)
     {
--- a/mail.c	Thu Feb 19 23:18:51 2009 +0100
+++ b/mail.c	Fri Oct 02 19:20:41 2009 +0200
@@ -13,6 +13,7 @@
 #include <stdio.h>
 #include <sys/stat.h>
 #include <fcntl.h>
+#include <sys/time.h> /* Needed for any main.h inclusion */
 
 #include "main.h"
 
--- a/tail.c	Thu Feb 19 23:18:51 2009 +0100
+++ b/tail.c	Fri Oct 02 19:20:41 2009 +0200
@@ -11,6 +11,7 @@
 #include <stdio.h>
 #include <errno.h>
 #include <string.h>
+#include <sys/select.h>
 #include <stdlib.h>
 
 #include <sys/time.h> /* Dep de main.h */