Commit Graph

2859 Commits

Author SHA1 Message Date
dfr
dd8c8f9320 Added support for MSDOS file systems. 1994-09-19 18:47:12 +00:00
phk
9994261f57 removed usr/include/md 1994-09-19 17:47:22 +00:00
ache
f3cb7fd780 Add vm/vm.h for complete sysctl type.
Remove wrong time declaration, already have correct in kernel.h
(kern_ntptime not compiled without this changes)
1994-09-19 17:39:21 +00:00
dfr
646e433a5c Reversed last revision which was a mistake. 1994-09-19 15:49:46 +00:00
dfr
ef1f7f5f60 Added MSDOSFS option. 1994-09-19 15:45:02 +00:00
dfr
7efbb964fd Added msdosfs.
Obtained from: NetBSD
1994-09-19 15:41:57 +00:00
dfr
7a224749be Added mount_msdos.
Obtained from: NetBSD
1994-09-19 15:30:36 +00:00
ache
1ff9a5aeb0 bugfix: change gidset[] type from int to gid_t 1994-09-19 13:52:38 +00:00
dg
227775e50c Declared msginfo, shminfo, and seminfo structs. 1994-09-19 10:24:38 +00:00
pst
7963d9a803 Add support for '-k' option to print file allocation space in 'K' instead of
system blocks.

This is semi-original code, not the same way this crufty option was handled
in FreeBSD 1.x.
1994-09-19 07:49:56 +00:00
phk
9bb294712c This commit was generated by cvs2svn to compensate for changes in r2886,
which included commits to RCS files with non-trunk default branches.
1994-09-19 07:32:24 +00:00
phk
43fd687af6 This is the present state of CTM version 2. Please do not ask for
subscriptions yet.  Wait for the announcement.

CTM is my humble attempt to get -current out to people beyond TCP/IP 
connections.  This is for people with dial-up connections and such.

CTM can make a delta from one version to another of a source-tree, in 
a efficient and verified way.  Even if there are binary files in the
tree.  It will even try to make the delta as small as possible.

It is OK with me if you yell "Bloating!" but I'll just forward your email
to some of the happy customers from CTM version 1, and let them tell you
what they think.

I will not put ctm into "make world" yet.  For now it is just the logical
way to get the sources out to people who helps me test this.

Poul-Henning
1994-09-19 07:32:24 +00:00
pst
2543098e26 Fix 'ls' alias to work with new ls (-k is not supported) 1994-09-19 07:01:35 +00:00
swallace
c15ded12c6 Change setup.c so that game files are generated into obj dir,
then Makefile installs into ${DESTDIR}/var/games/phantasia
1994-09-19 05:41:13 +00:00
phk
2796b2bd7a Need to call on libmd in "includes" target. 1994-09-19 05:32:31 +00:00
phk
75e736a76f Added beforeinstall rule to install .h files. We might need some .mk
support for this kind of thing.  Look at src/Makefile target "includes".
1994-09-19 05:30:33 +00:00
ache
f2cba2c331 Add commented out setenv ENABLE_STARTUP_LOCALE 1994-09-19 02:09:13 +00:00
ache
8b97dea237 Remove STARTUP_LOCALE reference, obsoleted 1994-09-19 02:02:55 +00:00
ache
3d1858c2f0 Change level of setlocale hack enabling from compile option STARTUP_LOCALE
to check (via getenv) environment variable "ENABLE_STARTUP_LOCALE" at
runtime.
Submitted by: me per Bruce suggestion
1994-09-19 02:00:21 +00:00
rgrimes
81f5d9ffb3 These are mtree generated versions of these files using the
new mtree options.

I will be updating these shortly to remove some old stuff and add some
new stuff.  These currently produce the exact same trees as they did.
1994-09-19 01:40:40 +00:00
rgrimes
7be4a7b142 My optimization to eliminate /set records was a little too aggressive, it
optimized away the first one :-(.
1994-09-19 01:32:57 +00:00
jkh
c203d7f339 Modified DEPENDS rule so that anything you depend on gets both
made AND installed.  Folks, check out DEPENDS if you have one port
that depends on another!  With this change, it should be really convenient
to use.
1994-09-19 01:08:35 +00:00
ache
65687968ee DESTDIR added to PORTSDIR definition 1994-09-19 00:41:03 +00:00
bde
9d05f27318 The previous revision got the wrong log message (for clock.c). It should
have got the following:

Back out the changes in the previous revision.  Function-like macros
were replaced by compound statements that work in less contexts.

Unoformize idempotency #ifdef.
1994-09-18 23:18:32 +00:00
bde
11781e43fd Remove some unnecessary #includes.
Restore the simple leap year calculation as a macro and document it so
that it doesn't become complicated again.  The simple version works
for all leap years covered by 32-bit time_t's.  The complicated version
doesn't work for all leap years covered by 64-bit time_t's since among
other reasons, the solar system is not stable for long enough.

Fix declarations.

Nuke spinwait().
1994-09-18 23:08:56 +00:00
bde
a15bf9b145 Use new-style declarations for min/max functions so that
"gcc -Wstrict-prototypes" doesn't emit warnings about them.

Write each min/max functions on a single line so that the similarity and
triviality of the functions is more obvious.

Put the quad min/max functions in the correct place (aphabetical order).

The u_quad min/max functions are missing.  Only 3 or 4 of the min/max
functions are actually used.  sys/socketvar.h ``should use "lmin" but
it doesn't exist now''.  lmin does exist now, but isn't used.  Since we
depend on gcc for `inline', perhaps we should depend on it for __typeof
and function-expressions and use only macros min() and max() that work
for any types (I'm not sure how to handle mixed types).
1994-09-18 23:04:25 +00:00
wollman
ce10b298df Make GCC's back end be shared among all languages. cc, c++, and cpp now
no longer link against the whole library, since they don't require much
from it, but just compile the few small modules they actually need static.

This should save a measurable amount of space; compare:

-r-xr-xr-x  1 bin   bin   155648 Sep 18 18:00 cc1*
-r-xr-xr-x  1 root  bin  1048576 Sep 18 17:33 cc1.noshae*

Of course, the library takes up a bit of space, but when you add in the
savings from the C++ compiler, you more than make up the difference:

-r--r--r--  1 bin  bin  1157344 Sep 18 18:27 /usr/lib/libcc_int.so.26.0
-r-xr-xr-x  1 bin  bin  491520 Sep 18 18:27 /usr/libexec/cc1plus*
1994-09-18 22:35:55 +00:00
wollman
208c1a5a6d Emendation to previous commit: only create static INTERNALLIBs if
INTERNALSTATICLIB is also set.
1994-09-18 22:22:32 +00:00
ache
0de4aa5096 Add (#ifdef'ed by STARTUP_LOCALE) following line to crt0.c
(void) setlocale(LC_ALL, "");

It will be easiest way now to make national chars available
for all ctype-oriented programs at once by simple:

setenv LANG Your_National_Charset

Default case (without "LANG" environment
variable) will be fully ANSI compatible (got "C" locale).

If "LANG" variable present, extention becomes active.

Effect of this extention is great: in one time all ctype
oriented programs can accept/print national characters
without any touching source/binary code, it is big win, IMHO.

This method is fully compatible with ISO8859-* and russian koi8-r
too (in general -- with all 8-bit character sets). I think
it is very useful.
I got this idea from Xenix locale implementation.

This extention is even never compiled in, unless you set
	setenv STARTUP_LOCALE
before rebuilding crt0.c or corresponding variable in /etc/make.conf
1994-09-18 22:21:04 +00:00
wollman
ddecd2f876 It turns out that occasionally you want both shared and static versions
of INTERNALLIBs, so generate both.
1994-09-18 22:06:04 +00:00
bde
180938d6ef Replace unsigned' by u_int' so that it is not necessary to include
<sys/types.h> before including this header.  This header is now
idempotent.

Uniformize idempotency #ifdef.
1994-09-18 22:05:22 +00:00
bde
89067f38ec Clean up #includes. <machine/spl.h> has to be included by almost everything
in case an spl inline is used, so this is not the place to include it.

Uniformize idempotency #ifdef.
1994-09-18 21:37:56 +00:00
bde
f70621fc74 Remove "#ifdef notdef" around declaration of fuibyte(). fuibyte() _is_
actually used.

Remove "#ifdef __GNUC__" around some __dead* declarations.  __dead* is
harmless if __GNUC__ is not defined.

Uniformize idempotency #ifdef.
1994-09-18 21:30:30 +00:00
wollman
3363d7a700 Added domainname. 1994-09-18 21:25:26 +00:00
rgrimes
45a0fdee2d Add q modifier (for long longs) support to -Wformat.
Reviewed by:	bde
1994-09-18 21:25:02 +00:00
wollman
08e96f0a30 A new domainname(1) command based on hostname(1), this time with a correct
manual page.
1994-09-18 21:23:37 +00:00
se
43a0a2b6d3 Removed obsolete example of specifying PCI IntA to IRQ mapping for NCR. 1994-09-18 21:18:49 +00:00
rgrimes
b98c90be2e 1. Remove commented out CFLAGS+=-DDEBUG from Makefile
2.  Clean up code so it compiles -Wall (except for sccsid's and copyright).
    This included fixing several printf formats that where not correct,
    and changing the data types of a few things.

3.  Implement new option -i that produces indented mtree output files.

4.  Implement new option -n that turns off directory comments.

5.  Only emit /set records if something has changed since the last one.
1994-09-18 21:17:40 +00:00
wollman
10e98516da Declare [gs]etdomainname(). 1994-09-18 21:09:10 +00:00
wollman
9028bd50ff Redo Kernel NTP PLL support, kernel side.
This code is mostly taken from the 1.1 port (which was in turn taken from
Dave Mills's kern.tar.Z example).  A few significant differences:

1) ntp_gettime() is now a MIB variable rather than a system call.  A few
fiddles are done in libc to make it behave the same.

2) mono_time does not participate in the PLL adjustments.

3) A new interface has been defined (in <machine/clock.h>) for doing
possibly machine-dependent things around the time of the clock update.
This is used in Pentium kernels to disable interrupts, set `time', and
reset the CPU cycle counter as quickly as possible to avoid jitter in
microtime().  Measurements show an apparent resolution of a bit more than
8.14usec, which is reasonable given system-call overhead.
1994-09-18 20:40:01 +00:00
wollman
5de9aa67de Redo kernel NTP PLL support, user-mode interface. 1994-09-18 20:29:55 +00:00
swallace
8d67c8cc5d Add LDDESTDIR to ld command.
Add -I${DESTDIR}/usr/include to cpp command.
1994-09-18 19:41:38 +00:00
swallace
87257a2b86 Put LDDESTDIR before library listing. 1994-09-18 19:10:11 +00:00
ache
2e7cb009a6 Add 'rm -f /etc/localtime' before cp to /etc/localtime,
I have a link here and got strange results without 'rm'
1994-09-18 18:27:30 +00:00
phk
9819510988 added fdwrite -> usr.sbin/fdwrite 1994-09-18 07:48:40 +00:00
phk
625569f642 Added a missing ${DESTDIR}. The real problem is that stuff related to
floppy formatting is in /sys/i386/isa/fdreg.h, it should be in /usr/include
somewhere ??
1994-09-18 07:42:11 +00:00
swallace
434f1e2053 Makefile: add ${LDDESTDIR} to linking of boot code so ${DESTDIR}/usr/lib
is used instead of /usr/lib

io.c: add #include <machine/cpufunc.h> as instructed by David Greenman to
avoid inb/outb linking errors.
NOTE:  I just discovered that if GNUC is not used the inline functions will not be expanded from the include file and real inb/outb functions would
be needed.
1994-09-18 07:39:55 +00:00
phk
3e8c11a9a6 A small program, which can take a file of any size, format, write and verify
it onto a bunch of floppies in a semi-intelligent way.

Useful for things like:  tar cf - . | gzip -9 | fdwrite -d /dev/rfd0.1720 -v

Where it will keep asking for floppies until tar is done.
1994-09-18 07:39:19 +00:00
phk
cd06daa86a This commit was generated by cvs2svn to compensate for changes in r2849,
which included commits to RCS files with non-trunk default branches.
1994-09-18 07:39:19 +00:00
phk
b1988f56d2 libmd no longer built as shared-lib, only static.
Renamed the beforeinstall to test.
1994-09-18 07:22:08 +00:00