No, that won't work. Simply not rewinding will leave the file having read BUFSIZ which is guaranteed to be at least 256, so well past the end of the type spec that is to be skipped. So have to always rewind, then forward over the # format=ctags
part (probably keep the length from having found it).
Or I'm not sure why it doesn't use getline() instead of reading BUFSIZ, but anyway.
Also noticed the "skip" code here would seem to actually be an infinite loop?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.