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