carets: properly display when no line feed is present

* src/location.c (location_caret): finish the line with one whether or not it
is present in input. Rewrite code without getline.
(cleanup_caret): Reset the caret_info global.
* bootstrap.conf: No longer require getline.
This commit is contained in:
Theophile Ranquet
2012-12-13 11:28:11 +01:00
parent c1b2677ad0
commit 432a008d34
4 changed files with 25 additions and 26 deletions

2
m4/.gitignore vendored
View File

@@ -180,6 +180,4 @@
/obstack-printf.m4
/extern-inline.m4
/non-recursive-gnulib-prefix-hack.m4
/getdelim.m4
/getline.m4
/inline.m4