at/at-3.1.7-typo.patch
cvsdist a34e68fc4b auto-import changelog data from at-3.1.8-12.src.rpm
Wed Aug 23 2000 Crutcher Dunnavant <crutcher@redhat.com>
- Well, we will likely never really close the UTC issues,
- because of 1) fractional timezones, and 2) daylight savigns time.
- but there is a slight tweak to the handling of dst in the UTC patch.
Wed Aug 23 2000 Crutcher Dunnavant <crutcher@redhat.com>
- fixed bug #15685
- which had at miscaluclating UTC times.
Sat Jul 15 2000 Bill Nottingham <notting@redhat.com>
- move initscript back
Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild
Thu Jul 06 2000 Bill Nottingham <notting@redhat.com>
- prereq /etc/init.d
Sat Jul 01 2000 Nalin Dahyabhai <nalin@redhat.com>
- fix syntax error in init script
Tue Jun 27 2000 Preston Brown <pbrown@redhat.com>
- don't prereq, only require initscripts
Mon Jun 26 2000 Preston Brown <pbrown@redhat.com>
- move init script
- add condrestart directive
- fix post/preun/postun scripts
- prereq initscripts >= 5.20
Sat Jun 17 2000 Bill Nottingham <notting@redhat.com>
- fix verify of /var/spool/at/.SEQ (#12262)
Mon Jun 12 2000 Nalin Dahyabhai <nalin@redhat.com>
- fix status checking and syntax error in init script
Fri Jun 09 2000 Bill Nottingham <notting@redhat.com>
- fix for long usernames (#11321)
- add some bugfixes from debian
Mon May 08 2000 Bernhard Rosenkraenzer <bero@redhat.com>
- 3.1.8
Wed Mar 01 2000 Bill Nottingham <notting@redhat.com>
- fix a couple of more typos, null-terminate some strings
Thu Feb 10 2000 Bill Nottingham <notting@redhat.com>
- fix many-years-old typo in atd.c
Thu Feb 03 2000 Bill Nottingham <notting@redhat.com>
- handle compressed man pages
Mon Aug 16 1999 Bill Nottingham <notting@redhat.com>
- initscript munging, build as non-root user
Sun Jun 13 1999 Jeff Johnson <jbj@redhat.com>
- correct perms for /var/spool/at after defattr.
Mon May 24 1999 Jeff Johnson <jbj@redhat.com>
- reset SIGCHLD before exec (#3016).
Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
- auto rebuild in the new build environment (release 8)
Thu Mar 18 1999 Cristian Gafton <gafton@redhat.com>
- fix handling the 12:00 time
Wed Jan 13 1999 Bill Nottingham <notting@redhat.com>
- configure fix for arm
Wed Jan 06 1999 Cristian Gafton <gafton@redhat.com>
- build for glibc 2.1
Tue May 05 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr
Wed Apr 22 1998 Michael K. Johnson <johnsonm@redhat.com>
- enhanced initscript
Sun Nov 09 1997 Michael K. Johnson <johnsonm@redhat.com>
- learned to spell
Wed Oct 22 1997 Michael K. Johnson <johnsonm@redhat.com>
- updated to at version 3.1.7
- updated lock and sequence file handling with %ghost
- Use chkconfig and atd, now conflicts with old crontabs packages
Thu Jun 19 1997 Erik Troan <ewt@redhat.com>
- built against glibc
2004-09-09 03:14:09 +00:00

46 lines
1.5 KiB
Diff

--- at-3.1.7/atd.c.tyop Wed Mar 1 14:32:47 2000
+++ at-3.1.7/atd.c Wed Mar 1 14:34:52 2000
@@ -247,7 +247,7 @@
"aborting", jobno, filename);
if (buf.st_nlink > 2) {
- perr("Someboy is trying to run a linked script for job %8lu (%.500s)",
+ perr("Somebody is trying to run a linked script for job %8lu (%.500s)",
filename);
}
if ((fflags = fcntl(fd_in, F_GETFD)) < 0)
@@ -493,6 +493,7 @@
* Let's remove the lockfile and reschedule.
*/
strncpy(lock_name, dirent->d_name, sizeof(lock_name));
+ lock_name[sizeof(lock_name)-1] = '\0';
lock_name[0] = '=';
unlink(lock_name);
next_job = now;
@@ -500,7 +501,7 @@
continue;
}
/* There's a job for later. Note its execution time if it's
- * the earlierst so far.
+ * the earliest so far.
*/
if (run_time > now) {
if (next_job > run_time) {
@@ -518,6 +519,7 @@
run_batch++;
if (strcmp(batch_name, dirent->d_name) > 0) {
strncpy(batch_name, dirent->d_name, sizeof(batch_name));
+ batch_name[sizeof(batch_name)-1] = '\0';
batch_uid = buf.st_uid;
batch_gid = buf.st_gid;
batch_queue = queue;
@@ -553,7 +555,7 @@
int
main(int argc, char *argv[])
{
-/* Browse through ATJOB_DIR, checking all the jobfiles wether they should
+/* Browse through ATJOB_DIR, checking all the jobfiles whether they should
* be executed and or deleted. The queue is coded into the first byte of
* the job filename, the date (in minutes since Eon) as a hex number in the
* following eight bytes, followed by a dot and a serial number. A file