changeset 199:efdbeec0816d

Advanced Rogue 5: remove an unneeded fstat() call. The results of the call are no longer used to check for savefile copying.
author John "Elwin" Edwards
date Tue, 11 Aug 2015 16:19:04 -0400
parents 7795b0938921
children 1cd604c827a3
files arogue5/save.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/arogue5/save.c	Tue Aug 11 16:12:09 2015 -0400
+++ b/arogue5/save.c	Tue Aug 11 16:19:04 2015 -0400
@@ -134,7 +134,6 @@
     fwrite("junk", 1, 5, savef);
     fseek(savef, 0L, 0);
     /* _endwin = TRUE; */
-    fstat(fileno(savef), &sbuf);
 
     encwrite(version,strlen(version)+1,savef);
     sprintf(prbuf,"%d x %d\n", LINES, COLS);