wiz
e96bfc25cf
Sort options and option descriptions, and sync usage.
2011-08-13 14:11:16 +00:00
jakllsch
6c3008d052
Sort (and synchronize) option list and `SYNOPSIS' section in
...
manpage, as well as the program's `usage'-line; also some other
minor changes.
From Snader_LB.
2011-08-13 14:02:48 +00:00
jruoho
ea330d8d1a
Xref limits(3).
2011-08-09 18:11:37 +00:00
wiz
9038276921
Add lzma and lzo to usage. From Elie De Brauwer in PR 45219.
2011-08-06 11:12:05 +00:00
matt
8fa5ea82ed
Add O_TRUNC to the open of the image file (in case the size decreases).
2011-08-04 04:47:59 +00:00
matt
9be0f04367
Add lzma and lzo compression types
2011-08-03 17:46:40 +00:00
matt
dfbaa6afbe
Add -E entrypoint for "byteswapped" entry-points.
2011-08-03 17:00:13 +00:00
riz
a91ba62b09
Add an -m flag to mkubootimage, for specifying an alternate magic
...
value.
2011-08-01 06:16:35 +00:00
christos
3edabd2e8e
Don't attempt to touch special targets; make -t would create .END in every
...
directory.
2011-08-01 02:13:21 +00:00
yamt
b0bc17c5a1
dopoolcache: don't print unused caches unless verbose
2011-07-26 13:24:38 +00:00
yamt
4af7b61bfc
add an option to put samples for each symbols together.
2011-07-26 12:24:16 +00:00
yamt
836b5ebd94
remove a duplicated "unknown option" message.
2011-07-26 12:21:27 +00:00
christos
d97d3aebdc
- use poll() instead of select()
...
- make everything static
- knf
- consistently check for == -1 for syscall errors
- isatty(fd) == tcgetattr(fd), don't do it twice
- make error messages more consistent
- use sig_atomic_t for variable set inside signal handler
2011-07-18 21:51:06 +00:00
christos
ea35959226
gcc 4.5 error support ("file:line:col: error" instead of "file:line: error")
2011-07-18 21:46:15 +00:00
plunky
412b8db41e
only modify the termios structure when tty_in is verifiably a terminal
2011-07-18 15:44:17 +00:00
njoly
58b2cc408f
Use errx() to display kvm_openfiles error message, the provided buffer
...
already has it.
2011-07-17 10:22:07 +00:00
wiz
d738592f9d
Fix typos, remove trailing whitespace.
2011-07-14 22:14:03 +00:00
manu
a6ed313d9c
Improve extended attribute commands:
...
- allow namespace to be omitted when using a namespace-prefixed attribute
name, a la Linux.
- Improve hexdump for getextattr -x
- Add more display option for binary attributes, using vis(3)
- Add a -i option to setextattr to get the attribute value from file, so
that we can set binary values
2011-07-14 15:25:27 +00:00
wiz
e1881f54f7
Fix a logic error: when renaming a file, strip trailing \n from file name.
2011-07-14 06:35:30 +00:00
apb
8c250ec6f2
Comments and white space changes, inspired by Greg Woods' remarks
...
in PR 45130, but not directly copied from the patch in the PR.
2011-07-13 07:58:35 +00:00
apb
69e4520422
Fix error in previous: The first character of $i should be removed
...
only if it is '!', but it was removed in the wrong case branch.
2011-07-13 07:48:19 +00:00
apb
404ff31a48
Allow quoting of embedded shell metacharacters in locate.conf(5).
...
The shell_quote function here is identical to that in postinstall
and etcupdate.
This should fix PR 45130 from Greg Woods.
2011-07-10 13:42:49 +00:00
mrg
29bf026bea
install elf2ecoff for all mips64 systems. it's needed for stand.
2011-07-10 08:43:50 +00:00
tsutsui
b578f76170
Make this cross-tool ready. Mostly taken from elf2ecoff(1).
...
XXX: assume no LP64 a.out binaries
2011-07-10 05:07:48 +00:00
tsutsui
da8589ed6d
Set a_midmag MAGIC in a.out header properly for more possible a.out ports
...
in the past per ex.e_machine in ELF header.
2011-07-10 04:56:31 +00:00
matt
105471657d
When making the symlink for machine -> arch/foo/include
...
also make foo -> arch/foo/include. This allows one to include <foo/bar.h>
include <machine/bar.h> which can be handy.
2011-07-09 08:01:58 +00:00
plunky
cc67630292
ensure string buffer is null terminated, for zero length strings..
2011-07-07 10:49:38 +00:00
plunky
f88159b8d2
parse IEEE 1284 Device ID, since it is not strictly a
...
string, and may run longer than a line
2011-07-07 10:26:00 +00:00
matt
c28121025f
Use __builtin_offsetof if __GNUC__ >= 4
2011-07-05 05:19:02 +00:00
manu
be95d60797
Add a flag to VOP_LISTEXTATTR(9) so that the vnode interface can tell the
...
filesystem in which format extended attribute shall be listed.
There are currently two formats:
- NUL-terminated strings, used for listxattr(2), this is the default.
- one byte length-pprefixed, non NUL-terminated strings, used for
extattr_list_file(2), which is obtanined by setting the
EXTATTR_LIST_PREFIXLEN flag to VOP_LISTEXTATTR(9)
This approach avoid the need for converting the list back and forth, except
in libperfuse, since FUSE uses NUL-terminated strings, and the kernel may
have requested EXTATTR_LIST_PREFIXLEN.
2011-07-04 08:07:29 +00:00
tron
32830a8673
Remove the old version of "less".
2011-07-03 21:58:52 +00:00
mrg
3f6ead21a6
upgrade less to WARNS=2 with -Wno-shadow.
2011-07-03 15:28:47 +00:00
mrg
5286814248
avoid an uninitialised variable warning that shouldn't normally happen
...
in practise but isn't entirely impossible for the future.
2011-07-01 02:34:50 +00:00
wiz
4cbd24b23f
dependant -> dependent
2011-06-30 20:09:15 +00:00
tsutsui
41319be297
ANSIfy, de-__P(), KNF, misc cosmetics.
2011-06-28 13:15:24 +00:00
tsutsui
63fc11e983
ANSIfy, KNF, misc cosmetics.
2011-06-28 13:13:15 +00:00
manu
d297a7739e
Fix previous broken commit for extended attribute listing.
2011-06-28 07:24:14 +00:00
manu
d8abff28ef
Implement extended attribute listing for UFS1.
...
Modify lsextattr(8) so that it does not expect each attribute name to be
prefixed by its length. This enable extattr_list_(file|link|fd) to
return a buffer matching its documentation. This also makes the interface
similar to what Linux and FUSE do, which is nice for interoperability.
Note that since we had no EA implementation supporting listing, we do
not break anything.
2011-06-27 16:34:47 +00:00
plunky
2424b4a6bc
use size_t to satisfy lint
2011-06-25 09:16:52 +00:00
plunky
9a6467a351
some attributes contain comma separated lists which are too long to
...
show on a single line, split them up
2011-06-24 20:53:56 +00:00
plunky
b0e371d8b4
in the "Basic Printing Profile" it is not really very clear
...
which ServiceClass the attributes relate to, so link them
to "Direct Printing" and "Printer Status" as well as
"Reference Printing", since I have a printer (HP460) which
does not claim the latter.
2011-06-24 20:11:23 +00:00
plunky
45c72a0110
if print_attribute() did not print, we should try the next
...
service_class before failing
2011-06-24 20:06:04 +00:00
plunky
10d720db72
interpret "Hardcopy Cable Replacement Profile" attributes
2011-06-24 19:03:46 +00:00
plunky
12d259798e
interpret "Basic Imaging Profile" attributes
2011-06-24 18:50:32 +00:00
christos
bfb07aa1f2
Always use our own align macro and explain a bit more why this is bogus.
2011-06-24 01:10:31 +00:00
christos
2fa13d153a
Don't give out information about processes we can't control.
2011-06-23 22:50:53 +00:00
sjg
ebe0193f6c
After each strsep(&p) check that p is valid.
...
If not the .meta file is corrupted (build interrupted?)
issue a warning and declare target oodate.
2011-06-22 21:13:12 +00:00
mrg
fcdfa9157d
don't bother casting the return value of malloc.
2011-06-22 06:23:07 +00:00
mrg
0e79bf59af
use offsetof() instead of some strange local hack.
2011-06-22 06:22:48 +00:00
mrg
5ed322d90a
apply some -Wno-error/-Wno-enum-compare/-Wno-array-bounds.
...
this should be looked at more closely.
2011-06-22 05:23:53 +00:00