Source/ThunderBeast/QuakeToon/qcommon/files.c
void	FS_CreatePath (char *path)
{
	char	*ofs;
	
	for (ofs = path+1 ; *ofs ; ofs++)
	{
		if (*ofs == '/')
		{	// create the directory
			*ofs = 0;
			Sys_Mkdir (path);
			*ofs = '/';
		}
	}
}
/*
============
FS_CreatePath

Creates any directories needed to store the given filename
============
*/
FS_CreatePath
Creates any directories needed to store the given filename
FS_CreatePath Creates any directories needed to store the given filename
void	FS_CreatePath (char *path)
{
	char	*ofs;
	for (ofs = path+1 ; *ofs ; ofs++)
	{
		if (*ofs == '/')
		{	
			*ofs = 0;
			Sys_Mkdir (path);
			*ofs = '/';
		}
	}
}
void FS_CreatePath ( char * path ) { char * ofs ; for ( ofs = path + 1 ; * ofs ; ofs ++ ) { if ( * ofs == ' ' ) { * ofs = 0 ; Sys_Mkdir ( path ) ; * ofs = ' ' ; } } }
FS_CreatePath
Creates any directories needed to store the given filename
FS_CreatePath Creates any directories needed to store the given filename
// create the directory