[systemd-commits] Makefile.am src/journal

Zbigniew Jędrzejewski-Szmek zbyszek at kemper.freedesktop.org
Wed Mar 6 11:17:08 PST 2013


 Makefile.am                        |    6 +++---
 src/journal/libsystemd-journal.sym |    6 +++++-
 2 files changed, 8 insertions(+), 4 deletions(-)

New commits:
commit 9304ef91c563263cfd914fb32b6ca118bf60d60e
Author: Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl>
Date:   Wed Mar 6 13:19:45 2013 -0500

    libsystemd-journal: export new function, increase library version
    
    Since sd_journal_reliable_fd wasn't exported before, it is as if
    it was added now. Library "current" number must be bumped.
    
    michich> Someone links with the fixed version and produces a RPM with
             his program. The RPM will happily install on a system with an
             old systemd version (the deps will appear fine), but the
             program will fail to run.

diff --git a/Makefile.am b/Makefile.am
index a7b9e7f..7b1bac5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -51,9 +51,9 @@ LIBSYSTEMD_ID128_CURRENT=0
 LIBSYSTEMD_ID128_REVISION=17
 LIBSYSTEMD_ID128_AGE=0
 
-LIBSYSTEMD_JOURNAL_CURRENT=7
-LIBSYSTEMD_JOURNAL_REVISION=1
-LIBSYSTEMD_JOURNAL_AGE=7
+LIBSYSTEMD_JOURNAL_CURRENT=8
+LIBSYSTEMD_JOURNAL_REVISION=0
+LIBSYSTEMD_JOURNAL_AGE=8
 
 # Dirs of external packages
 dbuspolicydir=@dbuspolicydir@
diff --git a/src/journal/libsystemd-journal.sym b/src/journal/libsystemd-journal.sym
index 6774177..fbe4150 100644
--- a/src/journal/libsystemd-journal.sym
+++ b/src/journal/libsystemd-journal.sym
@@ -83,9 +83,13 @@ global:
 
 LIBSYSTEMD_JOURNAL_196 {
 global:
-        sd_journal_reliable_fd;
         sd_journal_get_catalog;
         sd_journal_get_catalog_for_message_id;
         sd_journal_set_data_threshold;
         sd_journal_get_data_threshold;
 } LIBSYSTEMD_JOURNAL_195;
+
+LIBSYSTEMD_JOURNAL_198 {
+global:
+        sd_journal_reliable_fd;
+} LIBSYSTEMD_JOURNAL_196;



More information about the systemd-commits mailing list