Răsfoiți Sursa

* Ported disabling of makepath to 1.2.9

svn: 2581
Bryan Drewery 20 ani în urmă
părinte
comite
9835eeaf85
2 a modificat fișierele cu 4 adăugiri și 0 ștergeri
  1. 2 0
      src/compat/makepath.c
  2. 2 0
      src/compat/makepath.h

+ 2 - 0
src/compat/makepath.c

@@ -1,3 +1,4 @@
+#ifdef NO
 /* makepath.c -- Ensure that a directory path exists.
 /* makepath.c -- Ensure that a directory path exists.
 
 
    Copyright (C) 1990, 1997, 1998, 1999, 2000, 2002, 2003 Free
    Copyright (C) 1990, 1997, 1998, 1999, 2000, 2002, 2003 Free
@@ -359,3 +360,4 @@ make_path (const char *argpath,
   free(dirname);
   free(dirname);
   return retval;
   return retval;
 }
 }
+#endif

+ 2 - 0
src/compat/makepath.h

@@ -1,3 +1,4 @@
+#ifdef NO
 /* makepath.c -- Ensure that a directory path exists.
 /* makepath.c -- Ensure that a directory path exists.
 
 
    Copyright (C) 1994, 1995, 1996, 1997, 2000, 2003 Free Software
    Copyright (C) 1994, 1995, 1996, 1997, 2000, 2003 Free Software
@@ -33,3 +34,4 @@ int make_dir (const char *dir,
 	      const char *dirpath,
 	      const char *dirpath,
 	      mode_t mode,
 	      mode_t mode,
 	      int *created_dir_p);
 	      int *created_dir_p);
+#endif