Sophie

Sophie

distrib > Mandriva > 2007.1 > x86_64 > by-pkgid > 8b64012b63902b1198d390743392223d > files > 4

at-3.1.8-20mdv2007.1.src.rpm

diff -ur at-3.1.8.orig/parsetime.y at-3.1.8/parsetime.y
--- at-3.1.8.orig/parsetime.y	Wed Aug 23 10:08:12 2000
+++ at-3.1.8/parsetime.y	Wed Aug 23 21:07:37 2000
@@ -370,9 +370,9 @@
     if (yyparse() == 0) {
 	exectime = mktime(&exectm);
 	if (isgmt) {
-	    exectime += timezone;
-	    if (daylight) {
-		exectime -= 3600;
+	    exectime -= timezone;
+	    if (daylight > 0) {
+		exectime += 3600;
 	    }
 	}
 	if (time_only && (currtime > exectime)) {
diff -ur at-3.1.8.orig/y.tab.c at-3.1.8/y.tab.c
--- at-3.1.8.orig/y.tab.c	Wed Aug 23 10:08:12 2000
+++ at-3.1.8/y.tab.c	Wed Aug 23 21:08:06 2000
@@ -1428,9 +1428,9 @@
     if (yyparse() == 0) {
 	exectime = mktime(&exectm);
 	if (isgmt) {
-	    exectime += timezone;
-	    if (daylight) {
-		exectime -= 3600;
+	    exectime -= timezone;
+	    if (daylight > 0) {
+		exectime += 3600;
 	    }
 	}
 	if (time_only && (currtime > exectime)) {