comparison srogue/save.c @ 187:233be801aa81

srogue: replace unlink() with md_unlink(). md_unlink_open_file() might be needed eventually.
author John "Elwin" Edwards
date Mon, 03 Aug 2015 06:42:59 -0400
parents 85bd398cb96d
children 135ec7f15ffe
comparison
equal deleted inserted replaced
186:85bd398cb96d 187:233be801aa81
284 #if defined(__CYGWIN__) || defined(__DJGPP__) 284 #if defined(__CYGWIN__) || defined(__DJGPP__)
285 close(inf); 285 close(inf);
286 #endif 286 #endif
287 if (!wizard) 287 if (!wizard)
288 { 288 {
289 if (unlink(file) < 0) 289 if (md_unlink(file) < 0)
290 { 290 {
291 endwin(); 291 endwin();
292 printf("Cannot unlink file\n"); 292 printf("Cannot unlink file\n");
293 return FALSE; 293 return FALSE;
294 } 294 }