rem: mkdirhier (configDir);
add: if (mkdirhier (configDir) == -1) exit (EXIT_FAILURE);
context: prepareConfigDir (void) {	configDir = malloc (PATH_MAX - 13);	if (expandPath (configDir, PATH_MAX - 13, CONFIGDIR) == -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);	}	configDir = realloc (configDir, strlen (configDir) + 1);	// Create the path upto the config dir, if not already existing.	mkdirhier (configDir);}