Advanced Rogue 7: add and use more md_ functions.
md_fileno() and md_fdopen() are now included. I still hope to rewrite everything to use FILE *'s.
This commit is contained in:
parent
916a683bf6
commit
6813e9c5bf
4 changed files with 25 additions and 3 deletions
|
|
@ -79,7 +79,7 @@ rs_write(FILE *savef, void *ptr, size_t size)
|
|||
if (write_error)
|
||||
return(WRITESTAT);
|
||||
|
||||
if (encwrite(ptr, size, fileno(savef)) != size)
|
||||
if (encwrite(ptr, size, md_fileno(savef)) != size)
|
||||
write_error = 1;
|
||||
|
||||
return(WRITESTAT);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue