Accepting request 49297 from home:elvigia:branches:Base:System

OBS-URL: https://build.opensuse.org/request/show/49297
OBS-URL: https://build.opensuse.org/package/show/Base:System/at?expand=0&rev=17
This commit is contained in:
Cristian Rodríguez
2010-09-28 05:19:31 +00:00
committed by Git OBS Bridge
parent fa2b1001e8
commit 951be6a7ac
19 changed files with 135 additions and 109 deletions

View File

@@ -1,6 +1,6 @@
--- at.1.in
--- at.1.in.orig
+++ at.1.in
@@ -9,7 +9,7 @@
@@ -9,7 +9,7 @@ at, batch, atq, atrm \- queue, examine o
.IR queue ]
.RB [ -f
.IR file ]
@@ -9,7 +9,7 @@
.B TIME
.br
.B "at -c"
@@ -235,6 +235,9 @@
@@ -235,6 +235,9 @@ is set; then, it will be "Thu Feb 20 14:
.B
\-c
cats the jobs listed on the command line to standard output.
@@ -19,7 +19,7 @@
.SH FILES
.I @ATJBD@
.br
--- at.c
--- at.c.orig
+++ at.c
@@ -28,6 +28,7 @@
@@ -29,7 +29,7 @@
#ifdef HAVE_SYS_WAIT_H
#include <sys/wait.h>
@@ -133,6 +134,7 @@
@@ -133,6 +134,7 @@ static void alarmc(int signo);
static char *cwdname(void);
static void writefile(time_t runtimer, char queue);
static void list_jobs(void);
@@ -37,7 +37,7 @@
/* Signal catching functions */
@@ -670,6 +672,78 @@
@@ -670,6 +672,78 @@ process_jobs(int argc, char **argv, int
}
} /* delete_jobs */
@@ -116,7 +116,7 @@
/* Global functions */
void *
@@ -692,12 +766,13 @@
@@ -692,12 +766,13 @@ main(int argc, char **argv)
char *pgm;
int program = AT; /* our default program */
@@ -131,7 +131,7 @@
RELINQUISH_PRIVS
if ((pwe = getpwnam(DAEMON_USERNAME)) == NULL)
@@ -781,6 +856,13 @@
@@ -781,6 +856,13 @@ main(int argc, char **argv)
options = "q:V";
break;
@@ -145,7 +145,7 @@
case 'b':
if (program != AT)
usage();
@@ -834,10 +916,16 @@
@@ -834,10 +916,16 @@ main(int argc, char **argv)
break;
case AT:
@@ -166,9 +166,9 @@
}
if (timer == 0) {
--- panic.c
--- panic.c.orig
+++ panic.c
@@ -92,7 +92,9 @@
@@ -92,7 +92,9 @@ usage(void)
/* Print usage and exit.
*/
fprintf(stderr, "Usage: at [-V] [-q x] [-f file] [-m] time\n"