| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Minor cleanups that got accidentally reverted.
Obtained from: OpenBSD
|
|
|
|
|
|
|
|
|
| |
sort: style knits / cleanups.
Our style guide(9) specifies that in absence of local variables
an empty line must be inserted.
Pointed out by: eadler
|
|
|
|
| |
Obtained from: OpenBSD
|
|
|
|
| |
Obtained from: OpenBSD
|
|
|
|
| |
Obtained from: OpenBSD
|
|
|
|
| |
defined. These help with processing coverage and profile data.
|
|
|
|
|
| |
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
| |
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ELF toolchain readelf lacked some functionality at the time other tools
(like size, strip, nm, etc.) were switched over to the ELF toolchain
versions. That has been addressed as of the last update, so we can add
it to the list.
PR: 198950 [exp-run]
Reviewed by: bapt, imp, rpaulo
Relnotes: yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D2156
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The man page states that:
'-w width Width of ASCII-art plot in characters, default is 74.'
This is not entirely correct. The mini-help is more accurate:
'-w : width of graph/test output (default 74 or terminal width)'
In other words: the man page fails to explain that ministat will default
to the terminal width, not 74. It will only fall back to 74 if stdout is
not a TTY.
Submitted by: Ben Hutchings <ben@decadent.org.uk>
Approved by: philip (mentor)
|
|
|
|
| |
Reviewed by: bde
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Bring some important updates from NetBSD up to about 2008/04/25.
The main feature is initial support for C99.
This is a very basic update to make it easier to merge new
compiler attirbutes but more updates are likely to follow.
Obtained from: NetBSD
MFC after: 2 weeks
|
|
|
|
|
|
| |
Raphael Abreu <raphael.lorenzeto@gmail.com> on freebsd-doc.
MFC after: 1 week
|
|
|
|
|
|
|
| |
Caused by an incomplete merge from NetBSD.
PR: 198725
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The granularity reported by READ BLOCK LIMITS is an exponent, not a
byte value. So a granularity of 0 means 2^0, or 1 byte. A
granularity of 1 means 2^1, or 2 bytes.
Print out the individual block limits on separate lines to improve
readability and avoid exceeding 80 columns.
usr.bin/mt/mt.c:
Fix and improve the 'mt rblim' output. Add a MT_PLURAL()
macro so we can print "byte" or "bytes" as appropriate.
Sponsored by: Spectra Logic
MFC after: 4 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The only drives I have discovered so far that support medium type
reports are newer HP LTO (LTO-5 and LTO-6) drives. IBM drives
only support the density reports.
sys/cam/scsi/scsi_sa.h:
The number of possible density codes in the medium type
report is 9, not 8. This caused problems parsing all of
the medium type report after this point in the structure.
usr.bin/mt/mt.c:
Run the density codes returned in the medium type report
through denstostring(), just like the primary and secondary
density codes in the density report. This will print the
density code in hex, and give a text description if it
is available.
Thanks to Rudolf Cejka for doing extensive testing with HP LTO drives
and Bacula and discovering these problems.
Tested by: Rudolf Cejka <cejkar at fit.vutbr.cz>
Sponsored by: Spectra Logic
MFC after: 4 days
|
|
|
|
|
|
|
| |
support the a.out format.
Reviewed by: emaste
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
| |
Submitted by: andrew@
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
| |
Obtained from: NetBSD
Sponsored by: The FreeBSD Foundation
|
| |
|
|
|
|
|
| |
Also, preserve nanoseconds from libarchive, even though the zip file format
does not currently support nanoseconds in timestamps.
|
| |
|
|\ |
|
| | |
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| | |
Submitted by: emax
Obtained from: Netflix, Inc.
MFC after: 3 days
|
| |
| |
| |
| |
| |
| |
| |
| | |
Move the function at the bottom of the misc.c file to clearly state the
copyright only stand for this function
PR: 198484
Submitted by: logan@elandsys.com
|
| |
| |
| |
| |
| | |
Obtained from: Netflix, Inc.
MFC after: 3 days
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Still reword phrase a bit, hopefully in a bit less misleading form than before.
MFC after: 1 week
X-MFC-With: r279783
Pointy Hat to: marck
|
| |
| |
| |
| | |
MFC after: 1 week
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
split_spaces() set argc in main() incorrectly, which caused trouble for
getopt().
Examples:
env -S '\c'
env -S -i
PR: 197769
MFC after: 1 week
|
|\ \
| |/ |
|
| |
| |
| |
| |
| | |
CID: 1011522
Obtained from: NetBSD (CVS 1.18, partial)
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Support includes surrounded by '"' or '<' '>'
Print warnings about bad syntax
Correctly navigate through include directories to find calendar files
Correctly support multiple includes
Tested by: gjb
MFC after: 1 week
|
|\ \
| |/ |
|
| |
| |
| |
| | |
Pointed-out by: allanjude (excellent catch!)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
As it turns out, the density code for DAT-160 (0x48) is the same
as for SDLT220. Since the SDLT values are already in the table,
we will leave them in place.
Thanks to Harald Schmalzbauer for confirming the DAT-72 density code.
lib/libmt/mtlib.c:
Add DAT-72 density code, and commented out DAT-160 density
code. Explain why DAT-160 is commented out. Add notes
explaining where the bpi values for these formats came from.
usr.bin/mt/mt.1:
Add DAT-72 density code, and add a note explaining that
the SDLTTapeI(110) density code (0x48) is the same as
DAT-160.
Sponsored by: Spectra Logic
MFC after: 3 weeks
|
| |
| |
| |
| | |
Use the new unsupp warning level to detect the unsupported manpages in man(1)
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| | |
The most notable new feature is support for definition files.
Obtained from: http://dotat.at/prog/unifdef
MFC after: 1 week
|
| |
| |
| |
| |
| |
| |
| |
| | |
can't. This would prevent problem when we changed the
default crypt(3) algorithm or removed it in the future.
PR: bin/189958
MFC after: 1 month
|
| |
| |
| |
| | |
Reported by: np@
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
lib/libmt/mtlib.c:
In mt_start_element(), make sure we don't overflow the
cur_sb array. CID 1271325
usr.bin/mt/mt.c:
In main(), bzero the mt_com structure so that we aren't
using any uninitialized stack variables. CID 1271319
In mt_param(), only allow one -s and one -p argument. This
will prevent a memory leak caused by overwriting the
param_name and/or param_value variables. CID 1271320 and
CID 1271322
To make things simpler in mt_param(), make sure there
there is only one exit path for the function. Make sure
the arguments are explicitly freed.
Sponsored by: Spectra Logic
Pointed out by: emaste
MFC after: 1 month
|