sjg
123e6558cd
Make sure .PHONY targets get .TARGET set.
...
This wasn't happening when a dependency of .END.
Set .PREFIX too and add a unit-test.
PR: 43534
2011-09-29 23:38:04 +00:00
christos
190c081319
don't limit sockets to sizeof(sizeof sockaddr_storage). We can create valid
...
sockaddr_un sockets that exceed that. Arguably either
sizeof(struct sockaddr_storage) should be amended, or we should disallow
unix domain sockaddrs that exceed that size.
2011-09-28 16:28:27 +00:00
apb
aaffb7873e
Updates to the find(1) man page, based on PR 45381 from Greg Woods,
...
with additional changes by myself.
2011-09-24 13:45:43 +00:00
mrg
81a1075469
apply some (uintptr_t) so that printing printers works on i386 (likely
...
all 32 bit.)
2011-09-23 07:31:39 +00:00
apb
64d2b8e0ba
Use vis(3) encoding when a string format is modified by the '#' flag.
...
Also bump copyright years.
2011-09-22 20:23:55 +00:00
christos
a0af16e360
- factor out common code in the inet and inet6 printing.
...
- add appletalk (ddp) support.
2011-09-22 17:27:50 +00:00
christos
8624929e77
Fix unchecked malloc, check for overflow (Maksymilian Arciemowicz)
...
While here, remove unused casts, fix types.
2011-09-22 12:49:57 +00:00
christos
17c41f8e0c
Symbolic printing of some known MISC records.
2011-09-21 17:48:51 +00:00
christos
618434e41f
PR/45385: Henning Petersen: Swapped arguments in lseek
2011-09-21 14:33:35 +00:00
christos
48adc0d0fe
PR/45384: Henning Petersen: Swapped arguments in lseek
2011-09-21 14:32:14 +00:00
christos
6f2c981e29
PR/45383: Henning Petersen: Swapped lseek args
2011-09-21 14:30:47 +00:00
jym
37232010ea
Use __arraycount(), as done above.
2011-09-21 12:08:02 +00:00
njoly
7d41567535
Fix lseek(2) swapped arguments.
2011-09-18 09:07:35 +00:00
christos
45afe09801
ansify, const, knf
2011-09-17 15:15:46 +00:00
minskim
05d81a59ae
Add back a line accidentally deleted in the previous commit.
2011-09-17 03:09:51 +00:00
joerg
6818646ac8
Use __dead
2011-09-16 15:39:25 +00:00
joerg
84700a0331
Use __dead consistently. If it doesn't exist, define it away.
2011-09-16 15:38:03 +00:00
apb
9438a85a85
More corrections to format compatibility between stat(1), find(1) -ls,
...
and ls(1) -lT.
2011-09-16 14:32:53 +00:00
wiz
8438689645
Remove unnecessary Ns.
2011-09-16 13:33:13 +00:00
apb
229948abdb
Anothe difference in output format: stat -f "%Z" does not add any
...
space in "major,minor" for device nodes, whereas both "ls -l" and
"find -ls" add at least one space.
2011-09-16 11:06:27 +00:00
apb
7f5f7e4b90
Add examples of formats for stat(1) to simulate "find -ls" and "ls -lTd".
2011-09-15 19:56:35 +00:00
plunky
1803dc4bc8
when printing URL strings, don't use VIS_HTTPSTYLE, it does
...
not quite work as I expected.. just use VIS_CSTYLE
2011-09-15 17:52:53 +00:00
wiz
4285677d6b
Add argument in options table. Resize to fit.
2011-09-15 09:40:57 +00:00
wiz
826f78a987
Mark file argument(s) as being optional (as does the usage message
...
from fold.c, which is correct); minor spelling correction; note
`width' as being an argument to `-w'; reference fmt(1) in `SEE
ALSO' section.
From Snader_LB.
2011-09-15 09:39:57 +00:00
christos
2ba0028160
- remove bogus casts
...
- print recycled vnode flags
2011-09-10 18:35:28 +00:00
christos
ebb6dc2ee4
add libutil.
2011-09-10 18:34:54 +00:00
christos
48bd4d9cb5
add all the possible fileops here, and if there is one we know about
...
print that instead of the passed name.
2011-09-10 18:34:40 +00:00
christos
6438f483a9
revert previous; don't change the logic.
2011-09-08 12:00:26 +00:00
christos
90932ffc48
don't forget to 0 init the rest of the array since now we removed the memset
2011-09-08 01:19:52 +00:00
christos
47ecf56863
a little more KNF, plus add \e (from the previous commit)
2011-09-08 01:18:44 +00:00
christos
0ffd30a090
It is pointless to assign to the CLASS.set member and never use it again.
...
Perhaps the author meant to check if it is already set and not allocated it
again to avoid memory leaks? Anyway make everything const back and delete
the unused code. Yes, this leaks the same way as before but it is
insignificant. If we want to save memory we could use bytes or even bits
instead of ints, and not allocate/initialize the same thing multiple times.
2011-09-08 01:18:05 +00:00
joerg
91a068001c
Add comment to explain the const issue to avoid future trouble.
2011-09-07 22:59:19 +00:00
riz
958c749ae4
Remove newly-introduced const qualifier from static CLASS classes[],
...
as CLASS->set gets changed in genclass(). Fixes a segfault doing:
tr '[:lower:]' '[:upper:]'
on (at least) amd64.
2011-09-07 18:21:41 +00:00
jmcneill
a123dfbe30
recognize AUDIO_ENCODING_AC3
2011-09-06 22:41:53 +00:00
wiz
2a5f867d29
Remove trailing whitespace and use Sx for section crossreference.
2011-09-06 19:22:05 +00:00
joerg
7d5aba78d7
Use static and __dead.
2011-09-06 18:50:32 +00:00
joerg
48ed0846d6
static + __dead
2011-09-06 18:46:35 +00:00
joerg
8751fcdadd
Use __printflike and __dead.
2011-09-06 18:46:21 +00:00
joerg
78eefffb5d
static + __dead
2011-09-06 18:46:03 +00:00
joerg
abb50018a2
ANSIfy, static + __dead
2011-09-06 18:45:49 +00:00
joerg
b47a64d89e
static + __dead
2011-09-06 18:45:21 +00:00
joerg
505c5e5515
Use static and __dead
2011-09-06 18:45:04 +00:00
joerg
a12e209ee8
Mark usage as static and __dead.
2011-09-06 18:44:46 +00:00
joerg
4d7311244b
static + __dead
2011-09-06 18:44:26 +00:00
joerg
60bd81b021
error_count is unsigned, so use %ju
2011-09-06 18:43:41 +00:00
joerg
8f7d1f2721
Use __dead and __printflike. Fix one format string and one error()
...
argument as hinted by the new format string checking.
2011-09-06 18:42:13 +00:00
joerg
1ed141bb41
ANSIfy, static + __dead
2011-09-06 18:35:41 +00:00
joerg
424d701a2a
ANSIfy + __dead
2011-09-06 18:34:57 +00:00
joerg
4a9db21a64
ANSIfy, static + __dead
2011-09-06 18:34:37 +00:00
joerg
be0c033d10
ANSIfy. Sprinkle static and __dead.
2011-09-06 18:34:12 +00:00
joerg
1d57801981
ANSIfy. Sprinkle const and __dead.
2011-09-06 18:33:46 +00:00
joerg
cd57b1ce2a
ANSIfy, static + __dead
2011-09-06 18:33:18 +00:00
joerg
f20d1d233d
Use __dead. Make a bunch of local functions static.
2011-09-06 18:33:01 +00:00
joerg
c8b60166de
ANSIfy + static + __dead
2011-09-06 18:32:26 +00:00
joerg
68168df687
ANSIfy + __dead
2011-09-06 18:32:03 +00:00
joerg
96c339267b
Consistently use __dead and __printflike.
2011-09-06 18:31:44 +00:00
joerg
fb1e3f6f7d
static + __dead
2011-09-06 18:31:22 +00:00
joerg
b480aed3ce
Use static and __dead.
2011-09-06 18:30:56 +00:00
joerg
3500df6f19
Use pid_t directly. Apply static and __dead.
2011-09-06 18:30:38 +00:00
joerg
4d72fc9046
static + __dead
2011-09-06 18:29:35 +00:00
joerg
cfac3cac2b
ANSIfy, static + __dead
2011-09-06 18:28:58 +00:00
joerg
3e796e7d89
static + __dead
2011-09-06 18:28:35 +00:00
joerg
75acfabd7f
Use __dead and __printflike.
2011-09-06 18:28:18 +00:00
joerg
0b82381295
static + __dead
2011-09-06 18:26:55 +00:00
joerg
e7997c0db8
ANSIfy, static + __dead
2011-09-06 18:26:06 +00:00
joerg
d5bd94639a
Consistently use __dead and __printflike.
2011-09-06 18:25:14 +00:00
joerg
f085baab1a
static + __dead
2011-09-06 18:24:43 +00:00
joerg
0487dc01d5
ANSIfy + __dead
2011-09-06 18:24:15 +00:00
joerg
a2f897e7fe
ANSIfy, static + __dead.
2011-09-06 18:19:58 +00:00
joerg
2eacf5d5a2
Mark __menu_initerror as dead in the output.
2011-09-06 18:16:38 +00:00
joerg
f0f23e661a
Move usage and onintr to make them static. Add __dead as needed.
2011-09-06 18:16:01 +00:00
christos
f5cf37944f
move UNIX socket mention in the BUGS section.
2011-09-06 11:31:47 +00:00
wiz
ba45f45512
Remove duplicate RCS Id and split file system.
2011-09-05 18:27:31 +00:00
joerg
170bc8c273
Moved to src/external/bsd/byacc.
2011-09-05 18:25:23 +00:00
joerg
7654d36ad8
Sprinkle const. Use __dead.
2011-09-05 18:11:53 +00:00
joerg
6d5539de9c
static + __dead
2011-09-04 20:55:43 +00:00
joerg
08af8338c6
Sprinkle one more static and a bunch of consts.
2011-09-04 20:35:07 +00:00
joerg
81249d1a2f
static + __dead
2011-09-04 20:31:00 +00:00
joerg
4e46e5935f
ANSIfy + static + __dead
2011-09-04 20:29:12 +00:00
joerg
924863260a
static + __dead
2011-09-04 20:28:59 +00:00
joerg
cb377560e8
ANSIfy + static + __dead
2011-09-04 20:28:09 +00:00
joerg
d6555585cf
static + __dead
2011-09-04 20:27:05 +00:00
joerg
8f81f2eef9
Use static, change deep if / else if / ... chains to switch(), apply
...
__dead, ANSIfy.
2011-09-04 20:26:17 +00:00
joerg
60dc5170cc
static + __dead
2011-09-04 20:24:59 +00:00
christos
44f7f983f5
- minor KNF
...
- for system processes (0, 1) where fd_lastfile == -1, fail early.
- instead of printing the pcb connection address, print the pathname if
possible for unix domain sockets.
2011-09-03 13:24:19 +00:00
christos
21e29f6268
Mention that fstat -f will not list open unix sockets on that filesystem.
2011-09-03 13:22:55 +00:00
christos
d44b4781e6
minor knf, no functional change.
2011-09-03 10:59:10 +00:00
christos
221bb4e4bf
leave the original errno as it was. don't report EFBIG on all mmap failures.
2011-09-03 10:35:13 +00:00
christos
56b933f4a2
Instead of declaring our own err() which is different than the standard one,
...
and using it incorrectly in a few places because of confusion (does it print
errno or not?), declare two versions following the standard ones xerrx and,
xerr, and use those as appropriate, implementing them using them vwarn and
vwarnx.
2011-09-03 09:02:20 +00:00
christos
c09f04bf36
- use PT_STRINGS
...
- use __arraycount()
2011-09-02 20:11:42 +00:00
sjg
b79c6e0ff9
meta_oodate should ignore makeDependfile
2011-09-02 16:26:21 +00:00
joerg
12da85b5f0
static + __dead
2011-09-01 13:37:33 +00:00
joerg
223a11b436
static + __dead
2011-09-01 13:25:02 +00:00
plunky
acae68523e
reinstate NULL cast by request, where the NULL was being passed as a vararg
2011-09-01 07:18:50 +00:00
plunky
9f61b80465
NULL does not need a cast
2011-08-31 16:24:54 +00:00
joerg
06cf5ec8d8
Use __dead. Be a bit more consistent about static.__dead. Be a bit more
...
consistent about static.
2011-08-31 13:38:19 +00:00
joerg
31870c16c9
static + __dead
2011-08-31 13:35:46 +00:00
joerg
1009d03daf
static + __dead
2011-08-30 23:10:45 +00:00
joerg
9f9e1b91cd
Use __printflike and __dead
2011-08-30 23:08:05 +00:00
joerg
7e57d8fe3f
Use __printflike and __dead.
2011-08-30 23:06:00 +00:00
joerg
1f81257a3a
static + __dead
2011-08-30 21:33:28 +00:00
plunky
87d4f6076b
Apply casts to cases where xdrproc_t is expected but is not
...
strictly passed, for example because the second argument is
a different kind of pointer.
2011-08-30 17:06:20 +00:00
christos
2b57c17dce
in external now.
2011-08-30 10:09:26 +00:00
joerg
7e47a1209f
Use __dead
2011-08-29 14:24:03 +00:00
joerg
d27ef895bf
static + __dead
2011-08-29 14:22:46 +00:00
joerg
593b4a9f8c
Use __dead
2011-08-29 14:14:11 +00:00
joerg
a696160afc
static + __dead
2011-08-29 14:12:29 +00:00
joerg
6e33bec8d4
static + __dead
2011-08-29 14:05:08 +00:00
joerg
136ac38948
ANSIfy + static + __dead
2011-08-29 14:00:54 +00:00
joerg
d04cc43e5c
usage() is not unused, it is dead
2011-08-29 13:56:17 +00:00
joerg
49dbe234f7
static + __dead
2011-08-29 13:55:22 +00:00
joerg
a746333485
static + __dead
2011-08-29 13:47:16 +00:00
elric
95bd2d4a1e
Remove crypto/dist/heimdal and its associated build infrastructure as
...
it has been replaced by crypto/external/bsd/heimdal.
2011-08-28 16:21:57 +00:00
christos
d99091ea8b
use strpct from libutil.
2011-08-28 08:24:42 +00:00
sjg
09fee58e88
In meta mode, we create .meta files for most targets.
...
These capture all the interesting data - useful for debugging.
In such cases there is no need to replicate commands in the build log.
Rather than run the entire build .SILENT, allow meta mode to set that flag
per target iff a .meta file is created.
Normal behavior is retained for targets where no .meta file is created,
ensuring that no build data is lost.
2011-08-28 03:54:07 +00:00
joerg
c36a7298be
ANSIfy. Add static. Add __dead.
2011-08-28 01:17:47 +00:00
joerg
45e9b5a831
Avoid using non-literal format strings. Fix verbose option -- va_list is
...
passed by reference and vprintf would have processed all arguments
already.
2011-08-25 16:19:23 +00:00
christos
76987894af
misc knf cleanup.
2011-08-23 20:27:22 +00:00
dholland
879c64122d
Requires stdint.h.
2011-08-21 23:38:43 +00:00
christos
a040843f47
use const char [] for format.
2011-08-21 08:50:08 +00:00
plunky
a54eea1c06
add print_utf8_string for some profiles that specify UTF-8 specifically,
...
and supply a print_codeset_string() so we don't need void * casts to avoid
the char ** -> const char ** complaint
2011-08-20 09:18:47 +00:00
sjg
daf6508d3f
Make some dashes em-dashes (based on patch from Andrew O. Shadoura).
...
Note behavior of .META flag wrt out-of-date.
2011-08-18 15:36:51 +00:00
sjg
4f95291ad9
Fix formatting of Notes to work with groff.
...
Patch from Andrew O. Shadoura.
2011-08-18 15:19:30 +00:00
christos
cb81bcdf23
revert 4 digit year printing and add -y option to print 4 digit years.
2011-08-18 11:29:27 +00:00
sjg
bbf6dc9998
If a target is explicitly flagged .META,
...
a missing .meta file means it is out-of-date.
2011-08-18 00:00:21 +00:00
joerg
0a09baa75f
Fix disable stricter format string messages with clang again.
2011-08-17 22:16:42 +00:00
christos
cef6b9f736
document non-literal format strings
2011-08-17 15:32:20 +00:00
christos
4802a96d70
fix non-literal format strings
2011-08-17 14:07:45 +00:00
christos
90f7aa069d
add noreturn atttribute.
2011-08-17 14:07:31 +00:00
christos
82c2d298ee
document non-literal format strings
2011-08-17 14:00:30 +00:00
christos
9ca5242243
fix non-literal string format
2011-08-17 13:57:12 +00:00
christos
103ef387e2
document that we are using non-literal string formats.
2011-08-17 13:54:31 +00:00
christos
e6c0663544
Eliminate non-literal format strings, and now that gcc warns, kill y2k format
...
warning.
2011-08-17 13:48:11 +00:00
christos
e9332b1686
kill 2 digit year format.
2011-08-17 13:37:39 +00:00
christos
6d44ff404c
document non-literal string format
2011-08-17 13:29:39 +00:00
christos
08c8290bd9
eliminate non-literal format strings.
2011-08-17 13:26:49 +00:00
christos
9590e2915d
document non-literal format strings
2011-08-17 13:22:33 +00:00
christos
5a1e6eb35b
document non literal string format
2011-08-17 13:19:09 +00:00
christos
c480e28cfc
fix non-literal format stringg.
2011-08-17 13:12:39 +00:00
christos
ea9a6fbf23
avoid "... dutch" being interpreted as a pascal continuation message, and
...
core-dumping.
2011-08-17 13:11:22 +00:00
christos
77984ce781
document non-literal format strings.
2011-08-17 12:57:19 +00:00
joerg
09b543b065
Do proper input validation without penalizing performance.
2011-08-16 13:55:01 +00:00
christos
d27516e895
document non-literal format string.
2011-08-16 12:05:52 +00:00
christos
aab2693089
document non-literal format strings
2011-08-16 12:03:31 +00:00
christos
855e98819b
- document non-literal format string
...
- use err/errx
- prototypes
2011-08-16 12:00:46 +00:00
christos
abf73dc18d
document non-literal format string
2011-08-16 11:49:17 +00:00
christos
5353040f23
document non-literal format strings
2011-08-16 10:35:03 +00:00
christos
4a313422fa
set errno on overflow return.
2011-08-16 03:25:34 +00:00
christos
89c75b98e4
provisional fix for CVE-2011-2895, buffer overflow in decompression
2011-08-16 03:24:47 +00:00
christos
5db8b1f126
provisional fix for CVS-2011-2895, buffer overflow when uncompressing
2011-08-16 03:21:47 +00:00
christos
4551250b00
document non-literal format strings.
2011-08-14 13:45:34 +00:00
christos
856f19c27d
Provide a consistent date/time format instead of a
...
locale-specific one that might have 2 digit years
2011-08-14 13:41:17 +00:00
christos
e3f2281ab3
kill gcc-4.5 warnings
2011-08-14 13:27:47 +00:00
christos
d0e87f5f87
- add a SYSEX0 macro that does not override the initializers and use it
...
- fix whitespace
- make things static and eliminate unused functions
2011-08-14 13:26:23 +00:00
christos
ccb821a2ac
- remove gcc-4.5 warnings
...
- simplify job printing code
- document non-literal format strings
2011-08-14 13:06:09 +00:00
christos
42ff0d2ac9
kill gcc-4.5 warning
2011-08-14 12:59:25 +00:00
christos
51a4285889
fix gcc-4.5 warnings
2011-08-14 12:58:15 +00:00
christos
2da76c1342
eliminate gcc4.5 warnings
2011-08-14 12:50:10 +00:00
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