| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Submitted by: Antranig Vartanian <antranigv@freebsd.am>
Reviewed by: imp, philip
Differential Revision: https://reviews.freebsd.org/D22871
Notes:
svn path=/head/; revision=355978
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
depending on locale.
- add setlocale()
- remove printable() function
- add VIS_OCTAL and VIS_SAFE to the flag of strvisx() to display
non-printable characters that do not use C-style backslash sequences
in three digit octal sequence, or remove it
This change allows multibyte characters to be displayed according to
locale. If it is recognized as a non-display character according to the
locale, it is displayed in three digit octal sequence.
Reference:
https://www.mail-archive.com/svn-src-all@freebsd.org/msg165751.html
https://www.mail-archive.com/svn-src-all@freebsd.org/msg165766.html
https://www.mail-archive.com/svn-src-all@freebsd.org/msg165833.html
https://www.mail-archive.com/svn-src-all@freebsd.org/msg165846.html
https://www.mail-archive.com/svn-src-all@freebsd.org/msg165891.html
Submitted by: hrs
Differential Revision: https://reviews.freebsd.org/D16204
Notes:
svn path=/head/; revision=352558
|
|
|
|
|
|
|
|
|
|
| |
both clang and gcc, by either constifying variables, or when that is not
possible, using __DECONST.
MFC after: 1 week
Notes:
svn path=/head/; revision=343957
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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)
Notes:
svn path=/head/; revision=334600
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add const where helpful
- add missing 'static' for file-local functions
- use nitems where possible
- convert manual abort() to assert
- use strndup instead of homegrown version
Tested with clang, gcc7, and gcc9
Notes:
svn path=/head/; revision=334591
|
|
|
|
|
|
|
| |
Further reduce the number of warnings emitted by gcc.
Notes:
svn path=/head/; revision=334524
|
|
|
|
| |
Notes:
svn path=/head/; revision=333960
|
|
|
|
|
|
|
|
| |
This fixes everything but
-Wincompatible-pointer-types-discards-qualifiers
Notes:
svn path=/head/; revision=333959
|
|
|
|
|
|
|
|
| |
There is still one glaring issue: new_message is not a protoype, but
can't be trivially converted since it uses K&R style var-args.
Notes:
svn path=/head/; revision=333951
|
|
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
Notes:
svn path=/head/; revision=333898
|