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 committed 2012-12-27 17:57:03 +01:00
1 parent c1b2677ad0
commit 432a008d34
4 files changed
+25 -26

No files matched your search

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