John Polstra
f92bdbd010
Switch to using ".So" as the extension for PIC object files rather
...
than ".so". The old extension conflicted with well-established
naming conventions for dynamically loadable modules.
The "clean" targets continue to remove ".so" files too, to deal with
old systems.
1999-01-09 21:51:00 +00:00
Doug Rabson
3e0f4b28d6
On the alpha, sizeof(char*) != sizeof(int) which was assumed in
...
term_init(). This is the cause of /usr/bin/ftp faulting on the alpha.
Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
1998-11-30 10:12:03 +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
Bruce Evans
65a87ccc7c
Fixed print format errors.
1998-06-30 18:03:05 +00:00
Brian Somers
10d9142685
Fixes assorted problems with the history edit functions in libedit. This
...
affects sh, ftp (and others?).
Submitted by: Max Euston <meuston@jmrodgers.com>
PR: 6516
1998-06-27 16:10:40 +00:00
Poul-Henning Kamp
1499abeef4
Spelling fixes.
...
PR: 6903
Reviewed by: phk
Submitted by: Josh Gilliam <josh@quick.net>
1998-06-10 12:34:27 +00:00
Joseph Koshy
9c727d2ca9
Spelling corrections.
...
PR: 6868
Submitted by: Josh Gilliam <josh@quick.net>
1998-06-06 05:50:53 +00:00
Jordan K. Hubbard
3081c7cd68
Don't use absolute path.
...
Submitted by: jhay
1998-05-27 07:39:05 +00:00
Philippe Charnier
a5941fc2aa
.Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq
1998-03-19 07:34:22 +00:00
Wolfgang Helbig
5aeee887af
Don't swap carriage return and new line in quoted mode (after ^V).
1998-01-22 07:37:10 +00:00
Bruce Evans
cf95d56dc5
Fixed wrong prototype for history().
...
Don't (mis)use .Fd outside of the synopsis.
1998-01-16 14:33:47 +00:00
Wolfram Schneider
bf5cbf3551
Sort cross refereces in section SEE ALSO.
1997-09-29 19:11:55 +00:00
Mike Smith
fb4289da2a
Improve dependancy behaviour a little more.
...
This is still pretty disgusting.
Submitted by: bde
1997-07-28 03:33:04 +00:00
Mike Smith
a39c8cb67d
List help.h a a dependancy for editline.c
...
Use 'beforedepend' instead of '.depend' to hang automatically-generated
headers off.
XXX the latter is bogus without a 'beforeall' target and explicit ordering
of dependancy generation for targets.
1997-07-27 10:47:49 +00:00
Mike Smith
194fb96e6a
Reorder decomposition of the filename argument for the '-h' flag to
...
avoid misprocessing in the case where the filename argument contains
more than one period.
Submitted by: micke@dynas.se (Mikael Hybsch)
1997-07-23 18:23:42 +00:00
John Polstra
c978fcda00
Kill this file really dead. The default branch was cleared, even
...
though the file was still on the vendor branch. I don't know why.
It doesn't look like the cvs-add-on-a-branch bug that we already
know about.
1997-07-15 16:45:50 +00:00
Mike Smith
db863ba00b
Fix vi-mode searching broken with the NetBSD changes update.
...
PR: bin/4064
Submitted by: Wolfgang Helbig <helbig@MX.BA-Stuttgart.De>
1997-07-14 13:21:08 +00:00
Bruce Evans
27dceaf5ea
Kill histedit.h again. Importing Lite2 brought it back for some reason
...
(although it hasn't changed).
1997-07-03 04:15:01 +00:00
Bruce Evans
362c392f0b
This commit was generated by cvs2svn to compensate for changes in r27180,
...
which included commits to RCS files with non-trunk default branches.
1997-07-03 03:28:27 +00:00
Bruce Evans
5500fdcd4f
Import Lite2's src/lib, except for non-i386 machine-dependent directories,
...
libc/db, libc/gen/crypt.* and libtelnet. All affected files except 3
unimportant ones have already left the vendor branch.
1997-07-03 03:28:27 +00:00
Andrey A. Chernov
edfa832c6a
ctype: portability, sign extension and cleanup fixes
1997-06-27 11:50:56 +00:00
Andrey A. Chernov
f76efb86fb
Move editrc.5 from MAN3 to MAN5
1997-06-27 11:16:28 +00:00
Mike Smith
e3144c3932
Pull histedit.h out, it lives in /usr/src/include, not here.
1997-06-25 09:49:06 +00:00
Mike Smith
38ec47c346
Add extra test functionality.
...
Obtained from: NetBSD
1997-06-25 08:14:45 +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
Peter Wemm
b7e5f46aed
Add missing DPADD, remove duplicate -ltermcap
1996-08-30 01:50:07 +00:00
Andrey A. Chernov
6f99f89bbe
8bit cleaness (ctype) fixes
1996-08-11 19:20:30 +00:00
Jordan K. Hubbard
51295a4d3e
General -Wall warning cleanup, part I.
...
Submitted-By: Kent Vander Velden <graphix@iastate.edu>
1996-07-12 18:57:58 +00:00
Peter Wemm
6065a0be11
This commit was generated by cvs2svn to compensate for changes in r13122,
...
which included commits to RCS files with non-trunk default branches.
1995-12-30 19:02:48 +00:00
Peter Wemm
e210ca89ca
Fix PR#858, /bin/sh corruption caused by non-zeroed malloc() in libedit
...
in particular circumstances. (malloc() does not zero memory, but usually
does by coincidenct that sbrk() returns zeroed pages)
Submitted-by: John Hood <cgull@smoke.marlboro.vt.us>
1995-12-02 09:43:43 +00:00
Bruce Evans
ee810ef23e
Update to 4.4lite2 (initialize arrow key data completely).
1995-10-22 18:49:04 +00:00
Andrey A. Chernov
b247e376cd
Change my parse fix from 'return argc' to 'return 0'.
...
Pointed by: davidg
1995-08-30 17:59:59 +00:00
Andrey A. Chernov
7800dc3823
Fix sh coredump in vi mode with empty colon command
1995-08-04 19:42:23 +00:00
Andrey A. Chernov
bd13cecc22
Simplify baud printing code
1995-08-04 10:30:34 +00:00
Andrey A. Chernov
e390f0a585
Nuke local termcap.h and use system one
1995-08-04 09:26:10 +00:00
Rodney W. Grimes
6c06b4e2aa
Remove trailing whitespace.
1995-05-30 05:51:47 +00:00
Andrey A. Chernov
e46d877d8d
Add LDADD+= -ltermcap
1994-10-12 02:06:02 +00:00
Andrey A. Chernov
6bd6acee8e
Little regex code cleaness, idea from jgreco@ns.sol.net
1994-10-02 10:54:00 +00:00
Andrey A. Chernov
006e8b41fb
Fix bug with 8-bit chars sign extention (ctype not works)
1994-10-02 02:01:21 +00:00
Andrey A. Chernov
c6acecdc95
Rewritten using POSIX regex
...
Add 57600 and 115200 speeds
Correct termcap path
1994-10-02 01:33:28 +00:00
Rodney W. Grimes
6897a8a75d
Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcap
1994-09-11 21:53:28 +00:00
Geoff Rehmet
965f1815ba
In emacs editing mode, sh treated ^D at the end of a line as EOF.
...
(Apparently by Christos Zoulas.)
Liberated from: NetBSD
1994-09-09 19:07:43 +00:00
Bruce Evans
2577a8acef
Add dependencies on libraries to DPADD. Someday this should be done
...
automagically. -lfoo has to be right to work, but ${LIBFO0} is too
easy to forget or misspell; nothing checks it and it should be
different for shared libraries.
1994-08-28 18:49:06 +00:00
Jordan K. Hubbard
eaf83dc038
Make this work even if make depend is not run.
...
Reviewed by:
Submitted by: jkh
1994-08-08 18:54:08 +00:00
Garrett Wollman
8401cb0d9a
histedit.h is now installed from include.
1994-08-04 20:47:46 +00:00
Rodney W. Grimes
58f0484fa2
BSD 4.4 Lite Lib Sources
1994-05-27 05:00:24 +00:00