Commit Graph

18047 Commits

Author SHA1 Message Date
Alexander Langer
d0c9b2a226 Added uthread_attr_destroy.c to SRCS.
Submitted by:	John Birrell <jb@cimlogic.com.au>
1996-12-29 02:51:55 +00:00
John Dyson
8b612c4b4a This commit is the embodiment of some VFS read clustering improvements.
Firstly, now our read-ahead clustering is on a file descriptor basis and not
on a per-vnode basis.  This will allow multiple processes reading the
same file to take advantage of read-ahead clustering.  Secondly, there
previously was a problem with large reads still using the ramp-up
algorithm.  Of course, that was bogus, and now we read the entire
"chunk" off of the disk in one operation.   The read-ahead clustering
algorithm should use less CPU than the previous also (I hope :-)).

NOTE:  THAT LKMS MUST BE REBUILT!!!
1996-12-29 02:45:28 +00:00
John Dyson
87241caa43 This commit is the embodiment of some VFS read clustering improvements.
Firstly, now our read-ahead clustering is on a file descriptor basis and not
on a per-vnode basis.  This will allow multiple processes reading the
same file to take advantage of read-ahead clustering.  Secondly, there
previously was a problem with large reads still using the ramp-up
algorithm.  Of course, that was bogus, and now we read the entire
"chunk" off of the disk in one operation.   The read-ahead clustering
algorithm should use less CPU than the previous also (I hope :-)).
1996-12-29 02:44:37 +00:00
Alexander Langer
8596ee6d82 _thread_kern_sig_unblock takes an integer, not a reference.
Submitted by:	John Birrell <jb@cimlogic.com.au>
1996-12-29 02:38:50 +00:00
John Dyson
595236df9b Superficial cleanup of comment. 1996-12-29 02:33:12 +00:00
John Dyson
5e0c727879 Superficial clean-up of useracc calls. (The useracc usage of
B_READ/B_WRITE is bogus anyway.)  Might as well make the call prettier
anyway.
1996-12-29 02:29:41 +00:00
John Dyson
f486bc1d64 Allow pmap_protect to increase permissions. This mod can eliminate
the need for unnecessary vm_faults.
Submitted by:	Alan Cox <alc@cs.rice.edu>
1996-12-29 02:27:07 +00:00
David E. O'Brien
cbb90fdbbc rmt is /usr/sbin/rmt, not /etc/rmt which is a link to /usr/sbin/rmt 1996-12-29 00:57:18 +00:00
John Dyson
b7b2aac2b6 Eliminate the redundancy due to the similarity between the routines
vm_map_simplify and vm_map_simplify_entry.  Make vm_map_simplify_entry
handle wired maps so that we can get rid of vm_map_simplify.  Modify
the callers of vm_map_simplify to properly use vm_map_simplify_entry.
Submitted by:	Alan Cox <alc@cs.rice.edu>
1996-12-28 23:07:49 +00:00
John Dyson
94328e9057 The code unnecessarily created an object with no handle up-front, which
has the negative effect of disabling some map optimizations.  This
patch defers the creation of the object until it needs to be at fault time.
Submitted by:	Alan Cox <alc@cs.rice.edu>
1996-12-28 22:40:44 +00:00
Masafumi Max NAKANE
9857e64194 Merge the en version changes made in 1.12 -> 1.13. 1996-12-28 22:37:25 +00:00
Mike Pritchard
f3f4c3267e Fix typo. 1996-12-28 22:28:46 +00:00
Peter Wemm
c3d9ef558c Enable idlok() in both windows. This is actually a no-op for libcurses
(which doesn't use the setting at all), but when linking with
recent versions of libncurses, ncurses screws up without it for some reason
(presumably a ncurses bug).
1996-12-28 20:44:58 +00:00
Wolfram Schneider
60bf5d130e add name to postscript printer filter script 1996-12-28 20:38:42 +00:00
Wolfram Schneider
4892b8351c a README 1996-12-28 20:38:31 +00:00
Joerg Wunsch
09113d5457 This commit was generated by cvs2svn to compensate for changes in r20983,
which included commits to RCS files with non-trunk default branches.
1996-12-28 20:31:06 +00:00
Joerg Wunsch
465fbee7fd Update from the author, just onto the vendor-branch by now.
Submitted by:	h_mahon@fc.hp.com (Hugh Mahon)
1996-12-28 20:31:06 +00:00
Masafumi Max NAKANE
d435df1cb0 Merge the en version changes made in 1.53 -> 1.57.
Submitted by:	Yoshiaki Uchikawa <yoshiaki@kt.rim.or.jp>
1996-12-28 18:42:52 +00:00
Peter Wemm
619b759747 Allow an optional setting to specify a .cf file to be built and installed
into /etc during the sendmail build.  Not for the feint hearted.
(I have been using something like this for some time since I only ever
 edit my system's .mc file)
1996-12-28 18:11:08 +00:00
Peter Wemm
4a4550eb01 Use the label that Bruce suggested, it seems the src/etc/Makefile "helpers"
are all prefixed with "etc-".
1996-12-28 18:02:06 +00:00
Peter Wemm
3a233001ff Get rid of the revolting hacks that were used to install the
/etc/sendmail.cf file.

Submitted by: bde
1996-12-28 18:00:17 +00:00
Peter Wemm
9ced612d99 Add a hook for installing the /etc/sendmail.cf file
Submitted by: bde
1996-12-28 17:57:28 +00:00
Peter Wemm
3488b209cc Fix some more problems:
- the .gz files are no longer used as intermediate files, it's in a pipe
  now.  (gunzip normally deleted them anyway, but this should not hurt)
- I accidently left a -p arg to install from testing.  Bruce says it should
  be ${COPY} instead, but almost everything else in the tree uses plain -c
  anyway.
- Use "LINKS=" or two identical files are installed sepeately instead of
  as links (doh!)
- Use "LIB..." instead of "BIN..." for install permissions.  Note that we
  still use bsd.prog.mk, not bsd.lib.mk because bsd.lib.mk has problems
  (it can't install a library unless it compiles it).
- Define LIBCOMPATDIR in Makefile.inc instead of using BINDIR.

Mostly submitted by: bde
1996-12-28 17:42:48 +00:00
Peter Wemm
a4ae35ba9e Remove these.. umm.. "interesting".. hacks now that they are not needed. 1996-12-28 17:15:10 +00:00
Peter Wemm
fbde87863d When linking with no rtld support, provide stub dl*() functions that
just return errors.  This removes the need for awful hacks like that in
our build of libtcl which would get link errors when linked static.

John Polstra once mentioned that this was on his "todo" list.

Note that one can use:
  cc -Wl,-Bstatic -o foo foo.o
and get an executable that has it's libraries statically linked, but has
a fully functional runtime linker so the executable can call dlopen() and
have it work.  (I've tested this)
1996-12-28 17:10:52 +00:00
Wolfram Schneider
08d366cf6b epfe - extract printing filter examples from printing.sgml
usage:
	$ cd /usr/share/examples/printing
	$ epfe < printing.sgml
1996-12-28 16:24:57 +00:00
Wolfram Schneider
fa2cedd44a add epfe and tcl_bmake 1996-12-28 16:21:52 +00:00
Wolfram Schneider
d86abf50b2 add new directory /usr/share/examples/printing 1996-12-28 15:40:38 +00:00
Poul-Henning Kamp
35c40fc2fa Be a little less fatalistic in case of problems.
Reviewed by:	phk
Submitted by:	wosch
1996-12-28 13:50:34 +00:00
Wolfram Schneider
110ce42895 add some string examples, eg. test "" -o "" 1996-12-28 13:31:29 +00:00
Bruce Evans
5a9c69e7af Disabled i586-optimized copyin and copyout again. The fault handler
is still broken - it doesn't restore the floating point state.

2.2-BETA users should disable it using npx0 flags 0x04 the same as
2.2-ALPHA users should have.
1996-12-28 12:19:25 +00:00
Masafumi Max NAKANE
379dda4b88 Merge the en version changes made in 1.22 -> 1.23. 1996-12-28 09:25:06 +00:00
Masafumi Max NAKANE
0bf9db71ab Merge the en version change made in 1.50 -> 1.51.
(No change beside the original revision line.)
1996-12-28 08:25:14 +00:00
Masafumi Max NAKANE
126ce40c60 Typo. 1996-12-28 08:23:52 +00:00
Masafumi Max NAKANE
d5f3ebbba5 Merge the en version changes made in 1.49 -> 1.50. 1996-12-28 07:56:41 +00:00
Masafumi Max NAKANE
51e9aa59c0 Changed the comment about RCS ID in the sample Makefile.
(I see more than a few port submission with no $Id$ line in its Makefile
lately.  And I guess this comment may be somehow misleading.)
1996-12-28 07:55:15 +00:00
Masafumi Max NAKANE
07d41eb750 The translation has been completed. Replacing the empty file with file with
real contents.
Submitted by:	The FreeBSD Japanese Documentation Project
Translated by:	Mitsuru IWASAKI <iwasaki@pc.jaring.my>
1996-12-28 07:36:58 +00:00
Andrey A. Chernov
1aa5ebd104 Turn off qcam_debug flag by default
Should go in 2.2
Reviewed by: pst
1996-12-28 05:45:18 +00:00
Andrey A. Chernov
af155bdff3 Add comment that range checking is already done at upper level
Kill snprintf left in collate.c from previous backout

Should go in 2.2
1996-12-28 05:04:24 +00:00
Andrey A. Chernov
942c84aabd Use strcoll instead of strcmp for file names comparation
Should be in 2.2
1996-12-28 03:46:27 +00:00
Andrey A. Chernov
c77d878ff5 Return to last column space padding: some programs (cal f.e.) make two-letters
abbreviations by stripping last character.

Should be in 2.2
1996-12-28 03:39:51 +00:00
David E. O'Brien
dfe5473411 Added Conrad Sabatier for his port of xless 1996-12-28 03:10:50 +00:00
Bill Paul
1d2493ff77 Small yet significant tweaks/cleanups:
- getpwent:
  o adjunctbuf should be NUL terminated after copying
  o _pw_breakout_yp() needs to know the length of the buffer returned
    from YP so it can properly NUL terminate its local buffer.

- getgrent:
  o YP buffers should be YPMAXRECORD + 2 bytes long and NUL terminated.
    (Previously they were hardcoded to 1024 bytes.)

- getnetgrent:
  o YP data should be copied with snprintf(), not sprintf()

These are 2.2 candidates. I will wait a few days to make sure these don't
break anything and then, if there are no objections, move them to the 2.2
branch.
1996-12-27 19:28:46 +00:00
Masafumi Max NAKANE
33c9a3df24 Merge the en version changes made in 1.4 -> 1.6.
Submitted by:	Mitsuru IWASAKI <iwasaki@pc.jaring.my>
1996-12-27 18:34:39 +00:00
Masafumi Max NAKANE
5a5ded23b8 Merge the en version changes made in 1.21 -> 1.22.
Submitted by:	Mitsuru IWASAKI <iwasaki@pc.jaring.my>
1996-12-27 18:31:22 +00:00
Masafumi Max NAKANE
e447930222 Merge the en version changes made in 1.42 -> 1.44.
Submitted by:	Mitsuru IWASAKI <iwasaki@pc.jaring.my>
1996-12-27 18:26:14 +00:00
Bill Paul
3951b8e32c Small yet significant tweaks/cleanups:
- getservent:
  o put _yp_check() proto under #ifdef YP where it belongs
  o local YP buffers should be YPMAXRECORD + 2 bytes long and should
    be NUL terminated after copying

- gethostbynis:
  o local YP buffer should be YPMAXRECORD + 2 bytes long

- getnetbynis:
  o local YP buffer should be YPMAXRECORD + 2 bytes long and should
    be NUL terminated after copying

- ether_addr:
  o local YP buffers should be YPMAXRECORD + 2 bytes long and should
    be NUL terminated after copying (in this case it's BUFSIZ + 2 bytes,
    but it happens that BUFSIZ == YPMAXRECORD.

- gethostbydns:
  o nuke stray 'return(NULL)' in __dns_getanswer() (harmless but looks silly)

These are 2.2 candidates. I will wait a few days to make sure these don't
break anything and then, if there are no objections, move them to the 2.2
branch.
1996-12-27 18:21:07 +00:00
Masafumi Max NAKANE
f9abc058e4 Merge the en version changes made in 1.28 -> 1.29.
Submitted by:	Yukinori Maeda <yuki@zephyr.elcom.nitech.ac.jp>
1996-12-27 15:31:35 +00:00
Masafumi Max NAKANE
173b48cdfb Merge the en version changes made in 1.42 -> 1.43.
Submitted by:	Tomoo WATANABE <tomo@maple.elcom.nitech.ac.jp>
1996-12-27 14:39:00 +00:00
KATO Takenori
2cc3289940 Staticize dmapageport and isa_dmarangecheck. 1996-12-27 13:06:31 +00:00