X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=debug%2Fsorter%2Fradix-asio-test.c;h=168f6ff6b4f0b982a3cb2ce434ee2c6bd5989aae;hb=09e7fe5641b94148d998a1b620bf694f353cb17b;hp=f2800f8721d355be586f1785f0a485f954a20326;hpb=7ebe76cbc0bf64a033e9d978dd22cea3257e128b;p=libucw.git diff --git a/debug/sorter/radix-asio-test.c b/debug/sorter/radix-asio-test.c index f2800f87..168f6ff6 100644 --- a/debug/sorter/radix-asio-test.c +++ b/debug/sorter/radix-asio-test.c @@ -1,11 +1,13 @@ /* * An experiment with parallel reading and writing of files using ASIO. + * + * (c) 2007 Martin Mares */ -#include "lib/lib.h" -#include "lib/conf.h" -#include "lib/lfs.h" -#include "lib/asio.h" +#include "ucw/lib.h" +#include "ucw/conf.h" +#include "ucw/lfs.h" +#include "ucw/asio.h" #include #include @@ -57,7 +59,7 @@ int main(int argc, char **argv) #ifdef COPY msg(L_INFO, "Creating input file"); - int in_fd = sh_open("tmp/ft-in", O_RDWR | O_CREAT | O_TRUNC | DIRECT, 0666); + int in_fd = ucw_open("tmp/ft-in", O_RDWR | O_CREAT | O_TRUNC | DIRECT, 0666); ASSERT(in_fd >= 0); ASSERT(!(total_size % bufsize)); P_INIT; @@ -83,7 +85,7 @@ int main(int argc, char **argv) for (uns i=0; i