X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=debug%2Fsorter%2Fradix-file-test.c;h=46d1bb4c94dbfe897a9ef4c9039e54ec6610fee2;hb=d84b9fd101d2bf3a72b9dc1d603c9b3960e8cb17;hp=b776d1ea9fd01a7e4332060c22bb06bbb541ec3f;hpb=7ebe76cbc0bf64a033e9d978dd22cea3257e128b;p=libucw.git diff --git a/debug/sorter/radix-file-test.c b/debug/sorter/radix-file-test.c index b776d1ea..46d1bb4c 100644 --- a/debug/sorter/radix-file-test.c +++ b/debug/sorter/radix-file-test.c @@ -1,10 +1,12 @@ /* * An experiment with parallel reading and writing of files. + * + * (c) 2007 Martin Mares */ -#include "lib/lib.h" -#include "lib/conf.h" -#include "lib/lfs.h" +#include "ucw/lib.h" +#include "ucw/conf.h" +#include "ucw/lfs.h" #include #include @@ -50,7 +52,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 % xbufsize)); P_INIT; @@ -71,7 +73,7 @@ int main(int argc, char **argv) for (uns i=0; i