don't need to close and reopen a file in import config dialog
SVN revision: 75087
This commit is contained in:
parent
b4fdb00c96
commit
163f21d4b5
|
@ -53,9 +53,8 @@ _import_edj_gen(E_Import_Config_Dialog *import)
|
|||
printf("Error Creating tmp file: %s\n", strerror(errno));
|
||||
return;
|
||||
}
|
||||
close(fd);
|
||||
|
||||
f = fopen(tmpn, "w");
|
||||
f = fdopen(fd, "w");
|
||||
if (!f)
|
||||
{
|
||||
printf("Cannot open %s for writing\n", tmpn);
|
||||
|
|
Loading…
Reference in New Issue