Commit Graph

29 Commits

Author SHA1 Message Date
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
ac648592d9 Keep build-tools objects separate from `all' objects so that my
cross-builds work.
1998-09-02 15:22:11 +00:00
John Birrell
f68e5c78bb Make the locally built and executed build tools in this directory
static to avoid them trying to use shared libraries before we're
ready. During the initial elf buildworld, the shared loader only
exists in the obj tree, so it can't be used.
1998-08-15 07:15:51 +00:00
Bruce Evans
6d31e616a0 Added a `build-tools' target for internal tools. 1998-07-07 01:51:18 +00:00
Andrey A. Chernov
7bc8e89840 Add check for non-NULL cur_term
Add #pragma weak for reset_*_mode() they will be replaced in libncurses
1998-06-19 16:09:20 +00:00
John Birrell
49f91abde3 When printf'ing the result of pointer arithmetic, cast the result to
long and use %ld, not %d.

We're going to need an abbreviation for this comment 'cause it's going
to be used a lot from now on.
1998-01-13 03:07:10 +00:00
Andrey A. Chernov
aaf9cb20c9 Fix longstanding bug with buffer pointer goes beyoud buffer start
Cause initscr (ncurses) fail in some cases
1997-08-13 01:21:36 +00:00
John Polstra
162fc7cd57 Remove conflicting declaration of sys_errlist, which caused make world
breakage.
1997-03-29 17:42:32 +00:00
Peter Wemm
7e546392b5 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Peter Wemm
345be915f7 cmp -s || install -c ==> install -C 1996-08-30 02:12:07 +00:00
Peter Wemm
a5b996a7ec recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
Bruce Evans
97cefc5891 Install source files with the -c flag, not with the optional flag ${COPY}. 1995-08-06 12:37:41 +00:00
Rodney W. Grimes
6c06b4e2aa Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
Andrey A. Chernov
d9f3f4f9bb Parse ^? correctly now 1995-05-14 22:33:52 +00:00
Andrey A. Chernov
2f69f2f2f3 Remove duplicates: parm rindex & scroll right 1995-03-27 05:13:31 +00:00
Andrey A. Chernov
c90720154b Get rid of strtok(), it is depricated in libs 1995-03-24 17:40:54 +00:00
Andrey A. Chernov
5b79c36cbc Solve conflict between two global force variables 1995-03-03 02:34:14 +00:00
Andrey A. Chernov
9945b53297 Prototypes... 1994-12-10 22:56:53 +00:00
Andrey A. Chernov
aa31b7471d Fix tputs/tparm declarations 1994-12-09 21:52:47 +00:00
Andrey A. Chernov
915554d454 Change rules to not generate term.h on second make depend 1994-11-16 11:54:09 +00:00
Andrey A. Chernov
466783eaf8 More verbose diagnostic, if fails 1994-10-31 03:03:18 +00:00
Andrey A. Chernov
3a1ed32457 Add -I${.CURDIR} 1994-10-28 06:58:04 +00:00
Andrey A. Chernov
372c5ad47c Change link to symbolic link (term.h) 1994-10-10 01:03:26 +00:00
Andrey A. Chernov
af1f5928f1 Merge term.h and nterm.h 1994-10-10 00:32:19 +00:00
Andrey A. Chernov
5dc8d4254a Generate term.h only once, not each beforeinstall.
Add 'update_term_h' target for manual update
1994-10-09 18:39:01 +00:00
Andrey A. Chernov
f404a9f3aa Split all binaries from makefile now 1994-10-09 17:50:50 +00:00
Andrey A. Chernov
9e6f124826 Preparation to split binary away, move caps to TESTS
Add some testing bits to TESTS directory
1994-10-09 16:37:35 +00:00
Andrey A. Chernov
abc4e99233 Moved from ports + several enhacmenets 1994-10-06 23:38:41 +00:00