diff -r -u tlf.orig/tlf-0.9.32.3/src/clear_display.c tlf/tlf-0.9.32.3/src/clear_display.c --- tlf.orig/tlf-0.9.32.3/src/clear_display.c 2007-12-18 07:08:05.000000000 -0800 +++ tlf/tlf-0.9.32.3/src/clear_display.c 2010-07-21 10:28:09.724389003 -0700 @@ -100,7 +100,7 @@ else strftime(time_buf, 60, "DIG %d-%b-%y %H:%M ", time_ptr); -strncat (month, time_buf + 2, 2); /* month for muf calc */ +strftime(month, 2, "%m", time_ptr); /* month for muf calc */ m = atoi ( month); if (m == 0) m++; diff -r -u tlf.orig/tlf-0.9.32.3/src/displayit.c tlf/tlf-0.9.32.3/src/displayit.c --- tlf.orig/tlf-0.9.32.3/src/displayit.c 2007-12-18 07:08:05.000000000 -0800 +++ tlf/tlf-0.9.32.3/src/displayit.c 2010-07-21 10:57:18.972389001 -0700 @@ -37,7 +37,7 @@ strncat(term2buf, termbuf, strlen(termbuf) - 1 ); - strncat(term2buf, backgrnd_str, 81 - strlen(termbuf)); /* fill with blanks */ + strncat(term2buf, backgrnd_str, 80 - strlen(termbuf)); /* fill with blanks */ strcat(term2buf, "\n"); strcpy(terminal1, terminal2); diff -r -u tlf.orig/tlf-0.9.32.3/src/edit_last.c tlf/tlf-0.9.32.3/src/edit_last.c --- tlf.orig/tlf-0.9.32.3/src/edit_last.c 2007-12-18 07:08:05.000000000 -0800 +++ tlf/tlf-0.9.32.3/src/edit_last.c 2010-07-21 12:27:09.776389002 -0700 @@ -26,7 +26,7 @@ #include "edit_last.h" #include "clear_display.h" -char logline_edit[5][82]; +char logline_edit[5][128]; int edit_last(void) { diff -r -u tlf.orig/tlf-0.9.32.3/src/globalvars.h tlf/tlf-0.9.32.3/src/globalvars.h --- tlf.orig/tlf-0.9.32.3/src/globalvars.h 2007-12-18 07:08:05.000000000 -0800 +++ tlf/tlf-0.9.32.3/src/globalvars.h 2010-07-21 12:19:45.216389001 -0700 @@ -58,7 +58,7 @@ // extern char logline2[81]; // extern char logline3[81]; // extern char logline4[]; -extern char logline_edit[5][82]; +extern char logline_edit[5][128]; #define logline0 logline_edit[0] #define logline1 logline_edit[1] #define logline2 logline_edit[2]