Stefan Farfeleder
bc6e20f014
Merge NetBSD's rev. 1.41:
...
PR/31012: Barry Naujok: libedit el_get with EL_EDITOR op does not work
Fixed as suggested.
2005-10-04 21:45:42 +00:00
Stefan Farfeleder
76d00450e6
Sync libedit with recent NetBSD developments. Including improvements to the
...
vi-mode, removal of clause 3, cleanups and the export of the tokenization
functions.
Not included: config.h, filecomplete.{c,h}
2005-08-07 20:55:59 +00:00
Matthew N. Dodd
2b13992856
Restore local bits lost in recent merge from NetBSD.
2002-06-16 08:29:35 +00:00
David E. O'Brien
3c19577344
+ Sync with NetBSD, bringing in feature enhancements.
...
+ Convert to ANSI-C function definitions
+ style(9)
Submitted by: kris
2001-10-01 08:41:27 +00:00
Matthew Dillon
0622d6c77b
Add __FBSDID()s to libedit
2001-09-30 21:21:36 +00:00
Warner Losh
04f058dbd1
<blush> I tested the real code changes, but neglected to test the
...
insertion of $FreeBSD$. I miffed it (pointy hat please). Hopefully
no one will notice this short window where -current didn't compile.
2000-05-22 06:01:31 +00:00
Warner Losh
4d1c36051e
Do not read editrc file from '.'. This can be as unsafe as having
...
. first in root's path.
While I'm here:
o Add $FreeBSD$
o Get errno from <errno.h>, but extern int errno.
Submitted by: Tim Vanderhoek
2000-05-22 05:55:22 +00:00
Matthew N. Dodd
90cc1fbc53
Add 2 functions: el_data_set() and el_data_get() which do what you
...
would expect. (Allow user data to be associated with an EditLine context).
As this changes no existing interfaces and doesn't alter any structs
visable to the user I've been told that its not necessary to bump
the version of the library.
1999-08-20 01:17:12 +00:00
Warner Losh
e8420087b0
Replace memory leaking instances of realloc with non-leaking reallocf.
...
In some cases replace if (a == null) a = malloc(x); else a =
realloc(a, x); with simple reallocf(a, x). Per ANSI-C, this is
guaranteed to be the same thing.
I've been running these on my system here w/o ill effects for some
time. However, the CTM-express is at part 6 of 34 for the CAM
changes, so I've not been able to do a build world with the CAM in the
tree with these changes. Shouldn't impact anything, but...
1998-09-16 04:17:47 +00:00
Mike Smith
bd5176cb38
Update libedit with changes from NetBSD. Includes history load/save,
...
some buffer overflow guards and some stylistic cleanups.
Also adds manpages.
Obtained from: NetBSD
1997-06-25 08:14:24 +00:00
Warner Losh
d1942b2e76
Fix a minor buffer overflow.
...
Obtained from: BSDi by way of Keith Bostic
1997-03-23 23:17:22 +00:00
Rodney W. Grimes
6c06b4e2aa
Remove trailing whitespace.
1995-05-30 05:51:47 +00:00
Rodney W. Grimes
58f0484fa2
BSD 4.4 Lite Lib Sources
1994-05-27 05:00:24 +00:00