cvs commit: src/sbin/sysctl sysctl.c

2007-06-11 Thread Bruce Evans
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

cvs commit: src/sbin/sysctl sysctl.c

2007-06-10 Thread David Malone
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

cvs commit: src/sbin/sysctl sysctl.c

2007-06-10 Thread David Malone
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

cvs commit: src/sbin/sysctl sysctl.c

2007-06-10 Thread David Malone
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

Re: cvs commit: src/sbin/sysctl sysctl.c

2007-06-10 Thread Bruce Evans
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,

cvs commit: src/sbin/sysctl sysctl.c

2007-06-04 Thread David Malone
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

cvs commit: src/sbin/sysctl sysctl.c

2007-03-20 Thread Brian Somers
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

cvs commit: src/sbin/sysctl sysctl.c

2007-01-22 Thread John Baldwin
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

cvs commit: src/sbin/sysctl sysctl.c

2006-12-09 Thread Warner Losh
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

cvs commit: src/sbin/sysctl sysctl.c src/usr.bin/systat vmstat.c

2006-11-23 Thread Ruslan Ermilov
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

cvs commit: src/sbin/sysctl sysctl.c

2006-10-12 Thread Hartmut Brandt
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

cvs commit: src/sbin/sysctl sysctl.c

2006-10-12 Thread Hartmut Brandt
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

Re: cvs commit: src/sbin/sysctl sysctl.c

2006-10-12 Thread Ruslan Ermilov
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

cvs commit: src/sbin/sysctl sysctl.c src/sys/dev/acpica acpi_thermal.c

2006-09-07 Thread Hajimu UMEMOTO
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.

cvs commit: src/sbin/sysctl sysctl.c

2006-09-06 Thread Ruslan Ermilov
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

cvs commit: src/sbin/sysctl sysctl.c src/sys/dev/acpica acpi_thermal.c

2006-09-03 Thread Hajimu UMEMOTO
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

cvs commit: src/sbin/sysctl sysctl.c

2006-08-16 Thread Ruslan Ermilov
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

cvs commit: src/sbin/sysctl sysctl.c

2006-08-15 Thread Ruslan Ermilov
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

Re: cvs commit: src/sbin/sysctl sysctl.c

2006-08-15 Thread Nate Lawson
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

cvs commit: src/sbin/sysctl sysctl.c

2006-08-04 Thread Nate Lawson
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

cvs commit: src/sbin/sysctl sysctl.c

2006-07-24 Thread Nate Lawson
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

cvs commit: src/sbin/sysctl sysctl.c

2005-12-01 Thread Ruslan Ermilov
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