From 9343d741a852bb6468e4ed209e0af98a4994dc64 Mon Sep 17 00:00:00 2001 From: Jeff Moyer Date: Tue, 30 Mar 2004 22:25:18 +0000 Subject: Backed out the 0.3.93 patch from daniel. --- libaio.spec | 5 ++++- src/compat-0_1.c | 27 --------------------------- 2 files changed, 4 insertions(+), 28 deletions(-) diff --git a/libaio.spec b/libaio.spec index b553a3e..0bd3cac 100644 --- a/libaio.spec +++ b/libaio.spec @@ -1,6 +1,6 @@ Name: libaio Version: 0.3.99 -Release: 1 +Release: 2 Summary: Linux-native asynchronous I/O access library Copyright: LGPL Group: System Environment/Libraries @@ -58,6 +58,9 @@ make install prefix=$RPM_BUILD_ROOT/usr \ %attr(0644,root,root) %{_libdir}/libaio.a %changelog +* Tue Mar 30 2004 Jeff Moyer - 0.3.99-2 +- Apparently the 0.3.93 patch was not meant for 0.3.96. Backed it out. + * Tue Mar 30 2004 Jeff Moyer - 0.3.99-1 - Fix compat calls. - make library .so.1.0.0 and make symlinks properly. diff --git a/src/compat-0_1.c b/src/compat-0_1.c index 343a33f..136396f 100644 --- a/src/compat-0_1.c +++ b/src/compat-0_1.c @@ -27,28 +27,6 @@ #include "syscall.h" -/* - * Compatible interfaces that still need an entry point. - */ - -SYMVER(compat0_1_io_queue_init, io_queue_init, 0.1); -int compat0_1_io_queue_init(int maxevents, io_context_t *ctxp) -{ - return io_queue_init(maxevents, ctxp); -} - -SYMVER(compat0_1_io_queue_run, io_queue_run, 0.1); -int compat0_1_io_queue_run(io_context_t ctx) -{ - return io_queue_run(ctx); -} - -SYMVER(compat0_1_io_submit, io_submit, 0.1); -int compat0_1_io_submit(io_context_t ctx, long nr, struct iocb **iocbs) -{ - return io_submit(ctx, nr, iocbs); -} - /* ABI change. Provide partial compatibility on this one for now. */ SYMVER(compat0_1_io_cancel, io_cancel, 0.1); int compat0_1_io_cancel(io_context_t ctx, struct iocb *iocb) @@ -68,11 +46,6 @@ int compat0_1_io_queue_wait(io_context_t ctx, struct timespec *when) return io_getevents(ctx, 0, 0, NULL, when ? &timeout : NULL); } -SYMVER(compat0_1_io_queue_release, io_queue_release, 0.1); -int compat0_1_io_queue_release(io_context_t ctx) -{ - return io_destroy(ctx); -} /* ABI change. Provide backwards compatibility for this one. */ SYMVER(compat0_1_io_getevents, io_getevents, 0.1); -- cgit v1.2.1