Advanced Rogue 5: add and use md_fdopen().
Portability is improved.
This commit is contained in:
parent
c0f3e1f004
commit
47df21eb66
3 changed files with 11 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue