~ubuntu-branches/ubuntu/saucy/codegroup/saucy

« back to all changes in this revision

Viewing changes to codegroup.c

  • Committer: Bazaar Package Importer
  • Author(s): Vince Mulhollon
  • Date: 2004-10-19 19:07:55 UTC
  • Revision ID: james.westby@ubuntu.com-20041019190755-i5aqtf7ioifu1hu7
Tags: 19981025-2
Fix typo in control file
(Closes: #277212)

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
#define LINELEN  64                   /* Maximum line length */
38
38
#define ERRMAX   10                   /* Maximum data lost messages to print */
39
39
 
40
 
static FILE *fi = stdin;              /* Input file */
41
 
static FILE *fo = stdout;             /* Output file */
 
40
/* Have to assign stdin/stdout inside main now - vlm 20040821 */
 
41
/* static FILE *fi = stdin; */        /* Input file */
 
42
/* static FILE *fo = stdout; */       /* Output file */
 
43
static FILE *fi;
 
44
static FILE *fo;
42
45
 
43
46
static char groupbuf[GROUPLEN + 1];   /* Group assembly buffer */
44
47
static char linebuf[LINELEN + 4];     /* Line editing buffer */
582
585
 
583
586
int main(int argc, char *argv[])
584
587
{
 
588
    /*  have to connect stdin/stdout inside main - vlm 2004-08-21 */
 
589
    fi = stdin;
 
590
    fo = stdout;
 
591
 
585
592
    int i, f = 0, decode = FALSE;
586
593
    char *cp, opt;
587
594