summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2005-03-08 13:23:17 +0000
committerAaron Walker <ka0ttic@gentoo.org>2005-03-08 13:23:17 +0000
commite11a958f91e342cf27fce610a1e8aca9e66303ce (patch)
tree7cb72ba1862be8701851ad9dd6952175bad4c7c5 /sys-process/fcron/files
parentMoved large patch to distfiles... (diff)
downloadhistorical-e11a958f91e342cf27fce610a1e8aca9e66303ce.tar.gz
historical-e11a958f91e342cf27fce610a1e8aca9e66303ce.tar.bz2
historical-e11a958f91e342cf27fce610a1e8aca9e66303ce.zip
Revision bump; added patch to fix mail output. Thanks to Dmitry Karasik for the patch in bug 83648.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'sys-process/fcron/files')
-rw-r--r--sys-process/fcron/files/digest-fcron-2.9.5.1-r3 (renamed from sys-process/fcron/files/digest-fcron-2.9.5.1-r2)0
-rw-r--r--sys-process/fcron/files/fcron-2.9.5.1-fix-mail-output.diff11
2 files changed, 11 insertions, 0 deletions
diff --git a/sys-process/fcron/files/digest-fcron-2.9.5.1-r2 b/sys-process/fcron/files/digest-fcron-2.9.5.1-r3
index bca17bd60680..bca17bd60680 100644
--- a/sys-process/fcron/files/digest-fcron-2.9.5.1-r2
+++ b/sys-process/fcron/files/digest-fcron-2.9.5.1-r3
diff --git a/sys-process/fcron/files/fcron-2.9.5.1-fix-mail-output.diff b/sys-process/fcron/files/fcron-2.9.5.1-fix-mail-output.diff
new file mode 100644
index 000000000000..de8902867fa6
--- /dev/null
+++ b/sys-process/fcron/files/fcron-2.9.5.1-fix-mail-output.diff
@@ -0,0 +1,11 @@
+--- job.c 2004-11-14 11:32:36.000000000 -0500
++++ job.c 2005-03-07 01:23:37.181878096 -0500
+@@ -535,7 +535,7 @@
+ foreground = 0;
+
+ /* set stdin to the job's output */
+- if ( fseek(mailf, 0, SEEK_SET ) != 0) die_e("Can't fseek()");
++ if ( lseek(fileno(mailf), 0, SEEK_SET ) != 0) die_e("Can't lseek()");
+ if ( dup2(fileno(mailf), 0) != 0 ) die_e("Can't dup2(fileno(mailf))");
+
+ xcloselog();