URI: 
       tcall fmtlocaleinit - plan9port - [fork] Plan 9 from user space
  HTML git clone git://src.adamsgaard.dk/plan9port
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit d6316a2de0bc01178f6ca3ddfb064fc19697c5ff
   DIR parent 8b0728d3b5fa9afb4e7a4b83f2fb39052b291e4e
  HTML Author: rsc <devnull@localhost>
       Date:   Wed,  7 Jun 2006 15:28:30 +0000
       
       call fmtlocaleinit
       
       Diffstat:
         M src/cmd/venti/srv/zblock.c          |       6 ++----
       
       1 file changed, 2 insertions(+), 4 deletions(-)
       ---
   DIR diff --git a/src/cmd/venti/srv/zblock.c b/src/cmd/venti/srv/zblock.c
       t@@ -5,13 +5,11 @@
        void
        fmtzbinit(Fmt *f, ZBlock *b)
        {
       -        f->runes = 0;
       +        memset(f, 0, sizeof *f);
       +        fmtlocaleinit(f);
                f->start = b->data;
                f->to = f->start;
                f->stop = (char*)f->start + b->len;
       -        f->flush = nil;
       -        f->farg = nil;
       -        f->nfmt = 0;
        }
        
        #define ROUNDUP(p, n) ((void*)(((uintptr)(p)+(n)-1)&~(uintptr)((n)-1)))