Commit Graph

24950 Commits

Author SHA1 Message Date
mikel
37ee5d07f0 xref lseek(2) instead of seek(2); PR lib/2750
also note fpos_t/off_t discrepancy.
1997-01-23 08:10:04 +00:00
mikel
62eb1738e8 include <sys/cdefs.h> for K&R C and C++ friendliness; PR lib/2836 1997-01-23 07:01:50 +00:00
mikel
8cd71f8b62 eliminate duplicate paragraph and fix typos; PR misc/3128 1997-01-23 06:34:39 +00:00
mikel
f5a8ade241 return 0 on successful exit, compare getopt() result to -1 instead of EOF. 1997-01-23 06:29:05 +00:00
mikel
2e5a49b4b6 fix typo in Napoleon's name 1997-01-23 06:06:29 +00:00
mrg
3771fb912e set transflag to 0 in dologout, to prevent a SIGURG taking us back to the main loop. 1997-01-23 05:57:55 +00:00
mikel
7f50ef911a eliminate possibility that execle() will be called with one too many
arguments.
1997-01-23 05:48:06 +00:00
cgd
4f2317d97b add ELF support. tested on an alpha (64-bit ELF), but compiled with both
32- and 64-bit ELF support.
1997-01-23 05:43:29 +00:00
mikel
ce6705faed replace <sys/types.h> with <unistd.h> and fix type of brk();
PRs 2938 and 3132.
also added xref to mmap(2).
1997-01-23 05:32:52 +00:00
cgd
4790c9bc3d note that -k/-f should be give C names. note what i've done 1997-01-23 05:28:50 +00:00
cgd
4a4977d054 clean up formatting glitches (bogus newlines in source) 1997-01-23 05:14:37 +00:00
cgd
d2fff4533c change the keep list (in_keep_list()) semantics: now keep list is C labels 1997-01-23 05:13:00 +00:00
cgd
20741c52e9 give crunchide a C label name with -k, since crunchgen really doesn't
want to have to care about the object format in use, and C label prefix
is object format dependent.
1997-01-23 05:07:22 +00:00
cgd
9e2f98f172 clean up formatting glitches (bogus newlines in source) 1997-01-23 05:03:49 +00:00
jeremy
d0ba6f78a0 Fixed leap year bug. (Doesn't happen until 2100, but still important.) 1997-01-23 04:13:39 +00:00
thorpej
e256e03227 Arrange the code that sets the options flags such that the user can
completely override the defaults (including disabling DMA) in the
kernel config file.
1997-01-23 02:11:23 +00:00
mhitch
808f2c3ec1 The mfb driver uses struct fbinfo for the device data, but was only allocating
memory for struct device.
1997-01-23 01:54:09 +00:00
jtk
43130f9be2 apply typo fix per misc/3134 (from Thorsten Frueauf) 1997-01-23 00:31:14 +00:00
cgd
b78496eee9 add ECOFF, ELF32, and ELF64 recognition code. Right now, when
you try to hide symbols in these kinds of files, an error message
is printed noting that the executable format is not supported.
1997-01-22 23:57:18 +00:00
cgd
d7b9b1a503 dd the various #defines/#ifdefs for ECOFF support. ECOFF will
probably never be completely supported here (since its internal vs.
external symbol handling is so annoying), but at least we can recognize
the ECOFF binaries and print something useful, on machines that use
them.
1997-01-22 23:53:58 +00:00
mycroft
318bbe30f5 Increase the delay() in isapnp_wait_status() for slow cards. 1997-01-22 23:51:38 +00:00
mycroft
2cac90cc74 ep* at isapnp? 1997-01-22 23:46:59 +00:00
mycroft
f7709d02b6 Add a frontend for the 3C509B. 1997-01-22 23:44:03 +00:00
cgd
144d8aad7e a couple more bogons. (i'd been testing with the wrong executable!)
Now it really works.
1997-01-22 23:33:08 +00:00
cgd
eb8abf7e9d include extern.h, add newline to new fprintf 1997-01-22 23:21:49 +00:00
cgd
34f3806288 fix a couple of goofs ('hide' now returns errors!), move #ifdef 1997-01-22 23:21:01 +00:00
cgd
ccc5be39c2 fix hide_* prototypes 1997-01-22 23:20:03 +00:00
cgd
5247fa0ce9 split this up so that support for other executable formats can be more
easily added.
1997-01-22 22:49:05 +00:00
briggs
c794772836 PTY Master is 5, slave is 4. This has been wrong for a long time. How? 1997-01-22 19:31:37 +00:00
mhitch
4fe9d4efee The sfb driver uses the device data, so more than a "struct device" is
needed.  When sfbattach() initializes the fbinfo data, it was corrupting
data past the struct device data actually allocated.  This does not appear
to have caused a problem in the past, but causes a problem with the new
setroot() changes by Jason.
1997-01-22 17:27:54 +00:00
mikel
7e68ce85de inet_makeaddr() takes unsigned long, not int, arguments; fixes PR lib/2385. 1997-01-22 07:57:19 +00:00
thorpej
b7a5b84750 Treat the nswdev == 0 case like the nswap == 0 case; don't panic, just
report no swap space.  Suggested by Leo Weppleman <leo@netbsd.org>.
1997-01-22 07:28:21 +00:00
mikel
6bd4a3a75f add multiple inclusion protection 1997-01-22 07:09:04 +00:00
mikel
d59edbdc1c regen 1997-01-22 06:54:31 +00:00
mikel
bd71be635d add multiple inclusion protection to generated header 1997-01-22 06:51:59 +00:00
thorpej
e5a9a53136 Back out previous; that was _not_ meant for the trunk! 1997-01-22 06:19:34 +00:00
thorpej
2394f36887 Update for new setroot(). 1997-01-22 06:07:16 +00:00
thorpej
64eb3eb966 Don't build games if it's not there. From Matthias Drochner, PR #3130. 1997-01-22 04:19:48 +00:00
mikel
85e2541022 install namedb files from subshell so distribution target will work
with -j; from PR misc/3116
1997-01-22 04:10:42 +00:00
cgd
25bd886ba9 fix a typo (ZPPFLAGS should have been ZCPPFLAGS) 1997-01-22 01:36:30 +00:00
cgd
1d20ab5d2e if 'clean' is not already defined, rather than simply defining it with
a bunch of rules, define a clean{kmod,lib,prog} target with the rules,
and have both clean and cleandir depend on that.  That eliminates a bug
where 'cleandir' in a directory which included e.g. bsd.prog.mk but which
also had subdirs would 'make clean' all the subdirs and then 'make cleandir'
all ofthe subdirs.  It also allows Makefiles to add more dependencies
to 'clean' after inclusion of the make template.

If 'clean' is already defined, the behaviour is the same as it used to be.
1997-01-22 01:34:11 +00:00
thorpej
30ec3e8a63 Don't transfer the entire YP database using yp_{first,next}(); instead
use yp_match(), which is much more efficient.

From Michael.Eriksson@era-t.ericsson.se, PR #3114.
1997-01-22 01:21:06 +00:00
cgd
ea27b7aa31 Add a whole bunch of features, from Matthias Drochner:
best-fit, rather than first-fit, algorithm.
	ability to handle free()s with zero size (needed for gzip read
	    support).
	ability to start the heap someplace else (defined by HEAP_START).
	ability to limit growth of the heap (via HEAP_LIMIT).
	debugging sanity checks (ifdef DEBUG).
	allocation tracing support, to help debugging (ifdef ALLOC_TRACE).
and from me:
	ability to pick a (smaller) first-fit algorithm (via ALLOC_FIRST_FIT).
	lots of comments.

If heap limits and all of the debugging features are disabled (the default),
and ALLOC_FIRST_FIT is defined (not the default), compiled with -O on the
alpha the new version is the same (object) size as the old version.
1997-01-22 01:18:23 +00:00
cgd
862c1d585c code to open/close/read/lseek gzipped files, from Matthias Drochner. 1997-01-22 00:40:07 +00:00
cgd
21979e8d6b define these functions with an 'o' prepended to their names if
__INTERNAL_LIBSA_CREAD is defined (so that they can be used by the
compressed-read code).
1997-01-22 00:38:09 +00:00
cgd
b581a80665 prototype lseek(). also, prototype oopen(), oclose(), oread(), and olseek()
if __INTERNAL_LIBSA_CREAD is defined.
1997-01-22 00:37:23 +00:00
cgd
e5e4a07022 define names for the ISA floppy disk controller/drives, even though they
aren't supported yet.  (conf.c needs a header for them, since i already
added their device switch table entries.)
1997-01-21 23:45:54 +00:00
cgd
4a81474aaf make load address settable via LOADADDRESS make option 1997-01-21 23:37:10 +00:00
pk
a9142bd25b Drop strchr(), it's in libkern now; we didn't use it anyway. 1997-01-21 21:07:04 +00:00
leo
43795f8930 Don't set the PA_SER2 bit by default, this has the nasty side effect that
it disables the IDE hardware on the Falcon (Thanks Markus ;-) ). A function
is provided to toggle the bit.
1997-01-21 20:41:07 +00:00