Closed M-Reimer closed 3 years ago
Found the mistake on my side. Your current check is "!= 0" while the man page of "fgets" says that "NULL" is returned on error.
Would you prefer this to be replaced with "NULL" in the checks. If so I would create a pull request.
Changed in new commit, hope this helps with c++11 and clang also
Hello,
if compiling with GCC 11.1 compilation fails with: