chiark / gitweb /
libsystemd-journal: export new function, increase library version
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 6 Mar 2013 18:19:45 +0000 (13:19 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 6 Mar 2013 19:15:09 +0000 (14:15 -0500)
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.

Makefile.am
src/journal/libsystemd-journal.sym

index a7b9e7f1299e928502687b0f94839fccca1bd121..7b1bac5e5072e19594cdc57e2cd7c8e67264b6cd 100644 (file)
@@ -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@
index 67741770c97245a8c00e68dd05181dbdb1b4120c..fbe41501f0ebeb4b84e4e6fb81425649dfa9d72d 100644 (file)
@@ -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;