The Vedic Extensions Unicode checks are out of order.
Remove unused "last" variable from private_fl_utf_file_write_until().
return F_true;
}
- // Vedic Extensions: U+1CD4 to U+1CD2.
- if (sequence >= 0xe1b39400 && sequence <= 0xe1b39200) {
+ // Vedic Extensions: U+1CD2 to U+1CD4.
+ if (sequence >= 0xe1b39200 && sequence <= 0xe1b39400) {
return F_true;
}
return F_true;
}
- // Vedic Extensions: U+1DC0 to U+1CE8.
- if (sequence >= 0xe1b78000 && sequence <= 0xe1b3a800) {
+ // Vedic Extensions: U+1CE8 to U+1DC0.
+ if (sequence >= 0xe1b3a800 && sequence <= 0xe1b78000) {
return F_true;
}
write_size = write_max;
}
- f_number_unsigned_t last = 0;
f_number_unsigned_t used = 0;
ssize_t size_write = 0;
}
*written += i;
- last += used;
if (*written + write_size > write_max) {
write_size = write_max - *written;