Blame SOURCES/at-3.1.12-fix_no_export.patch

4e3b3d
diff -up at-3.1.12/at.c.noexport at-3.1.12/at.c
4e3b3d
--- at-3.1.12/at.c.noexport	2011-06-10 14:21:04.000000000 +0200
4e3b3d
+++ at-3.1.12/at.c	2011-06-10 14:22:54.247712577 +0200
4e3b3d
@@ -391,8 +391,9 @@ writefile(time_t runtimer, char queue)
4e3b3d
 	    unsigned int i;
4e3b3d
 	    for (i = 0; i < sizeof(no_export) / sizeof(no_export[0]); i++) {
4e3b3d
 		export = export
4e3b3d
-		    && (strncmp(*atenv, no_export[i],
4e3b3d
-				(size_t) (eqp - *atenv)) != 0);
4e3b3d
+		    && ((((size_t) (eqp - *atenv)) != strlen(no_export[i]))
4e3b3d
+			||(strncmp(*atenv, no_export[i],(size_t) (eqp - *atenv)) != 0)
4e3b3d
+			);
4e3b3d
 	    }
4e3b3d
 	    eqp++;
4e3b3d
 	}