|
|
489143c |
--- at-3.1.10/at.c.fix 2006-09-12 13:21:16.000000000 +0200
|
|
|
489143c |
+++ at-3.1.10/at.c 2006-09-12 13:20:08.000000000 +0200
|
|
|
489143c |
@@ -396,8 +396,9 @@
|
|
|
489143c |
unsigned int i;
|
|
|
489143c |
for (i = 0; i < sizeof(no_export) / sizeof(no_export[0]); i++) {
|
|
|
489143c |
export = export
|
|
|
489143c |
- && (strncmp(*atenv, no_export[i],
|
|
|
489143c |
- (size_t) (eqp - *atenv)) != 0);
|
|
|
489143c |
+ && ( (((size_t) (eqp - *atenv)) != strlen(no_export[i]))
|
|
|
489143c |
+ ||(strncmp(*atenv, no_export[i],(size_t) (eqp - *atenv)) != 0)
|
|
|
489143c |
+ );
|
|
|
489143c |
}
|
|
|
489143c |
eqp++;
|
|
|
489143c |
}
|
|
|
489143c |
--- at-3.1.10/at.1.in.fix 2006-09-12 13:21:16.000000000 +0200
|
|
|
489143c |
+++ at-3.1.10/at.1.in 2006-09-12 13:10:28.000000000 +0200
|
|
|
489143c |
@@ -42,8 +42,7 @@
|
|
|
489143c |
and
|
|
|
489143c |
.B batch
|
|
|
489143c |
read commands from standard input or a specified file which are to
|
|
|
489143c |
-be executed at a later time, using
|
|
|
489143c |
-.BR /bin/sh .
|
|
|
489143c |
+be executed at a later time.
|
|
|
489143c |
.TP 8
|
|
|
489143c |
.BR at
|
|
|
489143c |
executes commands at a specified time.
|
|
|
489143c |
@@ -244,8 +243,56 @@
|
|
|
489143c |
option argument, which must have the same format as specified for the
|
|
|
489143c |
.BR touch(1)
|
|
|
489143c |
utility's
|
|
|
489143c |
-.B -t
|
|
|
489143c |
+.B \-t
|
|
|
489143c |
time option argument ([[CC]YY]MMDDhhmm).
|
|
|
489143c |
+.SH ENVIRONMENT
|
|
|
489143c |
+.P
|
|
|
489143c |
+.TP 8
|
|
|
489143c |
+.B SHELL
|
|
|
489143c |
+The value of the SHELL environment variable at the time of
|
|
|
489143c |
+.B at
|
|
|
489143c |
+invocation will determine which shell is used to execute the
|
|
|
489143c |
+.B at
|
|
|
489143c |
+job commands. If SHELL is unset when
|
|
|
489143c |
+.B at
|
|
|
489143c |
+is invoked, the user's login shell will be used; otherwise,
|
|
|
489143c |
+if SHELL is set when
|
|
|
489143c |
+.B at
|
|
|
489143c |
+is invoked, it must contain the path of a shell interpreter
|
|
|
489143c |
+executable that will be used to run the commands at the specified time.
|
|
|
489143c |
+.P
|
|
|
489143c |
+.B at
|
|
|
489143c |
+will record the values of
|
|
|
489143c |
+environment variables present at time of
|
|
|
489143c |
+.B at
|
|
|
489143c |
+invocation. When the commands are run at the specified time,
|
|
|
489143c |
+.B at
|
|
|
489143c |
+will restore these variables to their recorded values .
|
|
|
489143c |
+These variables are excluded from this processing and are never
|
|
|
489143c |
+set by
|
|
|
489143c |
+.B at
|
|
|
489143c |
+when the commands are run :
|
|
|
489143c |
+.br
|
|
|
489143c |
+.BI TERM,
|
|
|
489143c |
+.BI DISPLAY,
|
|
|
489143c |
+.BI SHELLOPTS,
|
|
|
489143c |
+.BI _,
|
|
|
489143c |
+.BI PPID,
|
|
|
489143c |
+.BI BASH_VERSINFO,
|
|
|
489143c |
+.BI EUID,
|
|
|
489143c |
+.BI UID,
|
|
|
489143c |
+.BI GROUPS.
|
|
|
489143c |
+.br
|
|
|
489143c |
+If the user submitting the
|
|
|
489143c |
+.B at
|
|
|
489143c |
+job is not the super-user, variables that alter the behaviour of the
|
|
|
489143c |
+loader
|
|
|
489143c |
+.BR ld.so(8),
|
|
|
489143c |
+such as
|
|
|
489143c |
+.B LD_LIBRARY_PATH
|
|
|
489143c |
+, cannot be recorded and restored by
|
|
|
489143c |
+.B at .
|
|
|
489143c |
+.P
|
|
|
489143c |
.SH FILES
|
|
|
489143c |
.I @ATJBD@
|
|
|
489143c |
.br
|