Blame SOURCES/at-3.1.14-fix_no_export.patch

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