Commit Graph

36285 Commits

Author SHA1 Message Date
thorpej 9ba18e2255 Generate dependencies on the MATH_EMULATE option. 1998-01-21 23:29:08 +00:00
mark 2b66ad2b89 Implement severl missing prototypes. 1998-01-21 22:55:19 +00:00
thorpej dc1a41a889 Document MALLOCLOG and MALLOCLOGSIZE options. 1998-01-21 22:54:56 +00:00
mark 330df4c754 Added missing prototypes. 1998-01-21 22:51:38 +00:00
thorpej 9c3ef8899b Don't conditionally define the sgmap_log_entry structure, and turn off
SGMAP logging by default.
1998-01-21 22:36:10 +00:00
mark b0e99b3251 Cleanup various debugging printf format strings. 1998-01-21 22:34:39 +00:00
thorpej 3d9cd8a05a Extent names are const. 1998-01-21 22:34:38 +00:00
mark dfbf823cea Cleanup various debugging printf format strings. 1998-01-21 22:34:38 +00:00
thorpej 6428828e64 Const'ify the extent name. 1998-01-21 22:33:49 +00:00
mark a108da3f00 Cleanup function prototyping in disasm_interface structure. 1998-01-21 22:33:10 +00:00
mark ce1e283415 Axe some unused variables. 1998-01-21 22:28:12 +00:00
mark 74ff2dac9d Cleaned up various debugging printf format strings. 1998-01-21 22:25:37 +00:00
thorpej 66abe4217c Implement an activity log for malloc() and free(), useful for tracking
down "Data modified on freelist" and "muliple free" problems.

The log is activated by the MALLOCLOG option, and the size of the
event ring buffer is controlable via the MALLOGLOGSIZE option (default
is 100000 entries).

From Chris Demetriou, cleaned up a little by me per suggestions in the
e-mail from Chris that contained the code.
1998-01-21 22:24:32 +00:00
mark 52adaefc18 Include sys/systm.h for various prototypes. 1998-01-21 22:20:02 +00:00
cgd 4369378a6c add rules like those in libc to build strchr() and strrchr() (the latter
is being added to libkern by this commit).  remove strchr.c from
archs' Makefile.inc files to go along with this.  (If an arch has
a .S version, it should be copied down and added to the apropriate
Makefile.inc.)
1998-01-21 21:23:18 +00:00
cgd 61a021f836 sync with libc 1998-01-21 21:17:08 +00:00
cgd 0bc1621f94 add strrchr 1998-01-21 21:16:52 +00:00
cgd 9bdf198379 add appropriate #ifdefs (kernel includes) so that these files can
be copied to libkern and built without modification.
1998-01-21 21:13:09 +00:00
cgd 40894919ec sync with libc version. (just rcs id changes.) 1998-01-21 19:43:23 +00:00
lukem 61eb3f4761 * store st_dev of filesystem not quotafile. (inspired by an openbsd commitmsg)
* minor KNF, fix typos, use strchr() not index()
* check return value of malloc() and use strdup() where appropriate
1998-01-21 11:37:16 +00:00
lukem 33a9f67f94 enable el_parse for unknown commands (so editrc(5) commands can be used directly 1998-01-21 11:14:34 +00:00
lukem 63177b84ae in el_parse(), use a temporary buffer to store the program name when
comparing, preventing trashing of argv[0]. remove note in man page
warning of former behaviour.
1998-01-21 11:12:34 +00:00
christos e3f5fb922f BSD4_4 is a standard symbol in <sys/param.h>; make sure that files
that need this defined, include <sys/param.h> and don't define it in
the Makefile. Add a comment to that effect.
1998-01-21 10:47:37 +00:00
lukem 78b73237b4 fix compile errors if FIONREAD is defined. noted by
David Holland <dholland@bordeaux.eecs.harvard.edu> in [bin/4012].
1998-01-21 10:12:22 +00:00
mikel 332409ce59 update to match new reality (/usr/lib/supfiles -> /etc/supfiles) 1998-01-21 09:10:40 +00:00
leo 8d5fa0c992 Fix a bug in the colormap handling. (Thomas Gerner) 1998-01-21 09:07:46 +00:00
mikel ef33c3eddc Add -DEE_XXX to CPPFLAGS so that system supfiles are obtained from
/etc/supfiles instead of /usr/lib/supfiles.
1998-01-21 09:07:04 +00:00
mikel cbddf94bc4 add NOLUNS quirk for UMAX S-12; from Andreas Wrede in PR kern/4849 1998-01-21 08:41:28 +00:00
mycroft 025e41d91f Add support for comments in the test input. 1998-01-21 06:13:08 +00:00
mycroft 5d12d4a955 Add simple tests for %a %A %b %B. 1998-01-21 06:09:24 +00:00
mrg c71457ab4a KNF, and use splzs over splhigh in one place. 1998-01-21 05:54:39 +00:00
mycroft 9d5392455a Do the time subdir. 1998-01-21 05:47:18 +00:00
mycroft 6a9109dc64 Do the strptime subdir. 1998-01-21 05:46:30 +00:00
mycroft 9c4f420a2e Add simple test framework for strptime(3).
Will be adding more test cases shortly.
1998-01-21 05:44:32 +00:00
jonathan ac937aafed Fix clock attachment to match (pseudo) ioasic attachment in 5000/200 kernel. 1998-01-21 02:38:26 +00:00
mellon babb710a0b Never free the mbuf that we give to tcp_respond(). The previous change corrected an inconsistency but in exactly the wrong way. 1998-01-21 01:21:22 +00:00
gwr 736fd65224 Note imports of alpha files from cygnus970817 snapshot. 1998-01-21 01:05:27 +00:00
mycroft 7eb2b1553a Fix the old-style date parsing code as well. 1998-01-21 00:48:44 +00:00
mycroft 9a257260cf Oops; remove DEBUG. 1998-01-21 00:33:56 +00:00
mycroft fff43038f7 Slight code rearrangement. 1998-01-21 00:32:53 +00:00
mycroft d4e67eb266 If a time stamp is 6 months or more in the future, display the year in the
short form.  Also, cache the current time.
1998-01-21 00:25:19 +00:00
mycroft 85876e6b32 Minor code rearrangement, and allow less of the time stamp to be specified. 1998-01-21 00:24:46 +00:00
mycroft f8c64f2198 Allow a century to be specified in time stamps. 1998-01-21 00:11:15 +00:00
mycroft 65139bd9be Slight code rearrangement. 1998-01-21 00:07:44 +00:00
mycroft e3e9aba051 Correct the tense of one sentence. 1998-01-20 23:43:41 +00:00
mycroft 689db8fcc6 Use warn*(3). 1998-01-20 23:41:57 +00:00
mycroft bc0a5a65c3 Clean up documentation a bit, and document the `-l' option. 1998-01-20 23:37:27 +00:00
mycroft 6e07276e0f Document previous changes. 1998-01-20 23:24:46 +00:00
mycroft fea6f55d8d Recognize `-' only if it is the only argument after the time. 1998-01-20 23:13:31 +00:00
mycroft d311785b75 Allow `-dh'. Rearrange a bit. 1998-01-20 23:05:15 +00:00