Browse Source

* Move CYGWIN binary to bin.old.exe instead of bin.old

svn: 1853
Bryan Drewery 21 years ago
parent
commit
8f8af5a8a6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/misc.c

+ 1 - 1
src/misc.c

@@ -702,7 +702,7 @@ int updatebin(int idx, char *par, int secs)
     size_t binsize = strlen(tmpdir) + 7 + 1;
     char *tmpbuf = (char *) my_calloc(1, binsize);
 
-    sprintf(tmpbuf, "%sbin.old", tmpdir);
+    sprintf(tmpbuf, "%sbin.old.exe", tmpdir);
     tmpbuf[binsize - 1] = 0;
     movefile(binname, tmpbuf);
     free(tmpbuf);