Mercurial > hg > early-roguelike
diff arogue5/rip.c @ 196:80a590e67206
Advanced Rogue 5: add and use md_fdopen().
Portability is improved.
author | John "Elwin" Edwards |
---|---|
date | Tue, 11 Aug 2015 15:15:09 -0400 |
parents | 7faf4568c295 |
children | 56e748983fa8 |
line wrap: on
line diff
--- a/arogue5/rip.c Tue Aug 11 13:13:08 2015 -0400 +++ b/arogue5/rip.c Tue Aug 11 15:15:09 2015 -0400 @@ -209,7 +209,7 @@ 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();