[systemd-commits] src/libudev
Zbigniew Jędrzejewski-Szmek
zbyszek at kemper.freedesktop.org
Mon Feb 16 09:20:24 PST 2015
src/libudev/libudev-queue.c | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 93a1e66efd4b0f4cda29c467d20d0f7510c0b3a8
Author: Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl>
Date: Mon Feb 16 12:13:20 2015 -0500
build-sys: re-add old symbols for abi compat
For two releases those exported with version 183 by mistake, and then
they were fixed to have version 215 (015419c0df libudev: fix symbol
version for udev_queue_flush() and udev_queue_get_fd()). But that
breaks ABI compatibility for binaries compiled with udev from before
that commit. There most likely very few such binaries, if any, but as
a matter of principle we should export the old symbols too, in order
to keep full compatibility.
diff --git a/src/libudev/libudev-queue.c b/src/libudev/libudev-queue.c
index 8ef1f3d..ae0b415 100644
--- a/src/libudev/libudev-queue.c
+++ b/src/libudev/libudev-queue.c
@@ -268,3 +268,6 @@ _public_ int udev_queue_flush(struct udev_queue *udev_queue) {
return flush_fd(udev_queue->fd);
}
+
+__asm__(".symver udev_queue_flush,udev_queue_flush at LIBUDEV_183");
+__asm__(".symver udev_queue_get_fd,udev_queue_get_fd at LIBUDEV_183");
More information about the systemd-commits
mailing list