This commit was generated by cvs2svn to compensate for changes in r5197,
[chise/xemacs-chise.git.1] / netinstall / localdir.cc
index efe8a27..89f8e34 100644 (file)
@@ -12,7 +12,6 @@
  * Written by Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru>
  * based on work and suggestions of DJ Delorie
  *
- * Sync'ed with cinstall 2001-10-16
  */
 
 /* The purpose of this file is to ask the user where they want the
@@ -24,9 +23,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <ctype.h>
-#include <io.h>
 
-#include "mkdir.h"
 #include "dialog.h"
 #include "resource.h"
 #include "state.h"
@@ -105,11 +102,6 @@ dialog_cmd (HWND h, int id, HWND hwndctl, UINT code)
 
     case IDOK:
       save_dialog (h);
-      if (_access (local_dir, 0) != 0 && yesno (IDS_CREATE_DIR, local_dir) == IDYES)
-       {
-         log (0, "Created install directory %s\n", local_dir);
-         mkdir_p (1, local_dir);
-       }
       if (SetCurrentDirectoryA (local_dir))
        {
          switch (source)
@@ -140,6 +132,7 @@ dialog_cmd (HWND h, int id, HWND hwndctl, UINT code)
       NEXT (0);
       break;
     }
+  return FALSE;
 }
 
 static BOOL CALLBACK