dtinfo subdirectory DtMmdb

This commit is contained in:
Ulrich Wilkens
2013-08-28 19:16:37 +02:00
committed by Jon Trulson
parent 0be684281d
commit fbd81ef151
159 changed files with 735 additions and 588 deletions

View File

@@ -58,7 +58,8 @@ extern int errno;
atomic_lock::atomic_lock(const char* p)
{
strcpy(v_path, p);
int len = MIN(strlen(p), PATHSIZ - 1);
*((char *) memcpy(v_path, p, len) + len) = '\0';
}
atomic_lock::~atomic_lock()