Kay Sievers
cf3fb69acb
intltool: skip the intermediate file in case it remains, not the source file
2012-07-15 19:28:21 +02:00
Kay Sievers
17ec33d69e
update TODO
2012-07-15 15:55:47 +02:00
Kay Sievers
d0bfe5243a
unit: avoid re-definition of enum for older gcc versions
...
<koen> | ./src/shared/unit-name.h:29:23: error: redefinition of typedef 'UnitType'
<koen> | ./src/core/unit.h:30:23: note: previous declaration of 'UnitType' was here
2012-07-15 15:53:43 +02:00
Kay Sievers
216e2aded6
build-sys: fix "make distcheck"
2012-07-15 15:48:26 +02:00
Kay Sievers
4a0ff4780d
aquire_terminal(): fix uninitialized variable
...
./src/shared/util.c:2457:45: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized]
2012-07-15 15:34:22 +02:00
Kay Sievers
19d1e4eeb6
journal: align byte-buffer that gets cased to an object
...
On Sun, Jul 15, 2012 at 2:00 PM, Koen Kooi <koen@dominion.thruhere.net> wrote:
> | src/journal/sd-journal.c: In function 'sd_journal_process':
> | src/journal/sd-journal.c:1891:21: warning: cast increases required alignment of target type [-Wcast-align]
> | src/journal/sd-journal.c:1900:29: warning: cast increases required alignment of target type [-Wcast-align]
2012-07-15 14:58:29 +02:00
Kay Sievers
dbfd912258
journal: avoid re-definition of enums for older gcc versions
...
On Sun, Jul 15, 2012 at 2:00 PM, Koen Kooi <koen@dominion.thruhere.net> wrote:
> | In file included from src/journal/sd-journal.c:37:0:
> | src/journal/journal-internal.h:47:3: error: redefinition of typedef 'MatchType'
> | src/journal/journal-internal.h:36:24: note: previous declaration of 'MatchType' was here
> | src/journal/journal-internal.h:67:3: error: redefinition of typedef 'LocationType'
> | src/journal/journal-internal.h:37:27: note: previous declaration of 'LocationType' was here
2012-07-15 14:56:57 +02:00
Kay Sievers
8432ecabac
rules: fix typo in 42-usb-hid-pm.rules
...
<arjan> can you open the 42-usb-hid-pm.rules file
<arjan> and go to line 46
<arjan> and tell me why ATTR{idProduct}="0002" only has one = and not two (e.g. == ) ?
<kay> arjan: yep
<kay> arjan: bug
2012-07-14 00:50:49 +02:00
Kay Sievers
c6eefe3664
udev: avoid creating /dev/kmsg with fopen() to support CONFIG_PRINTK=n
2012-07-14 00:33:59 +02:00
Lennart Poettering
95694951a0
build-sys: fix build
2012-07-13 23:38:32 +02:00
Lennart Poettering
7f2cddae09
unit: rename BindTo= to BindsTo=
...
all other dependencies are in 3rd person. Change BindTo= accordingly to
BindsTo=.
Of course, the dependency is widely used, hence we parse the old name
too for compatibility.
2012-07-13 23:34:40 +02:00
Lennart Poettering
976c46f84f
man: add man page aliases for all macros/types too
2012-07-13 23:10:23 +02:00
Lennart Poettering
a4023a43d0
man: Split sd_randomize(3) from sd_id128_get_{machine,boot}(3)
...
They have too little to do with each other...
2012-07-13 22:55:52 +02:00
Lennart Poettering
9a1d541663
build-sys: don't install sd-readahead.h as include file, but as documentation
...
sd-readahead.h is supposed to be a drop-in API, nothing people should
ever link to or could make use without also adding sd-readahead.c to
their sources. Hence, don't install this header file into INCLUDES, but
instead install it as DOCS.
2012-07-13 22:47:46 +02:00
Lennart Poettering
639a6a2529
man: document sd_journal_seek_head()
2012-07-13 22:39:02 +02:00
Lennart Poettering
f4e761c4fc
man: document sd_journal_add_match()
2012-07-13 22:18:17 +02:00
Lennart Poettering
39d6464ce3
shutdown: add missing include
2012-07-13 21:54:28 +02:00
Lennart Poettering
19125c205a
man: fix various typos
2012-07-13 21:54:19 +02:00
Lennart Poettering
e362b3725a
man: suppress man page dates/authors in generated pages
2012-07-13 21:54:03 +02:00
Lennart Poettering
24fb2ddc12
build-sys: clean man pages when building them
2012-07-13 21:53:44 +02:00
Lennart Poettering
91a0317253
man: forgot sd_journal_get_fd() man page
2012-07-13 21:04:38 +02:00
Lennart Poettering
6ca9571edd
man: document sd_journal_get_fd()
2012-07-13 21:03:58 +02:00
Lennart Poettering
4a010f4e6e
man: document sd_journal_get_cursor()
2012-07-13 20:39:05 +02:00
Lennart Poettering
b59866aefa
man: document sd_journal_get_cutoff_realtime_usec()
2012-07-13 20:17:37 +02:00
Lennart Poettering
7a8a6e8854
man: document sd_journal_get_realtime_usec()
2012-07-13 19:32:11 +02:00
Lennart Poettering
4171a6676c
man: document sd_journal_get_data() and friends
2012-07-13 19:00:48 +02:00
Lennart Poettering
67c3cf4f9e
man: document sd_journal_next()
2012-07-13 18:28:08 +02:00
Lennart Poettering
3bb55eee6a
man: document sd_journal_open()
2012-07-13 15:49:34 +02:00
Lennart Poettering
4b2615684b
log: correct usage of logging API at a few places
2012-07-13 15:45:45 +02:00
Harald Hoyer
a504223d9a
main: only reopen /dev/console if we switch-root to a custom init
...
There's no point in reopening /dev/console if we reopen it anyway
afterwards.
2012-07-13 14:46:14 +02:00
Lennart Poettering
910212e738
container: when shutting down in a container don't detach loop devices
...
We don't do device handling in containers, hence no loop devices either.
2012-07-13 14:42:25 +02:00
Lennart Poettering
bd3fa1d243
core: go on a killing spree when transitioning from initrd to main system
2012-07-13 14:41:57 +02:00
Lennart Poettering
32c4bef882
util: temporarily ignore SIGHUP while we are issuing TIOCSTTY
2012-07-13 13:55:35 +02:00
Lennart Poettering
95ea1b90cc
test: hook up more tests with make check
2012-07-13 13:50:39 +02:00
Lennart Poettering
b7def68494
util: rename join() to strjoin()
...
This is to match strappend() and the other string related functions.
2012-07-13 13:41:01 +02:00
Lennart Poettering
184850e8a7
man: fix man page chapter in Makefile.am
2012-07-13 02:19:07 +02:00
Lennart Poettering
a81df0ad90
man: document sd_journal_stream_fd()
2012-07-13 02:18:45 +02:00
Lennart Poettering
cb07866b1b
man: move header file man pages from section 7 to 3
...
This way we can include documentation about minor macros/inline function
within the introducionary man page in a sane way.
2012-07-13 01:50:05 +02:00
Lennart Poettering
3913ac2041
journal: properly export sd_journal_add_disjunction()
2012-07-13 01:16:15 +02:00
Zbigniew Jędrzejewski-Szmek
ba961854dd
journalctl: show any printable Unicode character
...
This makes sure we are OK in outputting all valid, non-control UTF-8
characters, instead of just printable 7bit ASCII.
2012-07-13 01:07:41 +02:00
Lennart Poettering
3a419b9848
update TODO
2012-07-13 00:32:33 +02:00
Lennart Poettering
cbdca8525b
journal: beef up journal matches considerably
...
we now can take multiple matches, and they will apply as AND if they
apply to different fields and OR if they apply to the same fields. Also,
terms of this kind can be combined with an overreaching OR.
2012-07-13 00:32:32 +02:00
Lennart Poettering
362a3f8122
journal: check fields we search for more carefully
2012-07-13 00:32:32 +02:00
Lennart Poettering
91a31dde6e
journal: fix seeking by realtime/seqnum
2012-07-13 00:32:32 +02:00
Lennart Poettering
ecf68b1d38
journal: fix bad memory access
2012-07-13 00:32:32 +02:00
Lennart Poettering
a536e2613f
journal: fix bisection logic for first entry
2012-07-13 00:32:32 +02:00
Lennart Poettering
c4aff78b2d
journal: fix interleaving of files with different time sources
2012-07-13 00:32:32 +02:00
Lennart Poettering
474abe33bb
build-sys: avoid duplicate inclusion of log.c in tools
...
Before: shared code such as log.c was linked once into the public
libraries (where it is entirely hidden) and once into the various tools
which might use those libraries. This is suboptimal, as this way static
variables such as the maximum log level are instantiated twice in all
tools.
After: our build the public libraries a second time, as a convenience
libary, and link our tools against those. Hence all tools use only a
single instance of everything.
2012-07-13 00:32:32 +02:00
Kay Sievers
347e1b6df0
update TODO
2012-07-11 03:32:28 +02:00
Lennart Poettering
d957be9bae
update TODO
2012-07-11 02:45:00 +02:00