el_source(3): wrong usage of fgetln(3).
Issue #94
resolved
el_sources(3) assumes fgetln(3) returns nul-terminate string, it is completely wrong. NetBSD-6's fgetln(3) use getline(3) internally so never crash, but OpenBSD and other OS doesn't, spo it won't work.
Comments (2)
-
reporter -
reporter - changed status to resolved
BUGFIX: Issue
#94- el_source(3): wrong usage of fgetln(3).→ <<cset 6ffb2ed78ad6>>
- Log in to comment
this bug comes from recent libedit i18n patch, the patch is very low quarity and many bugs are introduced, sigh;-<