Actions
Bug #12201
closednkf.c static void fold_conv part of exression always true
Description
/* new line */
if (fold_preserve_f) {
f_prev = c1;
f_line = 0;
fold_state = CR;
} else if ((f_prev == c1 && !fold_preserve_f)
|| (f_prev == LF && fold_preserve_f)
) { /* duplicate newline */
f_prev == c1 && !fold_preserve_f - here expression !fold_preserve_f always true because above we have if (fold_preserve_f) and here 'else if'
(f_prev == LF && fold_preserve_f) - this expression alway will be false for the same reason
Updated by fanantoxa (Anton Sivakov) over 8 years ago
- Assignee set to shyouhei (Shyouhei Urabe)
Updated by naruse (Yui NARUSE) over 8 years ago
- Status changed from Open to Closed
Updated by usa (Usaku NAKAMURA) over 8 years ago
- Backport changed from 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN to 2.1: WONTFIX, 2.2: REQUIRED, 2.3: REQUIRED
Updated by usa (Usaku NAKAMURA) over 8 years ago
- Related to Bug #12202: nkf.c static void mime_putc the variable being used for loop used for outer loop too added
Updated by usa (Usaku NAKAMURA) over 8 years ago
- Backport changed from 2.1: WONTFIX, 2.2: REQUIRED, 2.3: REQUIRED to 2.1: WONTFIX, 2.2: DONE, 2.3: REQUIRED
ruby_2_2 r54695 merged revision(s) 54423,54489.
Updated by nagachika (Tomoyuki Chikanaga) over 8 years ago
- Backport changed from 2.1: WONTFIX, 2.2: DONE, 2.3: REQUIRED to 2.1: WONTFIX, 2.2: DONE, 2.3: DONE
ruby_2_3 r54714 merged revision(s) 54423,54489.
Actions
Like0
Like0Like0Like0Like0Like0Like0