| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
All other global variables are already marked static, so for consistency
sake, add them to these three arrays as well.
|
|
|
|
|
|
| |
PR: 140384
Found by: clang static analyzer
MFC after: 3 weeks
|
|
|
|
|
|
|
|
|
|
|
|
| |
rather than a voltag name, do not set the CESR_VOLTAGS flags in the
CHIOGSTATUS command requesting the current status. As voltags are an
optional feature that must be handled as "reserved" by media changers
not implementing the feature, always setting CESR_VOLTAGS resulted in
the command being aborted with an `Invalid field in CDB', and
consequently the "chio return" failed, for media changers that do not
support voltags.
MFC after: 1 week
|
| |
|
|
|
|
| |
Sort standard sections in the (documented) preferred order.
|
|
|
|
| |
header update.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
especially in troff files.
|
|
|
|
|
| |
PR: 40053
Submitted by: Dan Lukes <dan@obluda.cz>
|
| |
|
|
|
|
| |
acceptable getprogname(3).
|
|
|
|
| |
(u_intXX_t).
|
|
|
|
| |
and WARNS=4.
|
|
|
|
|
|
|
|
|
|
|
|
| |
o __P has been reoved
o Old-style K&R declarations have been converted to new C89 style
o register has been removed
o prototype for main() has been removed (gcc3 makes it an error)
o int main(int argc, char *argv[]) is the preferred main definition.
o Attempt to not break style(9) conformance for declarations more than
they already are.
Approved by: arch@, new style(9)
|
|
|
|
|
|
| |
set WARNS=0.
Reviewed by: mike
|
| |
|
| |
|
| |
|
|
|
|
| |
Submitted by: Mike Barcroft <mike@q9media.com>
|
| |
|
|
|
|
|
| |
Submitted by: Mike Barcroft <mike@q9media.com>
MFC after: 2 weeks
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
bold markers \fB and \fR.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- The ability to specify elements by volume tag instead of their actual
physical location. e.g., instead of:
chio move slot 3 slot 4
you would now use:
chio move voltag FOO slot 4
- The ability to return an element to its previous location, as specified
by the source element. e.g., instead of:
chio move drive 0 slot 4
you would now use:
chio return drive 0
or
chio return voltag FOO
These features will obviously only work with changers that support volume
tags and/or source element IDs. chio(1) should fail gracefully if the user
attempts to use these new features and the source element ID or volume tag
are not found.
PR: bin/21178
Submitted by: "C. Stephen Gunn" <csg@waterspout.com>
Reviewed by: ken
|
|
|
|
| |
unistd.h, which is already included.
|
| |
|
|
|
|
| |
Submitted by: bde
|
|
|
|
|
|
| |
minimize diffs with {Net,Open}BSD
Hinted-More-Or-Less-By: bde
|
|
|
|
|
|
|
|
|
|
| |
* Better usage() - correct syntax, display available commands
instead of examples
* Accept command abbreviations
* sprintf -> snprintf (for paranoia)
* manpage capitalisation tweak
Obtained from: OpenBSD
|
| |
|
|
|
|
|
|
|
|
|
|
| |
statement if blocks[*] when the else could be ambiguous, not defaulting
to int type and removal of some unused variables.
[*] This is explicitly allowed by style(9) when the single statement
spans more than one line.
Reviewed by: obrien, chuckr
|
|
|
|
|
| |
(rev.1.7 blew away most of rev.1.2-1.6; I'm only fixing blowing away of
rev.1.4).
|
|
|
|
|
|
|
| |
fact the proper spelling.
PR: docs/8697
Submitted by: Sascha Blank <blank@fox.uni-trier.de>
|
|
|
|
|
|
| |
(This was broken when the volume tag changes went in.)
Submitted by: Josef Karthauser <joe@pavilion.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tag support. These changes have been tested with a Breeze Hill
Q47 DLT and a DEC DLT2500 media changer. The latter has no
volume tag support.
The chio(1) command was updated to include various flags to the
status subcommand. These flags can be used to select additional
information to be displayed (like volume tags).
A new chio(1) subcommand named 'voltag' has been added which allows
for changes to volume tags inside the media changer controller.
This could not be tested as the Q47 does not provide the functio-
nality.
Submitted by: Hans Huebner
|
|
|
|
|
| |
PR: 6856
Submitted by: Josh Gilliam <josh@quick.net>
|
|
|
|
|
| |
be here before including almost any POSIX header.
Requested by: Bruce
|
| |
|
|
|
|
| |
Use .An/.Aq
|
|
|
|
| |
Obtained from: OpenBSD (src/bin/chio/chio.c rev 1.7) by todd@openbsd.org
|
|
|
|
|
| |
PR: docs/4450
Submitted by: josh@quick.net
|
|
|
|
|
|
| |
for potential trouble.
Reviewed by: security officers.
Noted by: OpenBSD
|