Commit Graph

45385 Commits

Author SHA1 Message Date
jonathan 7574d9a952 Do DESTDIR support for crtbegin/crtend on all ELF ports (adds mips). 1998-11-07 07:10:19 +00:00
mrg 7c0d69c3ab minor KNF nits 1998-11-07 05:50:19 +00:00
jonathan cdd3abe7a9 Pull MBR-scanning code and NetbSD-partition-finding into a separate
function, rathe than duplicating in readdisklabel() and writedisklabel().

XXX should really  make MBR code MI, and share with other MBR-using ports
(e.g., arc, arm32 MBR label-scanning code).
1998-11-07 04:39:03 +00:00
jonathan a581370fce apply previous change to writedisklabel() as well as readdisklabel(). 1998-11-07 01:30:57 +00:00
jonathan 45aa097296 Change COMPAT_386BSD_MBRPART: don't break on match, so that if there's more
than one DOSTYP_386BSD partition, we pick the last one, not the first.
That's what our install tools do/did with multiple ID-165 partitions.
1998-11-07 01:08:00 +00:00
christos 889ce7db6e - full prototypes
- more conservative printf
- char -> unsigned char
1998-11-06 23:31:09 +00:00
christos a3cf33f0fd make printf format more conservative 1998-11-06 23:21:38 +00:00
christos 3f852e73e1 we don't need sys/ucred.h 1998-11-06 23:21:01 +00:00
christos c3203395bd char -> unsigned char 1998-11-06 23:06:38 +00:00
christos 051c69de86 disambiguate if/else block 1998-11-06 23:06:30 +00:00
cgd 515148e0a3 cast arg to dbtob to u_quad_t; consisent, and fixed size unnecessary 1998-11-06 23:03:06 +00:00
cgd af24dfc946 argument to dbtob needs to be cast to u_quad_t here to avoid shift lossage 1998-11-06 23:02:12 +00:00
christos e1178b155e - include <termios.h> for winsize
- char -> unsigned char
1998-11-06 22:59:12 +00:00
christos bd5b624c4c char -> unsigned char 1998-11-06 22:57:55 +00:00
christos 9b6b9cac77 - factor out common code
- char -> unsigned char
1998-11-06 22:56:38 +00:00
christos ac193186ef char -> unsigned char 1998-11-06 22:49:30 +00:00
christos b239b35fe2 char -> unsigned char
rindex -> strrchr
1998-11-06 22:40:13 +00:00
christos 1a67b18deb char -> unsigned char 1998-11-06 22:29:44 +00:00
christos 2de3ba714e - Don't understand why use union wait pstat.w_status...
Change it to just int status...
- char -> unsigned char
1998-11-06 22:28:15 +00:00
christos b62bb45812 - prototype tgetstr()
- add decls for *SE, *SO, *SV for svr4
- initscr() should not be compared with ERR, but NULL, since it returns
  a window pointer.
1998-11-06 22:14:58 +00:00
tron 63b722221a Sync with "GENERIC". 1998-11-06 20:29:52 +00:00
is 23c04fa375 Add color debug code for DraCos. 1998-11-06 20:08:20 +00:00
christos dbc0627f1d use waitpid instead of wait3 1998-11-06 20:05:43 +00:00
christos 6eb7ceb840 char -> unsigned char 1998-11-06 20:03:08 +00:00
christos 501608c08c bcpy->memcpy, and don't trash memory if
hp->h_length is > sizeof(struct sockaddr_in);
1998-11-06 20:00:07 +00:00
christos 81c93f4c32 - synchronize with the domestic version
- setupterm -> setup_term
- char -> unsigned char
1998-11-06 19:54:18 +00:00
christos d5838591db complete prototype for fts_compar. 1998-11-06 19:44:52 +00:00
christos 5ba0b28730 qsort cast. 1998-11-06 19:44:03 +00:00
christos ccbb2cb989 port to svr4. 1998-11-06 19:43:23 +00:00
christos d826507120 s/LALIGN/BTLALIGN 1998-11-06 19:42:43 +00:00
christos 363ecde5ca char -> unsigned char 1998-11-06 19:20:12 +00:00
christos 7f1ed758a3 char -> unsigned char 1998-11-06 16:52:42 +00:00
is f12b956e84 Allow changing of formerly empty passwords. 1998-11-06 13:07:18 +00:00
mrg 32e9822211 add a prototype for getpgid (missing for years!) 1998-11-06 05:58:09 +00:00
mhitch b2b8303852 C++ support changes:
Generate .ctors and .dtors sections which contain the contructor and
deconstructor function addresses.

Use .init and .fini sections to call the functions to call those functions.

Include the crtbegin and crtend object files which perform those calls.
1998-11-06 04:33:43 +00:00
mhitch 010e90e0ca Cursor position offsets need different values for an sfb board with an
alternate clock that does lower resolution.
1998-11-06 03:53:40 +00:00
mhitch a7f70a5fbc Fix problem when using non-DEC CDROMS with blocksize other than 512 bytes.
This got lost when disk geometry processing was updated.

Also move the CDROM check from rzread() to rzwrite() - it doesn't make
much sense to report a read-only filesystem error when trying to read a
CDROM.
1998-11-06 01:59:25 +00:00
jonathan fb020850a0 Increase compiled-in default bpf buffer size from 4096 to 8192.
(the libpcap API provides no way to resize the inkernel buffe,r and
4096 is too small to capture maximum-sized FDDI frames.)
1998-11-05 22:50:15 +00:00
kenh e58cf6b359 Add definitions for the ATA power management commands 1998-11-05 22:49:09 +00:00
erh bda913305b Make sure the interpreter string is long enough to check against. 1998-11-05 22:19:25 +00:00
christos b34c5dd583 minor performance improvement. 1998-11-05 21:26:03 +00:00
ragge fbed93d50d EGCS fixes. 1998-11-05 19:48:04 +00:00
ragge bee167375f EGCS fixes + TU81 fix. 1998-11-05 19:47:20 +00:00
ragge 3467859667 EGCS fixes. 1998-11-05 19:46:18 +00:00
he 8b31371b9c Add various headers which are now installed:
./usr/include/dev/ic/bt431reg.h
./usr/include/dev/ic/bt459reg.h
./usr/include/dev/ic/bt463reg.h
./usr/include/dev/ic/ims332reg.h
1998-11-05 16:54:55 +00:00
he ec27f9cfc5 Add stuff that's now being installed:
./usr/lib/libstdc++.so.1.0 (while gcc is still used?)
New entries:
./usr/lkm/coda.o
./usr/lkm/ext2fs.o
./usr/mdec/mbr
1998-11-05 16:51:32 +00:00
mellon 3cc58a69cc Fix a signed/unsigned thinko (this is cgd's fix) 1998-11-05 15:59:00 +00:00
frueauf b1122614c3 Add braces to make egcs happy. 1998-11-05 14:13:59 +00:00
christos 09fb774d70 s/MODEMASK/RCPMODEMASK/
From Darrin Jewell.
1998-11-05 14:00:58 +00:00
christos c74a8268c0 rename len to dlen... 1998-11-05 13:57:22 +00:00