Accepting request 49301 from Base:System

checked in (request 49301)

OBS-URL: https://build.opensuse.org/request/show/49301
OBS-URL: https://build.opensuse.org/package/show/Base:System/at?expand=0&rev=18
This commit is contained in:
OBS User autobuild
2010-09-28 20:34:14 +00:00
committed by Git OBS Bridge
parent 951be6a7ac
commit ac4ec50e37
19 changed files with 109 additions and 135 deletions

View File

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