Commit Graph

11471 Commits

Author SHA1 Message Date
peter
286d95551f Make FIONREAD return the actual that a read() would return, not just the
amount of data in the first mbuf.

Obtained from: Bob Smart <smart@mel.dit.csiro.au> (for NetBSD & SunOS)
1995-12-11 13:24:58 +00:00
peter
7a7fb14fa9 Implement support for conf/options and i386/conf/options.i386
Note that this code is dormant unless the options files exist.
Also, parsing of quoted options in the config files is improved.

What this allows, is all the options in LINT to be specified to be
configured as #defines in a file rather than on the CC command line at
kernel build time.  This means that 'make depend' will catch dependencies
on actual *options*, meaning that you can run 'config' and 'make depend'
in complete safety WITHOUT removing the compile directory each time.

Unfortunately, this requires a pass over the source to get the individual
files to #include the new .h files that would be generated by config.
This has a small compile time penalty (appears up to about 2% slower)
from a "fresh" build.  Of course, you should not be needing to do complete
rebuilds very often once this was completed, so it would be an overall
win for most people.

Since this code is dormant and we've got a lot of other things happening
on the kernel tree at the moment (prototypes, devfs, static declarations
etc) I am not planning on doing any changes to activate this feature just
yet.
1995-12-11 10:52:34 +00:00
phk
d7af2f0a80 Back out this one, must have screwed up somewhere :-( 1995-12-11 10:26:34 +00:00
phk
9d7b5a9783 Staticize 1995-12-11 09:26:18 +00:00
phk
dffac85a9b Staticize. 1995-12-11 09:24:58 +00:00
dyson
c9fc5826da Undo a change that should not have been committed with the 1Tb enhancements. 1995-12-11 05:02:52 +00:00
dyson
601ed1a4c0 Changes to support 1Tb filesizes. Pages are now named by an
(object,index) pair instead of (object,offset) pair.
1995-12-11 04:58:34 +00:00
peter
0e4700269e Whitespace cleanup, add forgotten file to CLEANFILES.. 1995-12-11 04:24:11 +00:00
peter
14d68eb924 Dive in the deep end and change the examples installation method.. :-/
the 'rm -rf' and cpio was bugging me because rdist used to get false hits
and also it installs the files with the wrong uid.
I've tried this by running a find .. -exec ${INSTALL} ...; instead...
1995-12-11 03:03:24 +00:00
peter
ae262ecbdc Update usr/share/examples layout to match current reality.. 1995-12-11 03:01:11 +00:00
peter
0556d40e08 Make CVS use /usr/lib/libmd.a rather than supplying Yet Another Copy(TM)
of md5.[ch].  Note that minor mods were made to md5.h to support this,
so a reinstall of lib/libmd is needed before building this cvs.
1995-12-11 02:22:34 +00:00
peter
8d9a84ecfe Add a structure definition to the MD* Contexts, so that cvs can use
the standard libmd version of MD5 instead of it's own seperate copy..
1995-12-11 02:18:22 +00:00
peter
ae2ac85cb2 Tweak the install targets so that the installs are done in the right place
relative to the SUBDIR recursion.. Otherwise, the results look really odd.
(basically changed a couple of afterinstall's to beforeinstall's)
1995-12-11 01:58:53 +00:00
peter
daf5d50e73 Argh! Botch alert! I dont *believe* I did this....
(I think I'll blame it on Tristan! :-)
1995-12-11 01:27:18 +00:00
peter
d622e0337c Fix a couple of build warts that I broke... 1995-12-11 01:23:45 +00:00
peter
add41e386d This commit was generated by cvs2svn to compensate for changes in r12757,
which included commits to RCS files with non-trunk default branches.
1995-12-11 00:48:21 +00:00
peter
bb1645a74e Bring in two files that I missed.. These are of no real value unless
you are developing CVS code, but they were already in the tree so we
might as well have the right versions.. :-)
1995-12-11 00:48:21 +00:00
peter
a2a244cb32 Attach easy-import.pl (repostory copied from easy-import.perl) and
use the xPERL_PATHx substitution like the rest of the .pl stuff.
1995-12-11 00:45:43 +00:00
peter
2d8c42ad82 Clean out some files which are no longer part of CVS... 1995-12-11 00:28:08 +00:00
peter
3cd0ec7e5b First round of the post-import cleanups... 1995-12-10 23:10:40 +00:00
peter
c3c3e9aba6 Import CVS-1.6.3-951211.. Basically, this is the cvs-1.6.2 release
plus a couple of minor changes..

Some highlights of the new stuff that was not in the old version:
 - remote access support.. full checkout/commit/log/etc..
 - much improved dead file support..
 - speed improvements
 - better $CVSROOT handling
 - $Name$ support
 - support for a "cvsadmin" group to cut down rampant use of "cvs admin -o"
 - safer setuid/setgid support
 - many bugs fixed.. :-)
 - probably some new ones.. :-(
 - more that I cannot remember offhand..
1995-12-10 22:31:58 +00:00
peter
9c0211c38d This commit was generated by cvs2svn to compensate for changes in r12752,
which included commits to RCS files with non-trunk default branches.
1995-12-10 22:31:58 +00:00
peter
54f5dbeb80 Import CVS-1.6.3-951211.. Basically, this is the cvs-1.6.2 release
plus a couple of minor changes..

Some highlights of the new stuff that was not in the old version:
 - remote access support.. full checkout/commit/log/etc..
 - much improved dead file support..
 - speed improvements
 - better $CVSROOT handling
 - $Name$ support
 - support for a "cvsadmin" group to cut down rampant use of "cvs admin -o"
 - safer setuid/setgid support
 - many bugs fixed.. :-)
 - probably some new ones.. :-(
 - more that I cannot remember offhand..
1995-12-10 22:31:58 +00:00
peter
2dbe609ba8 Import CVS-1.6.3-951211.. Basically, this is the cvs-1.6.2 release
plus a couple of minor changes..  

Some highlights of the new stuff that was not in the old version:
 - remote access support.. full checkout/commit/log/etc..
 - much improved dead file support..
 - speed improvements
 - better $CVSROOT handling
 - $Name$ support
 - support for a "cvsadmin" group to cut down rampant use of "cvs admin -o"
 - safer setuid/setgid support
 - many bugs fixed.. :-)
 - probably some new ones.. :-(
 - more that I cannot remember offhand..
1995-12-10 22:31:43 +00:00
peter
a68795603c This commit was generated by cvs2svn to compensate for changes in r12750,
which included commits to RCS files with non-trunk default branches.
1995-12-10 22:31:43 +00:00
bde
ccae5414a4 Added pcvt option FAT_CURSOR.
Fixed comment about PCVT_VERSION=210.

Fixed tabs and trailing blanks.
1995-12-10 22:14:15 +00:00
bde
0a6a619c60 Added undocumented option EXT2FS so that it gets tested.
Enabled option GPL_MATH_EMULATE so it gets tested.  This will cause linkage
errors.

Fixed comment about PCVT_VERSION=210.
1995-12-10 22:09:14 +00:00
peter
20843989b1 Disconnect 'cvs' from SUBDIRS in preperation for import of new version.. 1995-12-10 21:50:02 +00:00
bde
3e882cae21 Restored variables that are used iff QUOTA is defined.
ext2fs still uses #if in many cases where the rest of the kernel uses
#ifdef (for QUOTA...).
1995-12-10 21:38:45 +00:00
peter
a466516513 Add "examples", "contrib" and "pcl-cvs" directories below
share/examples/cvs in preperation for cvs-1.6.3 import.
1995-12-10 21:35:19 +00:00
bde
e423d4fa01 Unstaticized cx_cdevsw (it is used in if_cx.c).
Added a prototype.
1995-12-10 21:08:11 +00:00
bde
644a38f2a8 Replaced nxreset by noreset (if the reset function gets called, then the
device must be configured.  It's hard to tell whether a reset function
should be noreset or nullreset since reset functions are never called.
Most drivers use nullreset but noreset has the advantage of complaining
if somehow gets called).
1995-12-10 20:54:38 +00:00
bde
1fa3289237 Replaced nxmmap by nommap (if the mmap function gets called, then the
device must be configured).
1995-12-10 20:34:53 +00:00
bde
b3651e490f Replaced odsize by generic nopsize.
Staticized.

Added prototypes.
1995-12-10 20:19:32 +00:00
bde
5e103e2a73 Replaced scdsize by generic nopsize. 1995-12-10 20:10:23 +00:00
bde
8d9fed7ec4 Replaced cdsize by generic nopsize.
Added prototypes.

Declared statics consistently.
1995-12-10 20:02:47 +00:00
pst
086295aebc Add support for high-range FTP data ports 1995-12-10 19:54:49 +00:00
bde
fe727807c4 Replaced nxdump by nodump (if the dump function gets called, then the
device must be configured, so ENXIO is a bogus errno).

Replaced zerosize by nopsize.  zerosize was a temporary alias.
1995-12-10 19:53:42 +00:00
bde
2c85bcd8ba Replaced nxdump by nodump (if the dump function gets called, then the
device must be configured, so ENXIO is a bogus errno).

Replaced zerosize by nopsize.  zerosize was a temporary alias.
1995-12-10 19:44:58 +00:00
gibbs
97e282dba7 Fix spelling errors.
Submitted by: Faried Nawaz <fn@pain.csrv.uidaho.edu>
1995-12-10 19:27:40 +00:00
bde
0cb993b9a2 Reduced and cleaned up #includes. 1995-12-10 19:08:32 +00:00
joerg
cfdacc16ea The shell incorrectly gave & precedence over ;. This breaks the
traditional behaviour, and it violates Posix.2.

Fixes PR # bin/880: /bin/sh incorrectly parse...

Fixes also an earlier problem report about the shell not evaluating
loops correctly.  (Not files via GNATS.)

Submitted by:	nnd@itfs.nsk.su (Nickolay N. Dudorov)
1995-12-10 17:59:23 +00:00
wpaul
fadf68099e Fix minor annoyance: have clnt_perror(), clnt_perrno() and
clnt_pcreateerror() emit strings with newlines appended like other
platforms do.
1995-12-10 17:40:18 +00:00
bde
99e5039c72 Removed new alias d_size_t for d_psize_t.
Removed old aliases d_rdwr_t and d_ttycv_t for d_read_t/d_write_t and
d_devtotty_t.

Sorted declarations of switch functions into switch order.

Removed duplicated comments and declarations of nonexistent switch
functions.
1995-12-10 15:55:34 +00:00
joerg
ea83bba5aa Move out some of the shell builtin bogosity from printf's source to
sh's builtin/bltin.h.
1995-12-10 15:40:42 +00:00
joerg
301bf81931 Check the # of arguments, instead of silently dumping core. 1995-12-10 15:33:00 +00:00
peter
d8249966c8 Fix the bug which allowed people to avoid the "-s" (secure) bug.
Now, "finger" is invoked with "--" before the first network supplied
argument, so the "--" and "-l" hacks will be stopped.
1995-12-10 15:07:12 +00:00
bde
17cc71f826 Removed unused functions sudump() and supsize().
Added `extern' to misplaced public prototypes.
1995-12-10 14:57:04 +00:00
bde
31bbf49f89 Restored used includes of <vm/vm_extern.h>. 1995-12-10 14:52:10 +00:00
phk
378233caac Last commit this round: Staticize.
we are now down to about 1146 symbols being global, of which
I estimate that about 100 are validly so.
1995-12-10 13:45:30 +00:00