potential use of write_char on a non-char in generic_write_vector
Claspers brought my attention to this piece of code:
https://gitlab.com/embeddable-common-lisp/ecl/blob/develop/src/c/file.d#L521
It looks wrong because it seems to assume, that if the first element is a character we may use write_char, while other elements may be arbitrary objects. This part was introduced in the following commit along with bigger changes. I don't understand how that could be a typo (it seems to be a deliberate clause), so I'm anxious to simply remove it before understanding the context better. Maybe "mixed" array are handled elsewhere?
b7f0067a "New implementation of lisp streams based on a method dispatch table."