dtinfo subdirectory DtMmdb
This commit is contained in:
committed by
Jon Trulson
parent
0be684281d
commit
fbd81ef151
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user