View | Details | Raw Unified | Return to bug 173418
Collapse All | Expand All

(-)alias.c (+10 lines)
Lines 68-74 Link Here
68
		if (equal(name, ap->name)) {
68
		if (equal(name, ap->name)) {
69
			INTOFF;
69
			INTOFF;
70
			ckfree(ap->val);
70
			ckfree(ap->val);
71
#ifdef notyet
71
			ap->val	= savestr(val);
72
			ap->val	= savestr(val);
73
#else
74
			{
75
			size_t vlen = strlen(val);
76
			ap->val = ckmalloc(vlen + 2);
77
			memcpy(ap->val, val, vlen);
78
			ap->val[vlen] = ' ';
79
			ap->val[vlen+1] = '\0';
80
			}
81
#endif
72
			INTON;
82
			INTON;
73
			return;
83
			return;
74
		}
84
		}

Return to bug 173418