~ubuntu-branches/ubuntu/trusty/libxfont/trusty-proposed

« back to all changes in this revision

Viewing changes to src/fontfile/bufio.c

  • Committer: Bazaar Package Importer
  • Author(s): Bryce Harrington
  • Date: 2007-07-18 16:46:59 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20070718164659-h894n91b3dynfwi2
Tags: 1:1.3.0-0ubuntu1
* New upstream release.
* debian/control:
  - Maintainer field updated
* debian/copyright:
  - Added packaging copyright

Show diffs side-by-side

added added

removed removed

Lines of Context:
147
147
    return c;
148
148
}
149
149
 
 
150
static int
 
151
BufFileFlush (BufFilePtr f, int doClose)
 
152
{
 
153
    if (f->bufp != f->buffer)
 
154
        return (*f->output) (BUFFILEEOF, f);
 
155
    return 0;
 
156
}
 
157
 
150
158
BufFilePtr
151
159
BufFileOpenWrite (int fd)
152
160
{
189
197
}
190
198
 
191
199
int
192
 
BufFileFlush (BufFilePtr f, int doClose)
193
 
{
194
 
    if (f->bufp != f->buffer)
195
 
        return (*f->output) (BUFFILEEOF, f);
196
 
    return 0;
197
 
}
198
 
 
199
 
int
200
200
BufFileClose (BufFilePtr f, int doClose)
201
201
{
202
202
    int ret;
204
204
    xfree (f);
205
205
    return ret;
206
206
}
207
 
 
208
 
void
209
 
BufFileFree (BufFilePtr f)
210
 
{
211
 
    xfree (f);
212
 
}