Commit Graph

2914 Commits

Author SHA1 Message Date
jtc d3e27287c9 POSIX.1 says that ssize_t is defined in <sys/types.h>. 1993-09-25 01:52:59 +00:00
jtc ba0ef7cf93 POSIX.1 says ssize_t should be defined in here. 1993-09-25 01:51:31 +00:00
jtc 3d4092d798 Don't define anything if compiling in an strict ansi environment. 1993-09-24 18:29:49 +00:00
jtc e7ecd24ac3 Do not provide quad constants if compiling in a strict ansi or a strict
posix environment.
1993-09-24 18:22:31 +00:00
jtc aacd6cfa4e Do not #define the _POSIX_FOO constants if compliling in strict ANSI mode.
Define the _POSIX_SSIZE_MAX, _POSIX_STREAM_MAX, and _POSIX_TZNAME_MAX constants
added in 1003.1-90.
1993-09-24 18:13:15 +00:00
jtc d7607730b7 Fixed bug that was reported (with patch) on gnu.utils.bug.
Immediate operands of the pushw instruction were being output as 32
bits, rather than the 16 bits they were supposed to be.
1993-09-24 17:19:16 +00:00
mycroft 06c199bb44 Renamed from clock.h. 1993-09-24 09:04:56 +00:00
mycroft 054e0b73bc clock.c: Finish conversion. Make rtcput() work if VRT bit not set. Speed up
time conversion in delay().
fd.c: Minor changes to autoconfig.  Use dv_parent rather than storing another
pointer to the fdc_softc in each fd_softc.  Change disk label stuff for our
kernel.
icu.s: Make splx() and splnone() return previous cpl for now.
isa.c: Minor autoconfig changes.
isa.h: rtcin() is now nvram() and is declare in nvram.h.  Make isaphysmem a
caddr_t.
pccons.c: XXXX: Maybe we should insist they open /dev/io now.
timerreg.h: #define TIMER_NPORTS.
wd.c: Delete unused wdnoreloc() and wddospart(), and use remaining two bits in
unit number.  struct disk --> struct wd_softc.  struct board --> struct
wdc_softc.  Still needs much work.
1993-09-24 08:49:21 +00:00
mycroft 3540378534 GENERIC, TEST: Remove all irqs.
std.i386: Re-add clock0 and timer0.
1993-09-24 08:45:03 +00:00
cgd 6c5f49d135 if __P is already defined, undef it. 1993-09-23 23:44:09 +00:00
mycroft 6ce85383cd Root can execute anything with at least one execute bit set. 1993-09-23 23:32:19 +00:00
rich 7367e2c3e5 Added genclass which supports simple templates for container classes. 1993-09-23 23:28:29 +00:00
mycroft 1749f47c4a Display bytes/second rather than kbytes/sec, and use 3 digits of
precision for transfer time.
1993-09-23 23:15:42 +00:00
cgd ae863da8cd change root's command checking so that stat() is done only
on the first 'word' of the crontab command.
1993-09-23 23:13:44 +00:00
cgd 29f7748a75 use -lgnumalloc 1993-09-23 23:13:14 +00:00
mycroft f33cbad6f4 Clean up deleted files. 1993-09-23 23:13:11 +00:00
cgd eb35573f35 use -lgnumalloc 1993-09-23 23:13:04 +00:00
mycroft 262cbdab66 Use doubles to rather than longs to avoid tsum overflowing so quickly. 1993-09-23 23:03:55 +00:00
mycroft 3030415fcf From alm:
Added and/or operator test to POSIX special case processing, so now:
$ test ! "abc" -o "abc"
evaluates to true.

The correct fix is probably to yank the superfluous special case code, but
I don't have time to verify the correctness of the result.
1993-09-23 22:49:40 +00:00
mycroft 831bfe48bd Put back RCS identifier. 1993-09-23 22:47:45 +00:00
mycroft e6923339bf Use `r+' rather than `a+' when opening score file. 1993-09-23 22:28:42 +00:00
mycroft 00e8bf23cd Add `#ifdef DIAGNOSTIC' around check for dirty pages in persistent objects. 1993-09-23 22:20:29 +00:00
mycroft c179e54a04 Ignore TS_CARR_ON when CLOCAL is set. 1993-09-23 22:16:15 +00:00
cgd 2dc346f0d1 add accounting 1993-09-23 21:31:56 +00:00
cgd 3560b76d3f add gnu malloc library. to use, -lgnumalloc (same style as -lgnuregex) 1993-09-23 21:10:27 +00:00
jtc 10c0a04cce Added asa utility. 1993-09-23 21:07:37 +00:00
jtc b2be4a7753 The POSIX.2 (POSIX2_FORT_RUN) asa utility, used to format the output of
FORTRAN programs into something usable by a line printer, etc..
1993-09-23 21:04:15 +00:00
jtc 59e456d7fd Make sure we use rstat's protocol's values of FSCALE. We were picking up
the FSCALE from sys/param.h which caused our load averages to be sent
incorrectly to remote machines.
1993-09-23 18:42:39 +00:00
jtc ac5c852d4b Make sure we use rstat's protocol's values of FSCALE. We were picking up
the FSCALE from sys/param.h which caused all of the load averages from
remote machines to be incorrect.
1993-09-23 18:37:28 +00:00
phil 893cab1278 Adding ../libkern.a to the link phase. 1993-09-23 18:25:14 +00:00
phil 7f7f472580 Adding pc532 stuff to libkern. 1993-09-23 18:16:47 +00:00
jtc c4f90bdd40 Bring even closer to POSIX.2 compliance. Add comments documenting
the steps outlined in the standards.  Steps 1-5 look good, there
may be some work outstanding in the final Step 6.
1993-09-22 21:39:19 +00:00
jtc b141a3ac17 Bring closer to POSIX.2 compliance. The latter of any -i or -f options
is the one that is actually effective.
1993-09-22 00:34:25 +00:00
jtc 3e7bd7ef44 Document "blank" character class. 1993-09-21 23:39:21 +00:00
jtc f83d35d084 Remove cruft from getopt processing (`-' need not be special cased).
Include appropriate header files to bring prototypes into scope.
Use setlocale() to set locale, and strcoll() for comparisions even though
this won't work until full localization support is completed.
Document the fact that comm now conforms to POSIX.2.
1993-09-21 23:20:34 +00:00
jtc ed96eac23a Document the fact that cmp now conforms to POSIX.2. 1993-09-21 22:37:52 +00:00
jtc 8ad38f4118 Changed to conform to POSIX.2:
EOF message printed to stderr.
Removed bogositys wrt. getopt() processing (special casing `-' is unnecessary).
Updated usage message to document fact that -s and -l options are mutually
exclusive.
1993-09-21 22:35:56 +00:00
jtc 9568c8896f POSIX_EQUIV_CLASS_MAX was renamed POSIX_COLL_WEIGHTS_MAX in final draft
of POSIX.2.
Added definintion for _POSIX2_VERSION.
1993-09-21 21:55:40 +00:00
jtc 80f43f5e44 Provide prototype for POSIX.2 function confstr(). 1993-09-21 21:53:31 +00:00
jtc cad0f3bd0f Added _SC_* and _CS_* constants used by POSIX.2. 1993-09-21 21:50:37 +00:00
brezak 4212e64961 Include sys/signal.h instead of machine/signal.h 1993-09-21 20:51:12 +00:00
brezak adc25227c1 Add a man page for i386_get_ldt. 1993-09-21 14:40:50 +00:00
brezak b54c7ce913 Be sure to get sys/signal.h 1993-09-21 13:43:15 +00:00
brezak a9f5756dd2 In resettodr() handle rtcget() failure. 1993-09-21 13:09:10 +00:00
brezak 39804a17e5 Remove unneeded saving of segment regs for USER_LDT. 1993-09-21 13:08:34 +00:00
cgd c2f1ebaf17 add Nd line, and correct the description of the function. 1993-09-21 01:27:07 +00:00
mycroft a50f6940ae Well, Andrew's message was totally useless, but there was indeed a bug in
the case where no tabs are inserted.  All hail modulus arithmetic.  The real
fix for this is trivial, but I made a couple of stylistic changes also.
1993-09-21 00:44:36 +00:00
cgd 94ac210002 rewrite biodone to the spec in the daemon book, and to account for
the fact that buffers with B_CALL set shouldn't be brelse()'d.
1993-09-21 00:40:02 +00:00
jtc d3027df0ae Include header files to bring appropriate header files into scope. 1993-09-20 23:53:24 +00:00
cgd 26afbefdad don't leave a getdate.c turd lying around... 1993-09-20 23:40:28 +00:00