home *** CD-ROM | disk | FTP | other *** search
- diff -rc textutils-1.6-fsf/src/wc.c textutils-1.6-amiga/src/wc.c
- *** textutils-1.6-fsf/src/wc.c Sat May 15 03:18:39 1993
- --- textutils-1.6-amiga/src/wc.c Mon Oct 4 14:35:40 1993
- ***************
- *** 171,182 ****
- }
- }
-
- static void
- wc (fd, file)
- int fd;
- char *file;
- {
- - char buf[BUFFER_SIZE];
- register int bytes_read;
- register int in_word = 0;
- register unsigned long lines, words, chars;
- --- 171,183 ----
- }
- }
-
- + char buf[BUFFER_SIZE]; /* Move buffer off stack; David Gay */
- +
- static void
- wc (fd, file)
- int fd;
- char *file;
- {
- register int bytes_read;
- register int in_word = 0;
- register unsigned long lines, words, chars;
-