christos
2e9d696349
PR/46941: Steffen Nurpmeso: document EL_BUFFERED
2012-09-11 11:57:18 +00:00
christos
85bde018fb
PR/46935: Steffen Nurpmeso: editline(3) (libedit): faulty errno handling,
...
faulty reuse of val in wrong context
2012-09-10 20:53:18 +00:00
joerg
e16a720f89
Don't depend on HAVE_GCC being always defined.
2012-08-10 12:20:10 +00:00
christos
1f432e4501
From Kamil Dudka: fix crash of el_insertstr() on incomplete multi-byte
2012-07-18 17:12:39 +00:00
christos
c046613e5b
PR/46678: Ian Wienand: Add stub implementation for rl_free_line_state()
2012-07-12 18:46:20 +00:00
christos
f2d8e54f16
don't crash if add_history is called from an empty line. Called from
...
nslookup in new bind.
XXX: pullup to 6
2012-06-05 00:30:22 +00:00
njoly
fd5f5a6e67
Switch from Op to Oo/Oc for nested block.
2012-06-02 14:19:20 +00:00
christos
a6b4b4578e
remove stdint.h; it is not used.
2012-05-31 13:16:39 +00:00
christos
d22248f82d
don't include both term.h and termcap.h
2012-05-30 18:21:14 +00:00
christos
186f51e0f1
define the new variable
2012-05-15 19:07:25 +00:00
christos
f5b586b16d
Add rl_completion_word_break_hook from:
...
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ \
5ec6a45fa762b8cbd0305ca06acb8780335a486a
2012-05-15 17:30:04 +00:00
christos
83bcb34124
save and restore the tty settings on entry and exit respectively.
...
cleanup debugging printfs.
2012-05-15 15:59:01 +00:00
christos
fac360ff28
From: Jilles Tjoelker: Add a mapping for the cursor delete key
2012-03-24 20:09:30 +00:00
christos
d067817eea
From Jilles Tjoelker:
...
Do not move the cursor for ed-delete-next-char in emacs mode.
This makes ed-delete-next-char suitable for mapping to the <Delete> key.
Behaviour in vi mode is unchanged (for 'x').
2012-03-24 20:08:43 +00:00
matt
fa835e8c8b
These directories default to WARNS?=5
2012-03-21 05:37:42 +00:00
matt
6fb2a3179f
Use C89 functions definitions.
2012-03-21 05:34:54 +00:00
matt
f9113d007b
Use C89 functions definitions.
...
Remove use of __P
2012-03-21 05:33:26 +00:00
christos
9b25b03245
include the NULL in the argv conversion
2012-03-11 21:15:25 +00:00
christos
75b1bb5aad
use arraycount
2012-03-11 21:14:56 +00:00
christos
3c15bad9a7
PR/45843: Henning Petersen: Fix resource leak on error.
2012-01-16 14:57:45 +00:00
christos
ae5295ee5d
Add coverity annotations about unreachable code (Kamil Dudka)
2011-11-18 20:39:18 +00:00
christos
e83c752c92
Add missing *
2011-11-18 20:38:42 +00:00
christos
36e7768bff
Initialize termbuf (Kamil Dudka)
2011-11-18 20:32:00 +00:00
christos
cfca73c1f8
Initialize res (Kamil Dudka)
2011-11-18 20:30:01 +00:00
christos
d24c721eac
check for negative return of ct_visual_char (Kamil Dudka)
2011-11-18 20:25:48 +00:00
christos
e09907eccd
Off by one in allocation could cause buffer overflow (Kamil Dudka)
2011-11-18 20:24:21 +00:00
christos
9bee9dd870
remove unrecheable code (Kamil Dudka)
2011-11-18 20:22:03 +00:00
christos
872b7bf4a3
easier with an int for now.
2011-11-16 01:45:10 +00:00
christos
749960097c
Since Width() is used only for display purposes we don't want to pass -1 for
...
unprintable characters.
2011-11-15 23:54:14 +00:00
christos
6a96f344c7
Fixed misplaced parenthesis (Nirbhay Choubey)
2011-10-23 17:37:55 +00:00
christos
b6f308812d
fixed warnings where wint_t is unsigned.
2011-10-04 15:27:04 +00:00
christos
8c9fc8838c
fix broken change (parenthesis in the wrong place). From Nirbhay Choubey
2011-10-03 14:09:38 +00:00
christos
f02b490980
include <wchar.h> if we don't have wcsdup()
2011-09-28 14:08:04 +00:00
plunky
2b8aaed8cd
NULL does not need a cast, here
2011-09-16 16:13:16 +00:00
christos
3d802cf59d
re-enable -Wconversion
2011-08-16 16:25:15 +00:00
christos
436299cdac
need err.h now
2011-08-04 14:33:05 +00:00
joerg
98ea74e048
Only use -Wconversion if GCC is actually the active compiler.
2011-08-02 17:22:02 +00:00
tron
67fb973487
Don't use "-Wconversion" with GCC 4.5 which will complain about all the
...
expressions where signed variables are converted to unsigned in an
expression e.g. "size_t foo = sizeof(something) * int_var;".
2011-07-30 10:07:27 +00:00
christos
c11bd863f5
pass -Wconversion
2011-07-29 23:44:44 +00:00
christos
1237974a30
- fix unused params
...
- unconditionalize vis.h
2011-07-29 20:58:07 +00:00
christos
f46176b9a9
better autoconf results
2011-07-29 20:57:34 +00:00
christos
f4bf097e85
add -Wunused-parameter
...
Is that the right way? Perhaps WARNS=5?
2011-07-29 20:56:58 +00:00
christos
7ecb1ef25e
kill ifdef notdef
2011-07-29 15:20:39 +00:00
christos
b71bed95b3
KNF return (\1); -> return \1;
2011-07-29 15:16:33 +00:00
christos
a13cd75612
kill ptr_t and ioctl_t, add * sizeof(*foo) to all allocations.
2011-07-28 20:50:55 +00:00
christos
56eac9ea53
fix unused variable warnings on systems without _r functions
2011-07-28 17:33:55 +00:00
christos
df86a66a1c
handle systems without getpwent_r
2011-07-28 17:33:39 +00:00
joerg
4104b0e782
Sync compat defines to unbreak build.
...
XXX Do a proper config.h update from configure
2011-07-28 05:18:43 +00:00
christos
7da8639ecc
whitespace
2011-07-28 03:52:19 +00:00
christos
02479cacb5
whitespace
2011-07-28 03:48:46 +00:00