diff options
Diffstat (limited to 'mail/yatsvrs/patches/patch-bm')
-rw-r--r-- | mail/yatsvrs/patches/patch-bm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/mail/yatsvrs/patches/patch-bm b/mail/yatsvrs/patches/patch-bm new file mode 100644 index 00000000000..02646fd5a79 --- /dev/null +++ b/mail/yatsvrs/patches/patch-bm @@ -0,0 +1,31 @@ +$NetBSD: patch-bm,v 1.1 2003/10/05 04:25:15 taca Exp $ + +--- yatd/xmit.c.orig 2001-06-22 16:49:59.000000000 +0900 ++++ yatd/xmit.c +@@ -43,7 +43,7 @@ int FuncXmit () + /* Receive the message */ + #ifdef DEBUG_LOCAL + LogDEBUG("Receiving mail message"); +-#endif DEBUG_LOCAL ++#endif + while (CatchPopLineWithSig(Buffer, MAXLINELEN, stdin) != NULL) { + if ((fputs(Buffer, fp) == EOF) || (fputs("\n", fp) == EOF)) { + if (SkipPopGabage(stdin)) { +@@ -70,7 +70,7 @@ int FuncXmit () + + #ifdef DEBUG_LOCAL + LogDEBUG("Forking for \"%.256s\"",MAIL_COMMAND); +-#endif DEBUG_LOCAL ++#endif + /* Send the message */ + switch (pid = fork()) { + case 0: +@@ -87,7 +87,7 @@ int FuncXmit () + #ifdef DEBUG_LOCAL + if (!SysData.fDebug) + unlink (szTmp); +-#endif DEBUG_LOCAL ++#endif + ErrSetData(errno, ERRFLG_SYSERR, "fork() failed"); + return FAILURE; + default: |