Commit Graph

11319 Commits

Author SHA1 Message Date
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
mrg c111245a78 apply some -Wno-error and/or -fno-strict-aliasing.
all of this should be looked at closer, but some of them are not
very trivial.
2011-06-22 02:49:41 +00:00
wiz 322aa1720c New sentence, new line. 2011-06-21 20:51:27 +00:00
kefren f881c97d31 add a sentence regarding multiple tags 2011-06-21 19:46:36 +00:00
kefren 214feb60c7 print multiple tags if exists, comma separated 2011-06-21 19:42:45 +00:00
joerg 8cba5925cb Add a few explicit casts for sign mismatches. 2011-06-21 13:25:45 +00:00
mrg 75e42fa7da remove most of the remaining HAVE_GCC tests that are always true in
the modern world.
2011-06-20 07:43:56 +00:00
christos b3e9080143 cross reference xz.1 2011-06-19 02:22:36 +00:00
christos 9593a36e94 make this work:
- forgot to account for prelen in the input length
- deal with EOF properly
2011-06-19 02:19:45 +00:00
christos 5708f444da recognize .xz suffix 2011-06-19 02:19:09 +00:00
christos 255ae88a08 - remove unused call
- read headers separately
- print error id.
2011-06-19 01:52:28 +00:00
tsutsui 7c8d31ee49 XZ_SUPPORT requires maybe_errx(). 2011-06-19 01:20:19 +00:00
christos 40b41259f0 Add lzma (.xz) support. Somehow this does not decode after the first read yet. 2011-06-19 00:43:54 +00:00
wiz ddcaed45e1 This is installed in section 1, so make internal section the same.
Also use name under which it is installed as main internal name.
Comment out reference to extattr(2) which doesn't exist on NetBSD
(a reference to extattr(3) still remains).
2011-06-17 18:19:58 +00:00
wiz 6d765c9977 Fix usage in man page and sync usage in executable with it. 2011-06-14 20:08:45 +00:00
joerg 2d9f8bf04f Add support for man -p to print the search path for manual pages (not
including cat page directories).

From Abhinav Upadhyay as part of Google's Summer of Code 2011
2011-06-14 18:53:48 +00:00
mrg 08d84f24b2 an_ref is now a uintptr_t. 2011-06-12 06:34:59 +00:00
sjg 0277db2f8c Use %zu rather than cast 2011-06-11 02:10:48 +00:00
sjg af8b888000 size_t on amd64 doesn't like %u, use a cast. 2011-06-10 23:57:39 +00:00
yamt bae8a3a858 mention combinations of flags 2011-06-08 13:54:16 +00:00
yamt 6f8a344413 err -> errx where appropriate 2011-06-08 13:51:13 +00:00
matt 6d32ef3fed When printing the header, convert values to names:
Use strlcpy to copy the name, not strncpy.

 magic:       0x27051956
 time:        Tue Jun  7 15:58:41 2011
 size:        2482203
 load addr:   0x00020000
 entry point: 0x00020000
 data crc:    0x700fdf53
 os:          2 (netbsd)
 arch:        7 (powerpc)
 type:        2 (kernel)
 comp:        1 (gz)
 name:        NetBSD/evbppc 5.99.52 (INSTALL_
 header crc:  0x94ea96cf
2011-06-08 05:54:38 +00:00
bouyer a3a7248ce7 Fix bad cut'n'paste in copyright. Pointed out by dyoung@ 2011-06-07 14:56:12 +00:00
sjg 873dae776d Some systems (eg. MirBSD) use a ksh, with an echo which cannot
be used for things containing \x: etc.
Check for print or printf as builtin and use if available.
Note that a builtin will fail, if make decides a shell is not needed.
2011-06-07 00:10:20 +00:00
jnemeth 86de657587 add an entry about the US nationalising gold to replace old confiscation entry 2011-06-06 03:15:14 +00:00
sjg 43c87c739c ApplyModifiers: if we parse a variable in the modifier list,
do not consider it a nested modifier set, unless it is followed by
endc, a ':' or end of string.
2011-06-03 21:10:42 +00:00
wiz 518b4753cf Bump date for previous. 2011-06-01 22:17:43 +00:00
alnsn a739efc5b5 kern/42030 - tracking of file descriptors by ktrace/kdump 2011-06-01 21:24:59 +00:00
enami 179c4640cc Don't touch before the mmap'ed region. 2011-05-31 02:34:32 +00:00
christos 856fae793d Handle the empty suffix properly. Convert suffix list to a list from an
array and don't have limits in the suffix length. Also don't require that
suffixes have a single dot.
2011-05-30 22:52:12 +00:00
manu ed3e0293c8 Document that localsocket may be of type SOCK_SEQPACKET 2011-05-29 04:54:45 +00:00
manu 1b0d8e317f Display SOCK_SEQPACKET local sockets in sockstat and netstat 2011-05-29 04:45:08 +00:00
rmind 8a0123cd33 - Prevent tmpfs.h from inclusion in userland.
- Clean up and KNF tmpfs.h a little bit.
2011-05-29 01:00:50 +00:00