Blame SOURCES/at-3.1.14-fix_no_export.patch

d3b522
diff -up at-3.1.14/at.c.export at-3.1.14/at.c
d3b522
--- at-3.1.14/at.c.export	2013-10-07 14:53:59.980521240 +0200
d3b522
+++ at-3.1.14/at.c	2013-10-07 14:54:35.722560527 +0200
d3b522
@@ -388,8 +388,9 @@ writefile(time_t runtimer, char queue)
d3b522
 	    unsigned int i;
d3b522
 	    for (i = 0; i < sizeof(no_export) / sizeof(no_export[0]); i++) {
d3b522
 		export = export
d3b522
-		    && (strncmp(*atenv, no_export[i],
d3b522
-				(size_t) (eqp - *atenv)) != 0);
d3b522
+			&& ((((size_t) (eqp - *atenv)) != strlen(no_export[i]))
d3b522
+			||(strncmp(*atenv, no_export[i],(size_t) (eqp - *atenv)) != 0)
d3b522
+			);
d3b522
 	    }
d3b522
 	    eqp++;
d3b522
 	}