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