- 11 Jul, 2014 1 commit
-
-
Jon Severinsson authored
-
- 27 Apr, 2014 1 commit
-
-
Michael Biebl authored
-
- 26 Apr, 2014 3 commits
-
-
Michael Stapelberg authored
Instead of tracking git upstream directly, the upstream branch now contains the contents of the orig tarball available at http://www.freedesktop.org/software/systemd/
-
Michael Stapelberg authored
This is necessary to properly deal with files like units/syslog.target, which would not be deleted when merging otherwise.
-
Michael Stapelberg authored
-
- 05 Apr, 2013 1 commit
-
-
Zbigniew Jędrzejewski-Szmek authored
Before, we would initialize many fields twice: first by filling the structure with zeros, and then a second time with the real values. We can let the compiler do the job for us, avoiding one copy. A downside of this patch is that text gets slightly bigger. This is because all zero() calls are effectively inlined: $ size build/.libs/systemd text data bss dec hex filename before 897737 107300 2560 1007597 f5fed build/.libs/systemd after 897873 107300 2560 1007733 f6075 build/.libs/systemd … actually less than 1‰. A few asserts that the parameter is not null had to be removed. I don't think this changes much, because first, it is quite unlikely for the assert to fail, and second, an immediate SEGV is almost as good as an assert.
-
- 14 Nov, 2012 1 commit
-
-
Zbigniew Jędrzejewski-Szmek authored
The point is to allow the use of journald functions by other binaries. Before, journald code was split into multiple files (journald-*.[ch]), but all those files all required functions from journald.c. And journald.c has its own main(). Now, it is possible to link against those functions, e.g. from test binaries. This constitutes a fix for https://bugzilla.redhat.com/show_bug.cgi?id=872638. The patch does the following: 1. rename journald.h to journald-server.h and move corresponding code to journald-server.c. 2. add journald-server.c and other journald-*.c parts to libsystemd-journal-internal. 3. remove journald-syslog.c from test_journal_syslog_SOURCES, since it is now contained in libsystemd-journal-internal. There are no code changes, apart from the removal of a few static's, to allow function calls between files.
-
- 13 Oct, 2012 1 commit
-
-
Zbigniew Jędrzejewski-Szmek authored
Valgrind says: ==29176== Conditional jump or move depends on uninitialised value(s) ==29176== at 0x412A85: cunescape_length_with_prefix (util.c:1565) ==29176== by 0x40B351: dev_kmsg_record (journald-kmsg.c:301) ==29176== by 0x40B653: server_read_dev_kmsg (journald-kmsg.c:347) ==29176== by 0x40B701: server_flush_dev_kmsg (journald-kmsg.c:365) ==29176== by 0x409DE7: main (journald.c:1535)
-
- 17 Sep, 2012 1 commit
-
-
- 23 Aug, 2012 1 commit
-
-
Allin Cottrell authored
-
- 22 Aug, 2012 3 commits
-
-
Lennart Poettering authored
-
Lennart Poettering authored
-
Lennart Poettering authored
-