b26fa1a2fbcfee7d03b0c8fd15ec3aa64ae70b9f |
|
10-Feb-2016 |
Daniel Mack <daniel@zonque.org> |
tree-wide: remove Emacs lines from all files
This should be handled fine now by .dir-locals.el, so need to carry that
stuff in every file. |
3f65d73149cd0f64eb3fdb0c71f55f6c1133fefe |
|
07-Dec-2015 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
udev: add emacs header line
Otherwise emacs wants to use 2-space indentation and other
attrocities. |
b4bbcaa9c44260e88402cb8f9a5fb8ac7f35e123 |
|
17-Nov-2015 |
Thomas Hindoe Paaboel Andersen <phomes@gmail.com> |
tree-wide: group include of libudev.h with sd-* |
cf0fbc49e67b55f8d346fc94de28c90113505297 |
|
16-Nov-2015 |
Thomas Hindoe Paaboel Andersen <phomes@gmail.com> |
tree-wide: sort includes
Sort the includes accoding to the new coding style. |
3ffd4af22052963e7a29431721ee204e634bea75 |
|
25-Oct-2015 |
Lennart Poettering <lennart@poettering.net> |
util-lib: split out fd-related operations into fd-util.[ch]
There are more than enough to deserve their own .c file, hence move them
over. |
07630cea1f3a845c09309f197ac7c4f11edd3b62 |
|
24-Oct-2015 |
Lennart Poettering <lennart@poettering.net> |
util-lib: split our string related calls from util.[ch] into its own file string-util.[ch]
There are more than enough calls doing string manipulations to deserve
its own files, hence do something about it.
This patch also sorts the #include blocks of all files that needed to be
updated, according to the sorting suggestions from CODING_STYLE. Since
pretty much every file needs our string manipulation functions this
effectively means that most files have sorted #include blocks now.
Also touches a few unrelated include files. |
57255510c95ca3369d241502f26d7bbd8fac30a6 |
|
09-Sep-2015 |
Lennart Poettering <lennart@poettering.net> |
tree-wide: replace while(1) by for(;;) everywhere
Another Coccinelle script. |
1f6b411372076426c0faf0bb350437fb4d82931f |
|
09-Sep-2015 |
Lennart Poettering <lennart@poettering.net> |
tree-wide: update empty-if coccinelle script to cover empty-while and more
Let's also clean up single-line while and for blocks. |
5ac0162c3af95efa08a07b84ff62ad32842922c7 |
|
05-Jan-2015 |
Lennart Poettering <lennart@poettering.net> |
udevadm,..: make --help output of udev tools more like the output of the various other tools |
257e968d8c726e1a7be7b455d0e6ad29b5d0756c |
|
01-Jan-2015 |
Robert Milasan <rmilasan@suse.com> |
udev: improve help/usage for some more programs |
56f64d95763a799ba4475daf44d8e9f72a1bd474 |
|
28-Nov-2014 |
Michal Schmidt <mschmidt@redhat.com> |
treewide: use log_*_errno whenever %m is in the format string
If the format string contains %m, clearly errno must have a meaningful
value, so we might as well use log_*_errno to have ERRNO= logged.
Using:
find . -name '*.[ch]' | xargs sed -r -i -e \
's/log_(debug|info|notice|warning|error|emergency)\((".*%m.*")/log_\1_errno(errno, \2/'
Plus some whitespace, linewrap, and indent adjustments. |
25e773eeb4f853804e1bf0dbd9a184f23e9b2a97 |
|
13-Nov-2014 |
Kay Sievers <kay@vrfy.org> |
udev: switch to systemd logging functions |
85f13fce322e6303e7e4e55cb43104f81827f36b |
|
01-Nov-2014 |
Joe Lawrence <joe.lawrence@stratus.com> |
scsi_id: fix usage spelling
s/threat/treat/g |
5168f84a29b9f0002c9d44133cc9830046bb0619 |
|
11-Aug-2014 |
Lennart Poettering <lennart@poettering.net> |
udev: never bypass our own logging framework and call vsyslog() directly from udev tools |
bdd13f6be4b588568683a1ab54f421fc6a636dbb |
|
25-Feb-2014 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
Remove dead lines in various places
As pointed-out by clang -Wunreachable-code.
No behaviour changes. |
9f6445e34a57c270f013c9416c123e56261553dd |
|
24-Dec-2013 |
Lennart Poettering <lennart@poettering.net> |
log: log_error() and friends add a newline after each line anyway, so avoid including it in the log strings |
7643ac9a8add1f07ffc237c054feb443b5612717 |
|
19-Dec-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
udevadm,scsi_id: add short options to help strings and to the man page
Also clean things up a bit here and there. |
ed142bdb68fdcd5ce591152ce0ec9d29898fbac4 |
|
19-Dec-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
scsi_id: cleanup
Remove -i option which would case exit(1) to happen.
Remove some unused code.
Convert to bool where appropriate.
Simplify things a bit.
Always free everything.
https://bugzilla.redhat.com/show_bug.cgi?id=1043304 |
9091e686f43184065381aa71929e3df36a4ea2e1 |
|
14-Dec-2013 |
Thomas Hindoe Paaboel Andersen <phomes@gmail.com> |
Add more _printf_'s for format-nonliterals
Clang is a bit more strict wrt format-nonliterals:
http://clang.llvm.org/docs/LanguageExtensions.html#format-string-checking
Adding these extra printf attributes also makes gcc able to find more
problems. E.g. this patch uncovers a format issue in udev-builtin-path_id.c
Some parts looked intetional about breaking the format-nonliteral check.
I added some supression for warnings there. |
f5f6d0e25574dd63fb605b81fa7767dd71c454db |
|
26-Nov-2013 |
Daniel Buch <boogiewasthere@gmail.com> |
tree-wide usage of %m specifier instead of strerror(errno)
Also for log_error() except where a specific error is specified
e.g. errno ? strerror(errno) : "Some user specified message" |
090be8653471e1abe3f1cdd32eaad0fbd65f85cd |
|
13-Feb-2013 |
Thomas Hindoe Paaboel Andersen <phomes@gmail.com> |
use streq instead of strcmp |
b43d1d01eabe2cbbf393e8f56b76e182c6069c4c |
|
13-Feb-2013 |
Thomas Hindoe Paaboel Andersen <phomes@gmail.com> |
util: introduce strcaseeq/strncaseeq |
641906e9366891e0ad3e6e38b7396a427678c4cf |
|
13-Feb-2013 |
Thomas Hindoe Paaboel Andersen <phomes@gmail.com> |
use strneq instead of strncmp |
d5a89d7dc17a5ba5cf4fc71f82963c5c94a31c3d |
|
09-Jan-2013 |
Kay Sievers <kay@vrfy.org> |
udev: move string copy functions to shared/ |
ff944daa019c1101d6464412e6682732ec11143a |
|
28-Oct-2012 |
Kay Sievers <kay@vrfy.org> |
udev: get rid of SYSCONFDIR |
0d0f0c50d3a1d90f03972a6abb82e6413daaa583 |
|
26-Jul-2012 |
Shawn Landden <shawnlandden@gmail.com> |
log.h: new log_oom() -> int -ENOMEM, use it
also a number of minor fixups and bug fixes: spelling, oom errors
that didn't print errors, not properly forwarding error codes,
few more consistency issues, et cetera |
669241a076108e0483d7d8475beaa506106d077e |
|
25-Jul-2012 |
Shawn Landden <shawnlandden@gmail.com> |
use "Out of memory." consistantly (or with "\n")
glibc/glib both use "out of memory" consistantly so maybe we should
consider that instead of this.
Eliminates one string out of a number of binaries. Also fixes extra newline
in udev/scsi_id |
47ef94ac5f39db6c5c18be10afe32397a0a8d5cc |
|
05-Jul-2012 |
Kay Sievers <kay@vrfy.org> |
udev: add some O_CLOEXEC |
baa30fbc2c04b23209d0b8fb3c86cd15ef9ea81a |
|
08-Apr-2012 |
Kay Sievers <kay@vrfy.org> |
udev: switch to systemd logging functions |
4b0060e68bab7bddbe8968082af8e042b8c11316 |
|
04-Apr-2012 |
Kay Sievers <kay.sievers@vrfy.org> |
udev: fix gcc warnings |
3e2147858f21943d5f4a781c60f33ac22c6096ed |
|
04-Apr-2012 |
Kay Sievers <kay.sievers@vrfy.org> |
move imported udev into place |