X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=sherlock%2Fobj2buck.c;h=869fae272e66fa08be44fef4c61563a44ab03e0a;hb=5ad8b4f69ab4fdf4d75f5a56fc72ef2988f1da1f;hp=3e1873a0d88949eb43c4e871755566e8acf4c0f1;hpb=da5a2b1f5eb7b04f67473f69763fdf376adc259f;p=moe.git diff --git a/sherlock/obj2buck.c b/sherlock/obj2buck.c index 3e1873a..869fae2 100644 --- a/sherlock/obj2buck.c +++ b/sherlock/obj2buck.c @@ -9,8 +9,8 @@ */ #include "sherlock/sherlock.h" -#include "lib/fastbuf.h" -#include "lib/ff-unicode.h" +#include "ucw/fastbuf.h" +#include "ucw/ff-unicode.h" #include "sherlock/object.h" #include @@ -73,7 +73,7 @@ put_attr(byte *ptr, uns type, byte *val, uns len) { if (use_v33) { - PUT_UTF8_32(ptr, len+1); + ptr = utf8_32_put(ptr, len+1); memcpy(ptr, val, len); ptr += len; *ptr++ = type; @@ -104,7 +104,7 @@ put_attr_vformat(byte *ptr, uns type, byte *mask, va_list va) if (len >= 127) { byte tmp[6], *tmp_end = tmp; - PUT_UTF8_32(tmp_end, len+1); + tmp_end = utf8_32_put(tmp_end, len+1); uns l = tmp_end - tmp; memmove(ptr+l, ptr+1, len); memcpy(ptr, tmp, l);