win32 and not do ./module for it
CommandAdd's through a huge patch. This may break some things, so heads
up. From now on add_Command is unsafe land for modules and may be removed
without warning.
+- #0002475 reported by aquanight on detecting \'s in module filenames on
+ win32 and not do ./module for it
tmppath = unreal_mktemp("tmp", unreal_getfilename(path));
if (!tmppath)
return "Unable to create temporary file!";
+#ifndef _WIN32
if(!strchr(path, '/'))
+#else
+ if (!strchr(path, '\\') && !strchr(path, '/')
+#endif
{
path = MyMalloc(strlen(path) + 3);
strcpy(path, "./");