~ubuntu-branches/debian/squeeze/ispell/squeeze

« back to all changes in this revision

Viewing changes to sq.c

  • Committer: Bazaar Package Importer
  • Author(s): Tollef Fog Heen
  • Date: 2002-04-20 18:29:55 UTC
  • Revision ID: james.westby@ubuntu.com-20020420182955-gfpc6bq2dig3sxmo
Tags: 3.1.20-21.1
* Non-Maintainer Upload
* update-ispell-dictionary: skip if DEBIAN_FRONTEND=noninteractive.
  (Patch is in #143161, closes: #143161)

Show diffs side-by-side

added added

removed removed

Lines of Context:
83
83
    char        word[257];
84
84
    static char prev[257] = "";
85
85
 
86
 
    while (gets (word) != NULL)
 
86
    while ( fgets(word, 256, stdin) != NULL) {
 
87
        word[256]='\0';
87
88
        trunc (word, prev);
 
89
    }
88
90
    return 0;
89
91
    }
90
92