home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 1 / FFMCD01.bin / useful / dist / gnu / textutils / textutils-1.6.diffs next >
Encoding:
Text File  |  1993-10-04  |  704 b   |  32 lines

  1. diff -rc textutils-1.6-fsf/src/wc.c textutils-1.6-amiga/src/wc.c
  2. *** textutils-1.6-fsf/src/wc.c    Sat May 15 03:18:39 1993
  3. --- textutils-1.6-amiga/src/wc.c    Mon Oct  4 14:35:40 1993
  4. ***************
  5. *** 171,182 ****
  6.       }
  7.   }
  8.   
  9.   static void
  10.   wc (fd, file)
  11.        int fd;
  12.        char *file;
  13.   {
  14. -   char buf[BUFFER_SIZE];
  15.     register int bytes_read;
  16.     register int in_word = 0;
  17.     register unsigned long lines, words, chars;
  18. --- 171,183 ----
  19.       }
  20.   }
  21.   
  22. + char buf[BUFFER_SIZE];        /* Move buffer off stack; David Gay */
  23.   static void
  24.   wc (fd, file)
  25.        int fd;
  26.        char *file;
  27.   {
  28.     register int bytes_read;
  29.     register int in_word = 0;
  30.     register unsigned long lines, words, chars;
  31.