------- Comment #12 from paolo dot carlini at oracle dot com 2010-09-08 10:20 ------- By the way, getdelim is not standard, thus would work only on linux, even more special casing. More importantly, fgets *stores* newline and '\0', at variance with getline, I don't think it can be used as-is as an implementation detail.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45574