~ubuntu-branches/ubuntu/natty/9base/natty

« back to all changes in this revision

Viewing changes to lib9/bio/bvprint.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2009-08-20 17:34:06 UTC
  • mfrom: (6.2.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090820173406-xpwqa9ruyevvc0ut
Tags: 1:3-3
* Updating maintainer field.
* Updating vcs fields.
* Updating package to standards version 3.8.3.
* Updatin variables writing in rules to consistent style.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#include "lib9.h"
2
2
#include <bio.h>
3
 
#include <fmt.h>
4
3
 
5
4
static int 
6
5
fmtBflush(Fmt *f)
30
29
        f.flush = fmtBflush;
31
30
        f.farg = bp;
32
31
        f.nfmt = 0;
 
32
        fmtlocaleinit(&f, nil, nil, nil);
33
33
        n = fmtvprint(&f, fmt, arg);
34
34
        bp->ocount = (char*)f.to - (char*)f.stop;
 
35
        if(n == 0)
 
36
                n = f.nfmt;
35
37
        return n;
36
38
}
37
 
 
38
 
 
39