5 ms·
Tbh, it doesn't seem to me like a great code. https://github.com/jart/bestline/blob/master/bestline.c#L2865 https://github.com/jart/bestline/blob/master/bestli
by cloudbonsai 5y ago
Tbh, it doesn't seem to me like a great code.
https://github.com/jart/bestline/blob/master/bestline.c#L2865 https://github.com/jart/bestline/blob/master/bestline.c#L286...
This interface function is already terrible. Why doesn't it
check the error code of bestlineHistoryLoad()? It smells like a sloppy C program with obscure failure modes.