[Github-comments] [geany/geany] Adds newline even to empty files (#1539)
elextr
notifications at xxxxx
Mon Jul 10 13:01:06 UTC 2017
Seems fair, the new line at end of file is, I believe, to satisfy the C requirement (from the standard, my emphasis) "A source file that is __not empty__ shall end in a new-line character". That doesn't prevent a file containing just a newline of course.
Yes it prevents creating empty files.
Then again creating empty files with Geany isn't much of a use of its facilities :) Which is probably why it hasn't bothered anybody to date.
--
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/issues/1539#issuecomment-314098346
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170710/f74e1d0a/attachment.html>
More information about the Github-comments
mailing list