summaryrefslogtreecommitdiff
path: root/misc/alevt/files/patch-ab
diff options
context:
space:
mode:
authorRoger Hardiman <roger@FreeBSD.org>1999-10-12 10:31:48 +0000
committerRoger Hardiman <roger@FreeBSD.org>1999-10-12 10:31:48 +0000
commit632f538558d70cb9b08a16a3a79872f6aac9d3b5 (patch)
treea211b7b7d858a8d209e4cbd8c5a70f85c869e8f7 /misc/alevt/files/patch-ab
parentRemove xpl. (diff)
Upgrade to version 1.5.0.
New features include 'save to disk' in both ascii and html formats. alevt-date is fixed too, so you cn set your system clock from teletext
Notes
Notes: svn path=/head/; revision=22375
Diffstat (limited to '')
-rw-r--r--misc/alevt/files/patch-ab30
1 files changed, 17 insertions, 13 deletions
diff --git a/misc/alevt/files/patch-ab b/misc/alevt/files/patch-ab
index eb7d948a2973..afcd06bafe68 100644
--- a/misc/alevt/files/patch-ab
+++ b/misc/alevt/files/patch-ab
@@ -1,15 +1,19 @@
-*** alevt-date.c.orig Wed Aug 18 13:33:52 1999
---- alevt-date.c Wed Aug 18 13:33:31 1999
-*************** chk_time(int t)
-*** 32,39 ****
---- 32,41 ----
+*** exp-txt.c.orig Tue Oct 12 10:28:27 1999
+--- exp-txt.c Tue Oct 12 10:31:59 1999
+*************** txt_option(struct export *e, int opt, ch
+*** 87,92 ****
+--- 87,100 ----
+ return 0;
+ }
- t = t/100/100 * 60*60 + t/100%100 * 60 + t%100;
- t += timezone;
-+ /*
- if (daylight)
- t -= 60*60;
-+ */
++ /* stpcpy is only defined on Linux systems */
++ /* create a local function for BSD Unix systems */
++ char *stpcpy(char *dst, char *src)
++ {
++ while (*dst++ = *src++)
++ ;
++ return dst-1;
++ }
- sys_t = time(0);
- dt = t - sys_t % (24*60*60);
+ static void
+ put_attr(struct export *e, struct fmt_char *new)