Revision tags: release/14.0.0 |
|
#
b3e76948 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: two-line .h pattern
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0 |
|
#
c981cbbd |
| 15-Feb-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r343956 through r344177.
|
#
2f301637 |
| 10-Feb-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Fix multiple warnings in usr.bin/top about variables shadowing global declarations from base gcc, by renaming those variables.
MFC after: 1 week
|
Revision tags: release/12.0.0, release/11.2.0 |
|
#
1de63842 |
| 13-Jun-2018 |
Eitan Adler <eadler@FreeBSD.org> |
top(1): style(9)
- split return type from function name - Sprinkle a __pure where possible.
|
#
b4aadfd2 |
| 10-Jun-2018 |
Eitan Adler <eadler@FreeBSD.org> |
top(1): filter fewer warnings; clean up
- remove WARNS?=6. It is default - we no longer have cast-qual problems - remove unused macros - remove unneeded casts - add include guard for loadavg.h
|
#
d408c8f7 |
| 08-Jun-2018 |
Eitan Adler <eadler@FreeBSD.org> |
top(1): fix several style & const related issues
- use parens for return - put function names on newline - sprinkle const where possible
|
#
8d0d2676 |
| 04-Jun-2018 |
Eitan Adler <eadler@FreeBSD.org> |
top(1): include what you use
- Change headers to more closely match what we use - use more standard functions instead of bzero, bcmp, bcopy - Add myself to authors.
Tested with: base clang (amd64),
top(1): include what you use
- Change headers to more closely match what we use - use more standard functions instead of bzero, bcmp, bcopy - Add myself to authors.
Tested with: base clang (amd64), gcc 9 (amd64), base clang (i386), base gcc (mips)
show more ...
|
#
01a55f00 |
| 03-Jun-2018 |
Eitan Adler <eadler@FreeBSD.org> |
top(1): partial revert of r334517
In fixing issues with uid > INT_MAX, I broke the uid without username case. The latter is more important so return the old state.
Discussed with: allanjude
|
#
19789395 |
| 02-Jun-2018 |
Eitan Adler <eadler@FreeBSD.org> |
top(1): Use uid_t for uid rather than 'int'
Remove unneeded define while here.
|
#
f6234b51 |
| 02-Jun-2018 |
Eitan Adler <eadler@FreeBSD.org> |
top(1): ansify, style(9). and nits
- Prefer using ansi prototypes rather than C prototypes - Keep type on separate line from name of function - Try to keep things const where possible. This will hel
top(1): ansify, style(9). and nits
- Prefer using ansi prototypes rather than C prototypes - Keep type on separate line from name of function - Try to keep things const where possible. This will help get to WARNS=6 - switch to "bool" where it makes sense
show more ...
|
#
6ffc72df |
| 21-May-2018 |
Eitan Adler <eadler@FreeBSD.org> |
top(1): fix build
Remove 'top.local.hs'. This was not noticed since /srv/obj/fbsd/srv/src/freebsd/svn/head/amd64.amd64/usr.bin/top/top.local.h existed locally on my machine despite "make clean". Onl
top(1): fix build
Remove 'top.local.hs'. This was not noticed since /srv/obj/fbsd/srv/src/freebsd/svn/head/amd64.amd64/usr.bin/top/top.local.h existed locally on my machine despite "make clean". Only fully removing the objdir allowed me to observe the error directly.
Pointyhat to: me
show more ...
|
#
1b7645c6 |
| 21-May-2018 |
Eitan Adler <eadler@FreeBSD.org> |
top(1): modernize a bit; reduce warnings
- Replace caddr_t with "void *". This reduces the number of warnings at WARNS=6 - use "static" where possible - sprinkle const where possible
This leaves at
top(1): modernize a bit; reduce warnings
- Replace caddr_t with "void *". This reduces the number of warnings at WARNS=6 - use "static" where possible - sprinkle const where possible
This leaves at WARNS=6: 35 warnings in top.c 88 warnings in machine.c 7 warnings in commands.c
all of which are either "incompatible-pointer-types-discards-qualifiers" or "cast-qual"
show more ...
|
#
00157b4c |
| 21-May-2018 |
Eitan Adler <eadler@FreeBSD.org> |
Revert r333969 which contained one too many changes
|
#
bfb79c2c |
| 21-May-2018 |
Eitan Adler <eadler@FreeBSD.org> |
top(1): modernize a bit; reduce warnings
- Replace caddr_t with "void *". This reduces the number of warnings at WARNS=6 - use "static" where possible - sprinkle const where possible
This leaves at
top(1): modernize a bit; reduce warnings
- Replace caddr_t with "void *". This reduces the number of warnings at WARNS=6 - use "static" where possible - sprinkle const where possible
This leaves at WARNS=6: 35 warnings in top.c 72 warnings in machine.c 5 warnings in commands.c
all of which are either "incompatible-pointer-types-discards-qualifiers" or "cast-qual"
show more ...
|
#
668af25d |
| 21-May-2018 |
Eitan Adler <eadler@FreeBSD.org> |
top(1): pull configuration directly into header files
This sets configuration variables directly in the various header files, avoiding the need to have special logic in our Makefile to build the hea
top(1): pull configuration directly into header files
This sets configuration variables directly in the various header files, avoiding the need to have special logic in our Makefile to build the header.
show more ...
|
#
4b9ca404 |
| 21-May-2018 |
Eitan Adler <eadler@FreeBSD.org> |
top(1): set max username length based on system constant
This changes previous behavior of calculating it at startup based on the current max username length.
This is done because: - it is in theor
top(1): set max username length based on system constant
This changes previous behavior of calculating it at startup based on the current max username length.
This is done because: - it is in theory possible for the max length to change at run-time (e.g., a new user is added after top starts running) - on machines with many users this delays startup significantly
PR: 20799 PR: 89762 Reported by: ob@e-Gitt.NET Reported by: wkwu@Kavalan.csie.NCTU.edu.tw Reported on: 2000-08-23 and 2005-11-30
show more ...
|
#
98c299e0 |
| 20-May-2018 |
Eitan Adler <eadler@FreeBSD.org> |
top(1): remove use of 'register' keyword
This keyword is meaningless is obscures future diffs that help clear up warnings in top.
|
#
3be6ef06 |
| 20-May-2018 |
Eitan Adler <eadler@FreeBSD.org> |
top(1): Migrate top to usr.bin
We've been maintaining top(1) for a long time, and the upstream hasn't existed/been used in similarly as long. Make it clear that we own top(1)
Tested with 'make univ
top(1): Migrate top to usr.bin
We've been maintaining top(1) for a long time, and the upstream hasn't existed/been used in similarly as long. Make it clear that we own top(1)
Tested with 'make universe'. Everything passed except MIPS which failed for unrelated reasons. Install also tested for amd64.
Reviewed by: sbruno No objections: imp, mmacy Differential Revision: https://reviews.freebsd.org/D15387
show more ...
|