Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 108451 | Differences between
and this patch

Collapse All | Expand All

(-)WWW/Library/Implementation/HTMIME.c.old (-2 / +2 lines)
Lines 2230-2236 PUBLIC int HTrjis ARGS2( Link Here
2230
	    strcpy(t, s);
2230
	    strcpy(t, s);
2231
	return 1;
2231
	return 1;
2232
    }
2232
    }
2233
    for (p = buf; *s; ) {
2233
    for (p = buf; *s && p < buf + LINE_LENGTH - 8; ) {
2234
	if (!kanji && s[0] == '$' && (s[1] == '@' || s[1] == 'B')) {
2234
	if (!kanji && s[0] == '$' && (s[1] == '@' || s[1] == 'B')) {
2235
	    if (HTmaybekanji((int)s[2], (int)s[3])) {
2235
	    if (HTmaybekanji((int)s[2], (int)s[3])) {
2236
		kanji = 1;
2236
		kanji = 1;
Lines 2253-2259 PUBLIC int HTrjis ARGS2( Link Here
2253
	}
2253
	}
2254
	*p++ = *s++;
2254
	*p++ = *s++;
2255
    }
2255
    }
2256
    *p = *s;	/* terminate string */
2256
    *p = '\0';	/* terminate string */
2257
2257
2258
    strcpy(t, buf);
2258
    strcpy(t, buf);
2259
    return 0;
2259
    return 0;

Return to bug 108451