Do rm(1) before cvs(1) rm next time !!

This commit is contained in:
Clive Lin
2003-04-16 12:46:15 +00:00
parent 4e08e8ed48
commit dc83ff2a39
3 changed files with 0 additions and 54 deletions

View File

@@ -1,20 +0,0 @@
--- lib/hostname.cc.orig Sun Aug 25 00:04:39 2002
+++ lib/hostname.cc Sun Aug 25 00:06:23 2002
@@ -22,6 +22,7 @@
#include "config.h"
#include "mystring/mystring.h"
#include <unistd.h>
+#include <string.h>
#include <sys/utsname.h>
static mystring* hostname_cache = 0;
@@ -30,7 +31,9 @@
#ifdef HAVE_GETDOMAINNAME
// Re-declare the prototype here, as some systems don't declare it
// in a predictable header file.
+#if __FreeBSD_version > 500034
extern "C" int getdomainname();
+#endif
#endif
static void getnames()

View File

@@ -1,20 +0,0 @@
--- src/send.cc.orig Sun Aug 25 00:09:37 2002
+++ src/send.cc Sun Aug 25 00:10:05 2002
@@ -30,6 +30,7 @@
#include <sys/types.h>
#include <sys/wait.h>
#include <unistd.h>
+#include <stdlib.h>
#include "configio.h"
#include "defines.h"
#include "errcodes.h"
@@ -233,8 +234,7 @@
<< itoa(files.count()) << " message(s) in queue." << endl;
for(rlist::iter remote(remotes); remote; remote++) {
for(slist::iter file(files); file; files.remove(file)) {
- if(!send_one(*file, *remote))
- break;
+ send_one(*file, *remote);
}
}
fout << "Delivery complete, "

View File

@@ -1,14 +0,0 @@
--- protocols/smtp.cc
+++ protocols/smtp.cc
@@ -120,9 +120,8 @@
docmd("DATA", 300);
mystring tmp;
while(msg->getline(tmp)) {
- if((tmp[0] == '.' && tmp[1] == 0 && !(out << ".")) ||
- !(out << tmp << "\r\n"))
- exit(ERR_MSG_WRITE);
+ if(tmp[0] == '.' && !(out << ".")) exit(ERR_MSG_WRITE);
+ if(!(out << tmp << "\r\n")) exit(ERR_MSG_WRITE);
}
docmd(".", 200);
}