~ubuntu-branches/ubuntu/lucid/bogofilter/lucid-updates

« back to all changes in this revision

Viewing changes to src/passthrough.c

  • Committer: Bazaar Package Importer
  • Author(s): Bhavani Shankar
  • Date: 2009-05-06 05:41:52 UTC
  • mfrom: (1.1.11 upstream) (2.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090506054152-tgameecssbuv4np6
Tags: 1.2.0-2ubuntu1
* Merge from debian unstable, remaining changes: LP: #372497
  - don't build qdbm.
  - Don't build tokyocabinet support as it's in universe.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: passthrough.c 6654 2007-02-26 00:25:29Z relson $ */
 
1
/* $Id: passthrough.c 6734 2008-06-18 15:32:26Z m-a $ */
2
2
 
3
3
/*****************************************************************************
4
4
 
24
24
#include "format.h"
25
25
#include "textblock.h"
26
26
#include "xmalloc.h"
27
 
#include "mysetvbuf.h"
28
27
 
29
28
#include "lexer.h" /* need have_body */
30
29
 
365
364
    /* if we're not in passthrough mode, set line buffered mode just in
366
365
     * case some program that calls uses waits for our output in -T mode */
367
366
    if (!passthrough) {
368
 
        mysetvbuf(fpo, NULL, _IOLBF, BUFSIZ);
 
367
        setvbuf(fpo, NULL, _IOLBF, BUFSIZ);
369
368
    }
370
369
}
371
370