rem: mkdirhier (meleeDir);
add: if (mkdirhier (meleeDir) == -1) exit (EXIT_FAILURE);
context: prepareMeleeDir (void) {	meleeDir = malloc (PATH_MAX - 13);	if (expandPath (meleeDir, PATH_MAX - 13, MELEEDIR) == -1)	{		// Doesn't have to be fatal, but might mess up things when saving		// config files.		fprintf (stderr, "Fatal error: Invalid path to config files.\n");		exit (EXIT_FAILURE);	}	meleeDir = realloc (meleeDir, strlen (meleeDir) + 1);	// Create the path upto the save dir, if not already existing.	mkdirhier (meleeDir);}