bde 2007-06-11 13:02:16 UTC
FreeBSD src repository
Modified files:
sbin/sysctl sysctl.c
Log:
When we return from a show function without printing anything except
a warning, return 1 instead of 0 to indicate that we didn't print
anything, so that top-level
dwmalone2007-06-10 19:13:40 UTC
FreeBSD src repository
Modified files:
sbin/sysctl sysctl.c
Log:
Some style improvements suggested by bde, including removing an
unused include, adding parens for return and sizeof and renaming,
adding some missing whitespace and
dwmalone2007-06-10 19:32:20 UTC
FreeBSD src repository
Modified files:
sbin/sysctl sysctl.c
Log:
Fix a number of WARNS, including printf, constness and unsigned comparison
warnings.
Revision ChangesPath
1.84 +13 -12src/sbin/sysctl/sysctl.c
dwmalone2007-06-10 20:11:52 UTC
FreeBSD src repository
Modified files:
sbin/sysctl sysctl.c
Log:
Some improvements to the int-type printing code based on suggestions by bde.
Revision ChangesPath
1.85 +13 -17src/sbin/sysctl/sysctl.c
On Sun, 10 Jun 2007, David Malone wrote:
dwmalone2007-06-10 19:13:40 UTC
FreeBSD src repository
Modified files:
sbin/sysctl sysctl.c
Log:
Some style improvements suggested by bde, including removing an
unused include, adding parens for return and sizeof and renaming,
dwmalone2007-06-04 18:02:24 UTC
FreeBSD src repository
Modified files:
sbin/sysctl sysctl.c
Log:
Use common code for printing ints and longs by coppying the sysctl
value into a variable of the right type and then printing it via
an intmax_t. This makes avoids some
brian 2007-03-20 23:15:45 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_6)
sbin/sysctl sysctl.c
Log:
MFC: Don't free the buffer with the sysctl value before printing it.
Revision ChangesPath
1.67.2.10 +2 -1
jhb 2007-01-22 20:37:37 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_4)
sbin/sysctl sysctl.c
Log:
MFC: Use malloc() rather than alloca() to allocate storage for old values
to avoid a segfault on boxes with lots of active TCP connections where
imp 2006-12-10 06:36:42 UTC
FreeBSD src repository
Modified files:
sbin/sysctl sysctl.c
Log:
Style: Shorten a couple of lines with u_int and u_long.
Revision ChangesPath
1.81 +3 -5 src/sbin/sysctl/sysctl.c
ru 2006-11-23 11:51:23 UTC
FreeBSD src repository
Modified files:
sbin/sysctl sysctl.c
usr.bin/systat vmstat.c
Log:
Fix the format specifier suitable for uintmax_t.
Revision ChangesPath
1.79 +5 -5 src/sbin/sysctl/sysctl.c
1.82
harti 2006-10-12 15:31:24 UTC
FreeBSD src repository
Modified files:
sbin/sysctl sysctl.c
Log:
Don't free the buffer with the sysctl value before printing it.
Revision ChangesPath
1.76 +4 -1 src/sbin/sysctl/sysctl.c
harti 2006-10-12 15:44:51 UTC
FreeBSD src repository
Modified files:
sbin/sysctl sysctl.c
Log:
Remove a debugging statement from the previous commit.
Revision ChangesPath
1.77 +0 -2 src/sbin/sysctl/sysctl.c
On Thu, Oct 12, 2006 at 03:31:24PM +, Hartmut Brandt wrote:
harti 2006-10-12 15:31:24 UTC
FreeBSD src repository
Modified files:
sbin/sysctl sysctl.c
Log:
Don't free the buffer with the sysctl value before printing it.
Revision ChangesPath
ume 2006-09-07 17:25:48 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_6)
sbin/sysctl sysctl.c
sys/dev/acpica acpi_thermal.c
Log:
MFC: Support Celsius (nn.nC), Fahrenheit (nn.nF) and Kelvin () to
specify temperature.
ru 2006-09-06 20:15:43 UTC
FreeBSD src repository
Modified files:
sbin/sysctl sysctl.c
Log:
While convenient, avoid using alloca() for reasons specified in
the BUGS section of the alloca(3) manpage. In particular, when
the number of TCP sockets is several tens
ume 2006-09-03 15:10:04 UTC
FreeBSD src repository
Modified files:
sbin/sysctl sysctl.c
sys/dev/acpica acpi_thermal.c
Log:
Support Celsius (nn.nC), Fahrenheit (nn.nF) and Kelvin () to
specify temperature.
Reviewed by:njl
MFC after: 3
ru 2006-08-16 13:08:23 UTC
FreeBSD src repository
Modified files:(Branch: RELENG_6)
sbin/sysctl sysctl.c
Log:
MFC: 1.73: Fix printing of integer Celsius.
Revision ChangesPath
1.67.2.5 +3 -3 src/sbin/sysctl/sysctl.c
ru 2006-08-15 13:32:40 UTC
FreeBSD src repository
Modified files:
sbin/sysctl sysctl.c
Log:
Fix printing of integer Kelvins broken in rev. 1.71, which is
fatal on sizeof(int) != sizeof(long) systems (such as amd64).
MFC after: 1 day
Revision
Ruslan Ermilov wrote:
ru 2006-08-15 13:32:40 UTC
FreeBSD src repository
Modified files:
sbin/sysctl sysctl.c
Log:
Fix printing of integer Kelvins broken in rev. 1.71, which is
fatal on sizeof(int) != sizeof(long) systems (such as amd64).
MFC after: 1
njl 2006-08-04 07:31:55 UTC
FreeBSD src repository
Modified files:
sbin/sysctl sysctl.c
Log:
Use floating point instead of hacking something together. Suggested by
[EMAIL PROTECTED] Fix nearby int conversion and a couple style bugs.
MFC after: 1 day
njl 2006-07-25 02:28:43 UTC
FreeBSD src repository
Modified files:
sbin/sysctl sysctl.c
Log:
Fix printing of negative decimal values in Kelvin to Celsius conversion.
MFC after: 3 days
Revision ChangesPath
1.70 +6 -2
ru 2005-12-01 21:59:24 UTC
FreeBSD src repository
Modified files:
sbin/sysctl sysctl.c
Log:
Add -q to usage().
Revision ChangesPath
1.69 +2 -2 src/sbin/sysctl/sysctl.c
___
cvs-all@freebsd.org mailing
22 matches
Mail list logo