----------------------> start --- qmail-1.03-orig/Makefile Mon Jun 15 04:53:16 1998 +++ qmail-1.03/Makefile Tue Jan 19 10:52:24 1999@@ -1483,12 +1483,12 @@
ich habe hier einen patch: trigger.o fmtqfn.o quote.o now.o readsubdir.o qmail.o date822fmt.o \ datetime.a case.a ndelay.a getln.a wait.a seek.a fd.a sig.a open.a \ lock.a stralloc.a alloc.a substdio.a error.a str.a fs.a auto_qmail.o \ -auto_split.o+auto_split.o env.a ./load qmail-send qsutil.o control.o constmap.o newfield.o \ prioq.o trigger.o fmtqfn.o quote.o now.o readsubdir.o \ qmail.o date822fmt.o datetime.a case.a ndelay.a getln.a \ wait.a seek.a fd.a sig.a open.a lock.a stralloc.a alloc.a \ - substdio.a error.a str.a fs.a auto_qmail.o auto_split.o + substdio.a error.a str.a fs.a auto_qmail.o auto_split.o env.a qmail-sen d.0: \ qmail-send.8diff -u qmail-1.03-orig/qmail.c qmail-1.03/qmail.c --- qmail-1.03-orig/qmail.c Mon Jun 15 04:53:16 1998 +++ qmail-1.03/qmail.c Tue Jan 19 09:57:36 1999@@ -6,14 +6,25 @@ #include "fd.h " #include "qmail.h" #include "auto_qmail.h"+#include "env.h" -static char *binqqargs[2] = { "bin/qmail-queue", 0 } ; +static char *binqqargs[2] = { 0, 0 } ;++static void setup_qqargs()+{ + if(!binqqargs[0])+ binqqargs[0] = env_get("QMAILQUEUE"); + if(!binqqargs[0])+ binqqargs[0] = "bin/qmail-queue";+} int qmail_open(qq) struct qmail *qq; { int pim[2]; int pie[2];++ setup_qqargs(); if (pipe(pim) == -1) return -1; if (pipe(pie) == -1) { close(pim[0]); close(pim[1]); return -1; }
-----------------------------> end
diesen habe ich in ein file qmailqueue-patch gespeichert. ich habe versucht: caramel:/usr/local/src # ls -d qmail* qmail-1.03/ qmail.tar.gz qmailanalog-0.70/ qmailanalog-0_70.tar.gz qmailqueue-patch caramel:/usr/local/src # patch < qmailqueue-patch Hmm... I can't seem to find a patch in there anywhere. caramel:/usr/local/src # was mache ich falsch? jan stifter --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com
Jan Stifter wrote:
ich habe hier einen patch:
----------------------> start --- qmail-1.03-orig/Makefile Mon Jun 15 04:53:16 1998 +++ qmail-1.03/Makefile Tue Jan 19 10:52:24 1999@@ -1483,12 +1483,12
Die ---/+++ Zeilen geben an, welche Files gepatcht werden sollen, dh. hier also qmail-1.03/Makefile
diesen habe ich in ein file qmailqueue-patch gespeichert.
ich habe versucht:
caramel:/usr/local/src # ls -d qmail* qmail-1.03/ qmail.tar.gz qmailanalog-0.70/ qmailanalog-0_70.tar.gz qmailqueue-patch caramel:/usr/local/src # patch < qmailqueue-patch Hmm... I can't seem to find a patch in there anywhere. caramel:/usr/local/src #
was mache ich falsch?
cd /usr/local/src patch -p0 < ./qmailqueue-patch oder (besser, da zuverlässiger und (DAU-)sicherer :) cd /usr/local/src/qmail-1.03 patch -p1 < ../qmailqueue-patch Ansonsten sieht dieser Patch so aus, als ob er verstümmelt worden ist, da sich die Zeilennummern von unified context-Diffs (siehe man diff, Option -u) normalerweise auf einer eigenen Zeile befinden. D.h.: Statt --- qmail-1.03-orig/Makefile Mon Jun 15 04:53:16 1998 +++ qmail-1.03/Makefile Tue Jan 19 10:52:24 1999@@ -1483,12 +1483,12 @@ müsste es vermutlich so aussehen: --- qmail-1.03-orig/Makefile Mon Jun 15 04:53:16 1998 +++ qmail-1.03/Makefile Tue Jan 19 10:52:24 1999 @@ -1483,12 +1483,12 @@ .. Ich vermut stark, dass der Patch defekt ist. Ralf --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com
On Fri, 05 May 2000 16:17:59 +0200, Ralf Corsepius
Ansonsten sieht dieser Patch so aus, als ob er verstümmelt worden ist, da sich die Zeilennummern von unified context-Diffs (siehe man diff, Option -u) normalerweise auf einer eigenen Zeile befinden.
hi ralph, du hattest recht. habe mir den patch nochmal gezogen, jetzt gehts. danke ! jan --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com
participants (2)
-
corsepiu@faw.uni-ulm.de
-
j.stifter@medres.ch