mycroft
d83c4676ee
Clean up deleted files.
1993-08-27 21:15:35 +00:00
brezak
13e51139e4
Add rcsid strings
1993-08-26 15:26:18 +00:00
mycroft
ed55107bda
Add `.text' before the .asciz strings for RCS identifiers.
1993-08-26 02:11:52 +00:00
jtc
d564d15c6d
Declare rcsid strings so they are stored in text segment.
1993-08-26 00:53:10 +00:00
jtc
9c20f740a3
Declare rcsid strings so they are stored in text segment.
1993-08-26 00:43:03 +00:00
jtc
5e98929cee
Declare static function before it is used.
1993-08-25 22:24:50 +00:00
jtc
647b2510cd
Add cast to silence compiler warning.
1993-08-25 22:22:30 +00:00
jtc
241d899984
Minor tweaks to eliminate compiler warnings:
...
include <stdlib.h> to declare malloc() family.
declare static functions before they are used.
1993-08-25 22:07:19 +00:00
brezak
979015728c
Add syscall stubs for SYSV Shared Memory.
1993-08-25 02:50:51 +00:00
jtc
35aa0934e7
Note that code originated in locore.s.
...
Don't bother clearing %eax in bcopy(), it doesn't return anything so
why clear a return value that never gets used?
Don't bother clearing direction flag. Any code that doesn't set/clear
it explicitly before a string instruction deserves to loose.
1993-08-24 16:59:00 +00:00
jtc
19e4e33b98
Don't block SIGINT, SIGQUIT, SIGHUP, etc. in pclose()...
...
"Some historical implementations either block or ignore the signals
SIGINT, SIGQUIT, and SIGHUP while waiting for the child process to
terminate. Since this behavior is not described in POSIX.2, such
implementations are not conforming."
1993-08-23 21:56:31 +00:00
jtc
9d1cf67cd2
Moved toupper and tolower tables from ctype_.c to their own files --- I
...
received complaints about using shorts in the table (but i need a range
of -1..255), so now the tables will not be used unless either toupper()
or tolower() (and soon, setlocale()) are used. This can save up to 514
bytes.
In toupper_.c and tolower_.c make sure that our assumption of EOF == -1
holds.
Fixed bug where _toupper_tab_ was initialized pointing to _C_tolower_tab.
1993-08-23 21:04:50 +00:00
cgd
5def7a5fde
use "_to*_tab_" rather than "_to*_table_" -- table is defined as the former
1993-08-23 16:25:03 +00:00
jtc
c066b5f81e
_ctype_, _tolower_tab_, and _toupper_tab_ are now pointers to the tables.
...
The tables have been renamed to _C_ctype_, _C_tolower_, and _C_toupper_
as they are tables for the C locale. When switching to a new locale, the
pointers will be set to point to tables specific to the new locale.
1993-08-21 00:46:25 +00:00
jtc
ffefbf8e83
If mode is niether 'r' or 'w', set errno to EINVAL as per 1003.2-92.
1993-08-21 00:11:47 +00:00
jtc
ec73f57f05
cast away compiler warning message.
1993-08-20 23:40:43 +00:00
jtc
67f034415c
Upgraded to be 1003.2-92 compliant. The only functional change is
...
that -1 is returned when the fork fails. Updated implementation to
use int rather than deprecated "union wait". Updated documentation
to describe error / return values.
1993-08-20 23:00:45 +00:00
jtc
7a5661e6ac
Fixed typo. Readdir returns a "struct dirent *", not "struct dirent".
1993-08-20 16:46:14 +00:00
mycroft
36d083669a
Technically, readdir(3) returns a `struct dirent *', not a `struct direct *',
...
not that they aren't the same thing.
1993-08-20 10:03:05 +00:00
jtc
cbc115a0d5
Added the additional ``%'' format specifiers and the ``E'' and ``O''
...
format modifiers that are needed for a 1003.2 compliant date(1). The
modifiers don't actually do anything at present and are not documented.
It's too confusing to the user to describe localization features when
they aren't implemented yet. It is safe to do this, as the modifiers
fall back to the default behavior if the locale doesn't support alternate
eras or numeric formats.
But, in anticipation of _some_ locale support, all month and day names and
abbrevs, certain time formats, am/pm, etc. are now accessed through variables.
1993-08-19 16:39:47 +00:00
jtc
17bda641e5
The result of clock() is measured in CLOCKS_PER_SECs, not CLK_TCKs.
1993-08-17 20:37:57 +00:00
jtc
200ad8d9bd
Don't include "DEFS.h" more than once.
...
Added .asciz rcsid's to all files.
1993-08-16 17:06:27 +00:00
jtc
0de7806863
Add STANDARDS section, utime is now 1003.1 compliant.
1993-08-16 15:42:14 +00:00
mycroft
669b9e506a
Last change was almost correct, but we have to check that the pager actually
...
has the page. If not, we go up the shadow chain.
1993-08-16 07:27:06 +00:00
mycroft
ca08320ae9
We shouldn't be diddling POBJS and CLEANFILES. bsd.lib.mk already does the
...
Right Thing.
1993-08-16 04:16:33 +00:00
mycroft
6fdbcf4e88
For some reason, substitution on variables doesn't seem to work in a target
...
list. I don't think I want to know why.
1993-08-16 03:32:58 +00:00
mycroft
990ccb9207
Separate rules for .o and .po files. The previous method just caused too
...
many problems.
1993-08-16 02:44:19 +00:00
mycroft
90683ee61f
Remove spurious `)'.
1993-08-15 16:43:27 +00:00
mycroft
6d20662fcb
waddbytes() is private; make the rest of *addbytes() be.
...
Make waddbytes() and waddstr() take a `const char *'.
1993-08-15 16:23:57 +00:00
mycroft
9b8df6ad33
Fix an off-by-one error when scanning the vm map for a page. Also, if the
...
page is not in core, don't recurse into shadow objects if we've already found
a pager.
1993-08-15 13:57:51 +00:00
mycroft
cfafc9262a
Fix a bug in virtual to physical address translation on hp300s, and add support
...
for Amigas.
1993-08-15 01:54:29 +00:00
mycroft
a2da492c01
Fix a bunch of thinkos.
1993-08-14 19:31:23 +00:00
mycroft
791d253a44
Split log() and log__D() into separate files. Add logtab.c for logarithm
...
tables and log.h for common definitions.
Split exp() and exp__D() into separate files.
1993-08-14 19:20:58 +00:00
mycroft
d441c2db7e
New code from uunet.
1993-08-14 13:42:09 +00:00
cgd
7fa14d416e
line 860: use CLSHIFT rather than PGSHIFT.
...
line 927: fix bogus indentation
also make sure first chars of buffers are null char, just in
case nothing rational is read...
1993-08-14 11:47:51 +00:00
cgd
b24744dc1d
implement kvm_procread for the hp300. now things mostly work on
...
the hp300, in terms of kvm. still minor strangeness re: sendmail...
1993-08-14 11:44:45 +00:00
mycroft
a617b72b1f
#include <machine/pte.h>, not <hp300/hp300/pte.h>. Also, make it at least
...
compile for non-i386 architectures, but exit with an error message (for now).
1993-08-14 02:20:27 +00:00
jtc
8b17e495f7
Merged in RETURN VALUES and ERRORS sections from utimes(2), since
...
utime(3) is just a wrapper.
1993-08-14 00:05:07 +00:00
jtc
eb3ed86c00
Clean up manpage; cross-reference utime(3).
1993-08-14 00:00:56 +00:00
jtc
7103ada5b8
If utimbuf pointer is NULL, set access and modification times to the
...
current time.
1993-08-13 23:58:49 +00:00
brezak
d1c89ea35f
Correct copyright statements
1993-08-13 12:54:10 +00:00
brezak
cbeddce7ff
Machine independent version of insque/remque
1993-08-13 02:49:41 +00:00
mycroft
293c6d88e3
8 spaces -> a tab
1993-08-10 14:48:03 +00:00
deraadt
8cb4a5221c
8 spaces -> a tab
1993-08-10 08:35:59 +00:00
mycroft
4a9141f643
Actually use the signal number we're passed.
1993-08-10 02:12:47 +00:00
jtc
ad2e83d160
Oops! I used EOF but didn't include <stdio.h>.
1993-08-09 22:06:30 +00:00
mycroft
47799e1141
Add __progname, and clean up a couple of things.
1993-08-09 05:47:02 +00:00
mycroft
9df69621f3
Reclone from i386 version; has important changes for cross-compilation.
1993-08-09 04:50:21 +00:00
mycroft
7ea474ac33
Clean up automatic creation of /usr/lib.
1993-08-09 04:49:39 +00:00
mycroft
3358fdf953
New file; contains value of HUGE_VAL.
1993-08-09 04:47:11 +00:00