1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 10:53:12 +02:00

# BUILD : 1.7.14 (1097) # BUGS : # NOTES : another fix for db-merger and epona2anope

git-svn-id: svn://svn.anope.org/anope/trunk@1097 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@821 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b
2006-07-20 18:40:09 +00:00
parent d1f69f78ac
commit 9ffc5d3579
4 changed files with 16 additions and 1 deletions
+1
View File
@@ -47,6 +47,7 @@ Provided by Anope Dev. <dev@anope.org> - 2006
07/14 F Removed old HAS_RTLD_LOCAL check. [#541]
07/20 F Removed bold chars from botserv langauge files. [#530]
07/20 F Fixed win32 versions of db-merger.c and epona2anope.c. [#536]
07/20 F db-merger.c and epona2anope.c will now properly delete old dbs. [ #00]
Provided by ThaPrince <jon@vile.com> - 2006
05/19 A Plexus 3 support. [ #00]
+5
View File
@@ -1674,6 +1674,11 @@ dbFILE *open_db_write(const char *service, const char *filename, uint32 version)
}
strscpy(f->filename, filename, sizeof(f->filename));
filename = f->filename;
#ifndef _WIN32
unlink(filename);
#else
DeleteFile(filename);
#endif
f->mode = 'w';
#ifndef _WIN32
fd = open(filename, O_WRONLY | O_CREAT | O_EXCL, 0666);
+5
View File
@@ -597,6 +597,11 @@ dbFILE *open_db_write(const char *service, const char *filename, int version)
}
strscpy(f->filename, filename, sizeof(f->filename));
filename = f->filename;
#ifndef _WIN32
unlink(filename);
#else
DeleteFile(filename);
#endif
f->mode = 'w';
#ifndef _WIN32
fd = open(filename, O_WRONLY | O_CREAT | O_EXCL, 0666);
+5 -1
View File
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="14"
VERSION_EXTRA=""
VERSION_BUILD="1096"
VERSION_BUILD="1097"
# $Log$
#
# BUILD : 1.7.14 (1097)
# BUGS :
# NOTES : another fix for db-merger and epona2anope
#
# BUILD : 1.7.14 (1096)
# BUGS : 536
# NOTES : Fixed win32 versions of db-merger.c and epona2anope.c