mirror of
https://github.com/boostorg/interprocess.git
synced 2026-02-02 21:02:17 +00:00
Merge from trunk for 1.46
[SVN r68072]
This commit is contained in:
@@ -75,11 +75,6 @@ int main ()
|
||||
{
|
||||
mapped_file file1(create_only, get_filename().c_str(), FileSize, read_write, 0, permissions());
|
||||
|
||||
//Compare name
|
||||
if(std::strcmp(file1.get_name(), get_filename().c_str()) != 0){
|
||||
return 1;
|
||||
}
|
||||
|
||||
//Overwrite all memory
|
||||
std::memset(file1.get_user_address(), 0, file1.get_user_size());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user