rem: sprintf(path, "%s/WindowMaker/%s", SYSCONFDIR, domain);
add: snprintf(path, sizeof(path), "%s/WindowMaker/%s", SYSCONFDIR, domain);
context: wDefaultsInitDomain(char *domain, Bool requireDictionary){    WDDomain *db;    struct stat stbuf;    static int inited = 0;    char path[PATH_MAX];    char *the_path;    proplist_t shared_dict=NULL;    if (!inited) {	inited = 1;	initDefaults();    }    db = wmalloc(sizeof(WDDomain));    memset(db, 0, sizeof(WDDomain));    db->domain_name = domain;    db->path = wdefaultspathfordomain(domain);    the_path = db->path;        if (the_path && stat(the_path, &stbuf)>=0) {	db->dictionary = ReadProplistFromFile(the_path);	if (db->dictionary) {	    if (requireDictionary && !PLIsDictionary(db->dictionary)) {		PLRelease(db->dictionary);		db->dictionary = NULL;		wwarning(_("Domain %s (%s) of defaults database is corrupted!"),			 domain, the_path);	    }	    db->timestamp = stbuf.st_mtime;	} else {	    wwarning(_("could not load domain %s from user defaults database"),		     domain);	}    }    /* global system dictionary */    sprintf(path, "%s/WindowMaker/%s", SYSCONFDIR, domain);    if (stat(path, &stbuf)>=0) {        shared_dict = ReadProplistFromFile(path);        if (shared_dict) {	    if (requireDictionary && !PLIsDictionary(shared_dict)) {		wwarning(_("Domain %s (%s) of global defaults database is corrupted!"),			 domain, path);		PLRelease(shared_dict);		shared_dict = NULL;	    } else {		if (db->dictionary && PLIsDictionary(shared_dict) &&		    PLIsDictionary(db->dictionary)) {		    PLMergeDictionaries(shared_dict, db->dictionary);		    PLRelease(db->dictionary);		    db->dictionary = shared_dict;		    if (stbuf.st_mtime > db->timestamp)			db->timestamp = stbuf.st_mtime;		} else if (!db->dictionary) {		    db->dictionary = shared_dict;		    if (stbuf.st_mtime > db->timestamp)			db->timestamp = stbuf.st_mtime;		}            }        } else {	    wwarning(_("could not load domain %s from global defaults database (%s)"),		     domain, path);	}    }    /* set to save it in user's directory, no matter from where it was read */    if (db->dictionary) {        proplist_t tmp = PLMakeString(db->path);        PLSetFilename(db->dictionary, tmp);        PLRelease(tmp);    }    return db;}