Jordan K. Hubbard
8566830b43
Close PR#1455. In a couple of weeks, I'll change bsd.lib.mk to use
...
tsort -q as well - I don't feel like adding tsort as Yet Another Item to the
bootstrap target.
1996-08-02 04:50:44 +00:00
Nate Williams
992eae3421
When I hit [Ctrl]+8, appeared 9 instead of 8. It may not be critical but
...
surprised me. ;-)
Submitted by: tacha@tera.fukui-med.ac.jp <Tatoku Ogaito>
Obtained from: NetBSD/GNATS
1996-08-01 22:38:30 +00:00
Poul-Henning Kamp
5e9ed9c990
Write protect the text segment of gzip'ed programs.
...
Various other cleanups by phk.
Reviewed by: phk
Submitted by: Igor Khasilev <igor@jabber.paco.odessa.ua>
1996-08-01 22:00:14 +00:00
Garrett Wollman
a2970ccbcf
Declare fls() for the non-inline case. Defer writing the generic version
...
until it actually matters.
1996-08-01 20:31:45 +00:00
Garrett Wollman
13f588f83e
Add an fls() inline function which does the opposite operation to
...
ffs(). (That is to say, it searches in the opposite direction.)
1996-08-01 20:29:28 +00:00
Nate Williams
a076b72573
Use the defines and macros defined in /sys/pccard/cis.h to make the code
...
easier to understand. LOTS more work needed in this area.
Inspired by: The Nomad code
1996-08-01 15:45:46 +00:00
Jordan K. Hubbard
fa05dcb5ee
Whoops! VTYs return zero values for TIOCGSIZE! Work around this.
1996-08-01 13:47:03 +00:00
Jordan K. Hubbard
a0779fbe20
Don't query DNS if we haven't got it configured.
1996-08-01 12:59:54 +00:00
Jordan K. Hubbard
caa8175236
Handle SIGPIPE in a couple of crucial places.
1996-08-01 12:35:51 +00:00
Jordan K. Hubbard
7204896f94
Put verbosity in the right place.
1996-08-01 12:13:20 +00:00
Jordan K. Hubbard
4bd2df3a33
Purely cosmetic tweaks.
1996-08-01 12:02:26 +00:00
Jordan K. Hubbard
137a1bde43
Clean up the results from getch().
1996-08-01 11:39:49 +00:00
Jordan K. Hubbard
a19596c5a8
Close PR#1542. Don't just assume 24 lines, get the tty size.
...
Some things may still display text on the 24th line, but that's because
they've always been screens designed to fit into a minimal real-estate
and have hardwired assumptions about the dimensions. They'll be a little
harder to make dynamic.
1996-08-01 10:58:54 +00:00
Satoshi Asami
a438b44b4a
Change ${NCFTP} to ${FETCH}. Fix bogon that describes the do-* targets
...
(it wasn't even English!).
Fixes PR docs/1448.
1996-08-01 00:12:11 +00:00
Jordan K. Hubbard
21c7f0d4d7
Make -force work for pkg_add.
1996-07-31 21:52:33 +00:00
Jordan K. Hubbard
d47f2ceb53
Add a required save/restore
1996-07-31 14:49:20 +00:00
Bruce Evans
85acc6887d
Eliminated pcb_inl. It was always 0 because context switches don't occur
...
in interrupt handlers.
1996-07-31 12:36:11 +00:00
Jordan K. Hubbard
d4a5028b0c
Try again.
1996-07-31 10:55:19 +00:00
David Greenman
4f898e1524
Changed wakeup_one() to continue looping, possibly waking up additional
...
processes, until it finds one that is not swapped out.
Submitted by: dyson
1996-07-31 10:35:47 +00:00
Jordan K. Hubbard
e8ebf53742
Don't munge keystrokes.
1996-07-31 09:29:35 +00:00
David Greenman
dc01a4f714
Updated to match kernel changes for timer/run queue.
1996-07-31 09:27:23 +00:00
David Greenman
b1508c72f4
Converted timer/run queues to 4.4BSD queue style. Removed old and unused
...
sleep(). Implemented wakeup_one() which may be used in the future to combat
the "thundering herd" problem for some special cases.
Reviewed by: dyson
1996-07-31 09:26:54 +00:00
Jordan K. Hubbard
764f59345d
Prevent Geometry warning messages when the disk is already "dedicated"
1996-07-31 09:10:39 +00:00
Paul Traina
c733dcc306
Move intermediary file generation to /var partition
1996-07-31 06:47:05 +00:00
Jordan K. Hubbard
09e5a706b7
More minor tweaks (that I'm trying to get into the SNAP).
1996-07-31 06:41:29 +00:00
Jordan K. Hubbard
e5034f83b0
Detect which partitions have already been created with `auto' so as not to create them
...
twice.
Various cosmetic tweaks.
1996-07-31 06:20:59 +00:00
Jordan K. Hubbard
7e33c72e6a
link chgrp to chown, don't list it as a binary
1996-07-31 05:21:20 +00:00
Chuck Robey
5713f18fab
Add New porter Andreas Kohout <shanee@rabbit.augusta.de>
...
Thanks for the new ports, Andreas!
1996-07-30 23:56:45 +00:00
Wolfram Schneider
4fd01d0020
add br275.iso.kbd - Brazilian 275 keyboard ISO-8859-1
...
add br275.cp850.kbd - Brazilian 275 keyboard Codepage 850
Makefile: sort keymaps entries
submitted by: Daniel C. Sobral <dcs@gns.com.br>
1996-07-30 22:30:11 +00:00
Satoshi Asami
520027e54c
Add links to the sample Makefile from two other sections that talk
...
about Makefiles.
1996-07-30 22:19:42 +00:00
Mark Murray
6bbf987509
Ensure that each Kerberised applet has CFLAGS containing -DKERBEROS.
1996-07-30 21:16:34 +00:00
Mark Murray
f3d1114f33
Some breakeages sneaked in. This fixes them.
...
(this relates to a name change in a library that was not properly backed
up by the author)
Reported by: too mant :-(
1996-07-30 21:09:48 +00:00
Bruce Evans
3817d2ffa1
Fixed longstanding bug of not checking dumpdev' or setting
dumplo'
...
early enough when the dump device is specified in the config file.
Removed stale comment about configuration root and swap devices.
Don't bother clearing dumplo when dumpdev is set to NODEV. Everything
is controlled by dumpdev.
Fixed the kern.dumpdev sysctl. Writes were handle bogusly.
1996-07-30 20:30:49 +00:00
Bruce Evans
98a51b2b94
Synced with sio.c: added support for TIOCDCDTIMESTAMP and simplified
...
timestamp code.
1996-07-30 19:50:37 +00:00
Bruce Evans
33ded19fc2
Fixed the machdep.i8254_freq and machdep.i586_freq sysctls. Writes were
...
handled bogusly.
Centralized the setting of all the frequency variables. Set these
variables atomically. Some new ones aren't used yet.
1996-07-30 19:26:55 +00:00
Garrett Wollman
bbd17bf8e1
Add better support for retrieving management information from network
...
interfaces. This creates two new tables in the net.link.generic branch
of the MIB; one contains (essentially) `ifdata' structures, and the other
contains a blob provided by the interface (and presumably used to
implement link-layer-specific MIB variables). A number of things
have been moved around in the `ifnet' and `ifdata' structures, so
NEW VERSIONS OF ifconfig(8) AND routed(8) ARE REQUIRED. (A simple
recompile is all that's necessary.)
I have a sample program which uses this interface for those interested
in making use of it.
1996-07-30 19:17:07 +00:00
John Polstra
f0850246bb
Fix a bug under time's "-l" option. The values reported for average
...
shared memory size, average unshared data size, and average unshared
stack size were too high by a factor of 128/100, because the program
used a hard-coded hz value of 100. The correct value is the frequency
of the statistics clock, currently 128. The program now uses sysctl
to get the stathz value from the kernel.
Discussed with: bde@freebsd.org (Bruce Evans)
1996-07-30 19:00:12 +00:00
Satoshi Asami
edd84a267a
Another round of merge.
...
Submitted by: The FreeBSD(98) Development Team
1996-07-30 18:56:16 +00:00
Bruce Evans
8c2ff39670
Only use the special bdevvp() for DEVFS if DEVFS_ROOT is defined. This
...
makes option DEVFS safe to use again (although mounting devfs is unsafe).
1996-07-30 18:00:32 +00:00
Bruce Evans
6ee990e0d5
Document that the major and minor numbers are parsed by strtoul().
1996-07-30 17:44:36 +00:00
Bruce Evans
7c9e694fa7
Use strtoul() more carefully.
...
Check that the major and minor are valid.
Don't print `.' at the end of error messages.
Fixed all warnings from "cc -Wall".
1996-07-30 17:43:21 +00:00
Bruce Evans
66ff54bd17
Document that the relevant clock ticks are for the statistics clock
...
and that the statistics clock has a frequency of sysconf(_SC_CLK_TCK).
1996-07-30 17:32:49 +00:00
Bruce Evans
e96009446d
Document that clock ticks are for the profiling clock and that the
...
clock frequency is stored in the gmon header.
1996-07-30 17:26:34 +00:00
Bruce Evans
446ee8014f
Fixed description of _SC_CLK_TCK. Both the clock and the units
...
were wrong.
1996-07-30 17:15:09 +00:00
Bruce Evans
7d334687be
Fixed comment about ru_maxrss. This field isn't an integral.
1996-07-30 17:06:44 +00:00
Bruce Evans
f5e9e8ec43
Fixed resource usage integrals. They were too large by a factor of
...
of profhz/stathz when profiling was enabled.
1996-07-30 16:59:22 +00:00
Adam David
6439f56e80
one file somehow slipped by me in the previous commit
...
tidy up
1996-07-30 15:44:30 +00:00
Andrey A. Chernov
58db4b5a8f
Fix GIO_ATTR ioctl return to match SYSV
1996-07-30 15:20:08 +00:00
Adam David
49a598ab87
when file can be opened for read but cannot be read from:
...
fail once (was twice) in forward case
fail once (was no times) in reverse case
this can happen when file is a directory on an NFS or procfs mount.
1996-07-30 13:11:43 +00:00
Jordan K. Hubbard
50f56e483a
Add MD5 checksums to packing list for all files during pkg_create and use
...
later at pkg_delete time to verify that you're deleting what you added.
This, of course, does NOT cover the case where a file you still need
hasn't changed! That's a tougher problem to solve, and this provides
only the minimal amount of safety belt. MD5 checksums are stored in comment
fields, so packages produced with these tools are backwards compatible with
the older ones.
1996-07-30 10:48:20 +00:00