mirror of
https://github.com/vivier/EMILE.git
synced 2024-09-08 19:54:38 +00:00
write mapfile even if it already exists
This commit is contained in:
parent
3f843ab7cd
commit
4ab2d93ced
@ -51,7 +51,7 @@ struct emile_container *emile_second_create_mapfile(short *unit_id, char *mapfil
|
||||
|
||||
/* write container to map file */
|
||||
|
||||
fd = open(mapfile, O_CREAT | O_EXCL | O_WRONLY);
|
||||
fd = open(mapfile, O_CREAT | O_WRONLY);
|
||||
if (fd == -1)
|
||||
{
|
||||
fprintf(stderr, "ERROR: cannot create map file (%s)\n", mapfile);
|
||||
|
Loading…
Reference in New Issue
Block a user