Explorar el Código

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

svn: 1853
Bryan Drewery hace 21 años
padre
commit
8f8af5a8a6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);