Advanced Rogue 5: add and use md_fdopen().

Portability is improved.
This commit is contained in:
John "Elwin" Edwards 2015-08-11 15:15:09 -04:00
parent c0f3e1f004
commit 47df21eb66
3 changed files with 11 additions and 1 deletions

View file

@ -209,7 +209,7 @@ short monst;
printf("\nCannot open score_file.\n");
return;
}
outf = (FILE *) fdopen(fd, "w");
outf = (FILE *) md_fdopen(fd, "w");
/* Get this system's name */
thissys = md_gethostname();