From 4ab2d93cedfb34dad9fc37e307e884a4e15705f7 Mon Sep 17 00:00:00 2001 From: Laurent Vivier Date: Fri, 2 Dec 2005 00:37:36 +0000 Subject: [PATCH] write mapfile even if it already exists --- libemile/emile_second_create_mapfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libemile/emile_second_create_mapfile.c b/libemile/emile_second_create_mapfile.c index c9fb661..579ee6f 100644 --- a/libemile/emile_second_create_mapfile.c +++ b/libemile/emile_second_create_mapfile.c @@ -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);