|
@@ -280,7 +280,7 @@ static int close_new_gdal(int fd, int ok)
|
|
remove(path);
|
|
remove(path);
|
|
|
|
|
|
/* write 0-length cell file */
|
|
/* write 0-length cell file */
|
|
- G__make_mapset_element("cell");
|
|
|
|
|
|
+ G_make_mapset_element("cell");
|
|
G_file_name(path, "cell", fcb->name, fcb->mapset);
|
|
G_file_name(path, "cell", fcb->name, fcb->mapset);
|
|
cell_fd = creat(path, 0666);
|
|
cell_fd = creat(path, 0666);
|
|
close(cell_fd);
|
|
close(cell_fd);
|
|
@@ -289,7 +289,7 @@ static int close_new_gdal(int fd, int ok)
|
|
write_fp_format(fd);
|
|
write_fp_format(fd);
|
|
|
|
|
|
/* write 0-length fcell file */
|
|
/* write 0-length fcell file */
|
|
- G__make_mapset_element("fcell");
|
|
|
|
|
|
+ G_make_mapset_element("fcell");
|
|
G_file_name(path, "fcell", fcb->name, fcb->mapset);
|
|
G_file_name(path, "fcell", fcb->name, fcb->mapset);
|
|
cell_fd = creat(path, 0666);
|
|
cell_fd = creat(path, 0666);
|
|
close(cell_fd);
|
|
close(cell_fd);
|
|
@@ -396,7 +396,7 @@ static int close_new(int fd, int ok)
|
|
write_fp_format(fd);
|
|
write_fp_format(fd);
|
|
|
|
|
|
/* now write 0-length cell file */
|
|
/* now write 0-length cell file */
|
|
- G__make_mapset_element("cell");
|
|
|
|
|
|
+ G_make_mapset_element("cell");
|
|
cell_fd =
|
|
cell_fd =
|
|
creat(G_file_name(path, "cell", fcb->name, fcb->mapset),
|
|
creat(G_file_name(path, "cell", fcb->name, fcb->mapset),
|
|
0666);
|
|
0666);
|