Commit Graph

44844 Commits

Author SHA1 Message Date
christos
9a04d28344 Fix emulation errno translation. 1998-10-18 17:43:43 +00:00
thorpej
adc5eb3a57 Fix a thinko in previous. 1998-10-18 17:15:04 +00:00
perry
8cfb39a246 Update to note linux_lib-2.5 1998-10-18 17:11:14 +00:00
christos
c2339a1799 Make error array look like ibcs2, svr4, and linux 1998-10-18 17:00:32 +00:00
christos
e26890e06b Rename ibcs2_errno.c -> ibcs2_error.c to match with linux and svr4 1998-10-18 16:59:14 +00:00
christos
09285b1171 PR/6311: By me... There was a bug unloading the dmamap:
addr = map->dm_segs[0].ds_addr & ~PGOFSET;
	len = map->dm_segs[0].ds_len;
	len = ((addr & PGOFSET) + len + PGOFSET) & ~PGOFSET;
	addr &= ~PGOFSET;

Notice that the & ~PGOFSET in the first line should be gone. This fixes
the newfs large disk panic.
1998-10-18 16:02:34 +00:00
minoura
690a8993f4 We support only SCSI disks. 1998-10-18 15:15:46 +00:00
kleink
cd85b5e5ac Protect __atexit manipulation and traversal with a mutex. 1998-10-18 14:36:30 +00:00
christos
ff08129ca5 strftime is not needed for svr4 machines; also fix the prototype footprint. 1998-10-18 14:24:16 +00:00
christos
3b7c5b4ed8 Only define const and volatile when __STDC__ is not defined (for BOOTSTRAP) 1998-10-18 14:23:48 +00:00
christos
dfa4e2c867 Portability. Use #ifdef BSD4_4 for sin_len 1998-10-18 14:22:05 +00:00
kleink
3e8c90f694 Replace use of getdtablesize() with (the non-deprecated) sysconf(), hence no
need for an internal name for the former any more; suggested by Matthew Green.
1998-10-18 13:56:21 +00:00
mellon
8a9206b6fd Add CAPS_IS_CTL option 1998-10-18 12:21:51 +00:00
mellon
785a5b82d6 Document hf flag 1998-10-18 12:17:16 +00:00
tsubai
d7f8b7b2e3 Add wscons. 1998-10-18 11:40:45 +00:00
tsubai
07e2c44982 Make compilable without aed. 1998-10-18 09:52:16 +00:00
tsubai
541bc2d3d7 Add wsmouse support. 1998-10-18 09:31:40 +00:00
ragge
01921e4c4b TARGET_PAGE_SIZE should be 4k. 1998-10-18 08:48:59 +00:00
itohy
16f4ff7111 Remove strings(1) (temporary?) since it is no longer in
src/usr.bin and the GNU version seems too large for floppies.
Use single-user only init(8), which saves ramdisk capacity
and a key stroke.
1998-10-18 07:50:18 +00:00
itohy
6220b02986 Use installboot instead of writefdboot.
Minor changes.
1998-10-18 07:35:00 +00:00
matt
c04e8d03ca Fix bug where "calls x, *foo" went through PLT, not GOT. 1998-10-18 06:54:13 +00:00
itohy
2a9addf6dc Remove unwanted reference to "_trap1" if !defined(COMPAT_13). 1998-10-18 04:42:17 +00:00
thorpej
f5c016eea6 yoops, build manpage (duh) 1998-10-18 01:14:28 +00:00
perry
33b847b7b8 Don't build sendmail if USE_VMAILER is defined in mk.conf.
This is a temporary kludge to make it easier for vmailer users not to
accidently blow away vmailer when building the world.
1998-10-18 01:06:31 +00:00
matt
058ca7f5d6 Add PIC mode support. Note that most of the support for PIC mode on
the VAX is inside gas.  There are cooperative changes in gcc/egcs and
ld as well.
1998-10-17 18:55:23 +00:00
matt
6178b5ccd0 Add a M_VAX (old 1K MID) for gas. 1998-10-17 18:49:50 +00:00
matt
d3b202ace6 Add a type label (needed for VAX assembly). 1998-10-17 18:49:09 +00:00
matt
25f52e1ec4 Add VAX support to gas.new. 1998-10-17 18:26:10 +00:00
itohy
7b5b0b24ce Fix fts_close() not to (implicitly) read free()'ed memory.
This fix closes PR #6181.
1998-10-17 17:40:44 +00:00
itohy
102d06b78c 1. The 1st arg of sprintf() shall be nul terminated
(The C specification can read as such and our implementation of sprintf()
issues strlen() to the arg).
2. Eliminate memory leaks.
1998-10-17 17:14:01 +00:00
itohy
9d79a50f6a Correct return value of md_midcompat(). 1998-10-17 17:08:21 +00:00
thorpej
c0b197f941 Fix a thinko in the device opening code. 1998-10-17 05:08:27 +00:00
jtk
c4ffdb9200 dumpsize == 0 also indicates failure to figure out where to dump
(e.g. dump partition too small), so complain in that case when trying to
dump
1998-10-17 00:07:11 +00:00
pk
0bf09a4ae7 Drop cpuinfo's `L1_ptps'; instead keep a per CPU segment (level 2) page
table descriptor that is used to patch up a region (level 1) page table
associated with a user pmap at context switch time.
1998-10-16 22:39:17 +00:00
kleink
759e4c8f58 <sys/fcntl.h> -> <fcntl.h> in previous. 1998-10-16 22:01:57 +00:00
kleink
45f04f24af Need "namespace.h" for getdtablesize(). 1998-10-16 20:48:06 +00:00
kleink
bedf769000 getsubopt() isn't used internally. 1998-10-16 20:35:20 +00:00
kleink
571ab7ae88 Need an internal name for herror(). 1998-10-16 20:26:02 +00:00
tv
57d34f92e8 Set MAX_OFILE_ALIGNMENT to 32 as suggested by <chas@cmf.nrl.navy.mil> in
PR port-m68k/6308.  Since m68k's can access doubles fine on a 32-bit
boundary, this does not need to be 64.
1998-10-16 20:07:15 +00:00
tv
cacab8b6b5 Define __arm__ in CPP_PREDEFINES as on other ARM OS's. Suggested by
<rearnsha@arm.com>.
1998-10-16 19:50:46 +00:00
tv
000978aaca Check for gcc the Right way when quashing -Wuninitialized goop. 1998-10-16 19:34:57 +00:00
ws
d65dc0de3b Make ourseg visible to the outside similar to bootsect/start_bootsect.S
(Thanks to hannken@eis.cs.tu-bs.de for pointing this out).
1998-10-16 18:07:35 +00:00
bouyer
bf32feec28 More >2Gb fixes, from Constantine Sapuntzakis. 1998-10-16 14:29:40 +00:00
christos
c5b62f45b1 - rename err -> herr so that we don't conflict with libc
- KNF
- use herr when opening the files too, producing a more useful message.
1998-10-16 14:27:17 +00:00
christos
f2e15d15fa Fix the non pic version too. 1998-10-16 14:11:53 +00:00
christos
3d8121f3df PR/6285: Tom Ivar Helbekkmo: sigsetjmp/siglongjmp broken after current signal
changes.
1998-10-16 13:28:39 +00:00
kleink
d898f65fdd Need an internal name for tzname. 1998-10-16 12:56:44 +00:00
kleink
796b7ae4bf Need an internal name for signal(). 1998-10-16 12:47:45 +00:00
kleink
73ef151b8c Need an internal name for fgetln(). 1998-10-16 12:39:54 +00:00
kleink
ae6ea9e14d Use strtok_r() instead of strtok(), lest the application be surprised by
strtok()'s internal marker having changed.
1998-10-16 11:24:30 +00:00