Index: file_io/win32/dir.c
===================================================================
--- file_io/win32/dir.c	(revision 191190)
+++ file_io/win32/dir.c	(working copy)
@@ -330,6 +330,9 @@
 {
     apr_status_t rv = 0;
     
+    if (strcmp(path, "") == 0)
+      return APR_ENOTDIR;
+
     rv = apr_dir_make (path, perm, pool); /* Try to make PATH right out */
     
     if (APR_STATUS_IS_EEXIST(rv)) /* It's OK if PATH exists */
Index: file_io/unix/dir.c
===================================================================
--- file_io/unix/dir.c	(revision 191190)
+++ file_io/unix/dir.c	(working copy)
@@ -266,6 +266,9 @@
                                            apr_pool_t *pool) 
 {
     apr_status_t apr_err = 0;
+
+    if (strcmp(path, "") == 0)
+      return APR_ENOTDIR;
     
     apr_err = apr_dir_make (path, perm, pool); /* Try to make PATH right out */
     


