[Github-comments] [geany/geany] tagmanager: do not rewind file on '# format=ctags' (#1816)

LarsGit223 notifications at xxxxx
Thu Mar 22 21:56:55 UTC 2018


No, ```fgets``` also stops at a newline, see this cite from cplusplus.com:

> Reads characters from stream and stores them as a C string into str until (num-1) characters have been read or either a newline or the end-of-file is reached, whichever happens first.

A problem would only occur if the line is longer than ``BUFSIZ```.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1816#issuecomment-375470910
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20180322/00c65ccf/attachment.html>


More information about the Github-comments mailing list