home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 2 / FFMCD02.bin / useful / dist / gnu / textutils / textutils-1.9.diffs next >
Encoding:
Text File  |  1993-12-14  |  20.0 KB  |  911 lines

  1. diff -rc textutils-1.9-fsf/Makefile.in textutils-1.9-amiga/Makefile.in
  2. *** textutils-1.9-fsf/Makefile.in    Thu Oct 21 17:52:51 1993
  3. --- textutils-1.9-amiga/Makefile.in    Tue Dec 14 09:27:17 1993
  4. ***************
  5. *** 25,31 ****
  6.   srcdir = @srcdir@
  7.   VPATH = @srcdir@
  8.   
  9. ! prefix = /usr/local
  10.   exec_prefix = $(prefix)
  11.   bindir = $(exec_prefix)/bin
  12.   libdir = $(exec_prefix)/lib
  13. --- 25,31 ----
  14.   srcdir = @srcdir@
  15.   VPATH = @srcdir@
  16.   
  17. ! prefix = /usr
  18.   exec_prefix = $(prefix)
  19.   bindir = $(exec_prefix)/bin
  20.   libdir = $(exec_prefix)/lib
  21. diff -rc textutils-1.9-fsf/configure textutils-1.9-amiga/configure
  22. *** textutils-1.9-fsf/configure    Tue Nov  2 21:02:43 1993
  23. --- textutils-1.9-amiga/configure    Tue Dec 14 09:25:53 1993
  24. ***************
  25. *** 69,75 ****
  26.            *=*) val="`echo $arg|sed 's/[^=]*=//'`" ;;
  27.            *) val=1 ;;
  28.          esac
  29. !        eval "with_$package='$val'" ;;
  30.   
  31.        -v | -verbose | --verbose | --verbos | --verbo | --verb | --ver | --ve | --v)
  32.          verbose=yes ;;
  33. --- 69,75 ----
  34.            *=*) val="`echo $arg|sed 's/[^=]*=//'`" ;;
  35.            *) val=1 ;;
  36.          esac
  37. !        "with_$package='$val'" ;;
  38.   
  39.        -v | -verbose | --verbose | --verbos | --verbo | --verb | --ver | --ve | --v)
  40.          verbose=yes ;;
  41. ***************
  42. *** 91,97 ****
  43.   rm -f conftest* confdefs.h
  44.   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  45.   echo > confdefs.h
  46. ! compile='${CC-cc} $CFLAGS conftest.c -o conftest $LIBS >/dev/null 2>&1'
  47.   
  48.   # A filename unique to this package, relative to the directory that
  49.   # configure is in, which we can look for to find out if srcdir is correct.
  50. --- 91,97 ----
  51.   rm -f conftest* confdefs.h
  52.   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  53.   echo > confdefs.h
  54. ! compile="${CC-gcc} $CFLAGS conftest.c -o conftest $LIBS"
  55.   
  56.   # A filename unique to this package, relative to the directory that
  57.   # configure is in, which we can look for to find out if srcdir is correct.
  58. ***************
  59. *** 102,108 ****
  60.     srcdirdefaulted=yes
  61.     # Try the directory containing this script, then `..'.
  62.     prog=$0
  63. !   confdir=`echo $prog|sed 's%/[^/][^/]*$%%'`
  64.     test "X$confdir" = "X$prog" && confdir=.
  65.     srcdir=$confdir
  66.     if test ! -r $srcdir/$unique_file; then
  67. --- 102,108 ----
  68.     srcdirdefaulted=yes
  69.     # Try the directory containing this script, then `..'.
  70.     prog=$0
  71. !   confdir=`echo $prog| sed 's|/$||' | sed 's|//|/|' | sed 's|/[^/]*$||'`
  72.     test "X$confdir" = "X$prog" && confdir=.
  73.     srcdir=$confdir
  74.     if test ! -r $srcdir/$unique_file; then
  75. ***************
  76. *** 131,136 ****
  77. --- 131,138 ----
  78.   
  79.   
  80.   # We want these before the checks, so the checks can modify their values.
  81. + CFLAGS="-O"    #HACK (fnf)
  82. + LDFLAGS=""    #HACK (fnf)
  83.   test -z "$CFLAGS" && CFLAGS=-g auto_cflags=1
  84.   test -z "$LDFLAGS" && LDFLAGS=-g
  85.   
  86. ***************
  87. *** 157,163 ****
  88.     yes
  89.   #endif
  90.   EOF
  91. ! ${CC-cc} -E conftest.c > conftest.out 2>&1
  92.   if egrep yes conftest.out >/dev/null 2>&1; then
  93.     GCC=1 # For later tests.
  94.   fi
  95. --- 159,165 ----
  96.     yes
  97.   #endif
  98.   EOF
  99. ! ${CC-gcc} -E conftest.c > conftest.out 2>&1
  100.   if egrep yes conftest.out >/dev/null 2>&1; then
  101.     GCC=1 # For later tests.
  102.   fi
  103. ***************
  104. *** 169,179 ****
  105.   
  106.   
  107.   echo checking how to run the C preprocessor
  108.   if test -z "$CPP"; then
  109.     # This must be in double quotes, not single quotes, because CPP may get
  110. !   # substituted into the Makefile and ``${CC-cc}'' will simply confuse
  111.     # make.  It must be expanded now.
  112. !   CPP="${CC-cc} -E"
  113.     cat > conftest.c <<EOF
  114.   #include "confdefs.h"
  115.   #include <stdio.h>
  116. --- 171,182 ----
  117.   
  118.   
  119.   echo checking how to run the C preprocessor
  120. + CPP="/lib/gcc-lib/amigados/2.3.3/cpp"    #HACK
  121.   if test -z "$CPP"; then
  122.     # This must be in double quotes, not single quotes, because CPP may get
  123. !   # substituted into the Makefile and ``${CC-gcc}'' will simply confuse
  124.     # make.  It must be expanded now.
  125. !   CPP="${CC-gcc} -E"
  126.     cat > conftest.c <<EOF
  127.   #include "confdefs.h"
  128.   #include <stdio.h>
  129. ***************
  130. *** 234,239 ****
  131. --- 237,243 ----
  132.   # /usr/ucb/install on SVR4, which tries to use the nonexistent group
  133.   # `staff'.  On most BSDish systems install is in /usr/bin, not /usr/ucb
  134.   # anyway.  Sigh.
  135. + INSTALL=/bin/ginstall    #HACK (fnf)
  136.   if test "z${INSTALL}" = "z" ; then
  137.     echo checking for install
  138.     IFS="${IFS=     }"; saveifs="$IFS"; IFS="${IFS}:"
  139. ***************
  140. *** 404,410 ****
  141.   int main() { exit(0); }
  142.   int t() { int i; }
  143.   EOF
  144. ! if eval $compile; then
  145.     rm -rf conftest*
  146.     
  147.   {
  148. --- 408,414 ----
  149.   int main() { exit(0); }
  150.   int t() { int i; }
  151.   EOF
  152. ! if $compile; then
  153.     rm -rf conftest*
  154.     
  155.   {
  156. ***************
  157. *** 505,511 ****
  158.   int main() { exit(0); }
  159.   int t() { $prog }
  160.   EOF
  161. ! if eval $compile; then
  162.     :
  163.   else
  164.     rm -rf conftest*
  165. --- 509,515 ----
  166.   int main() { exit(0); }
  167.   int t() { $prog }
  168.   EOF
  169. ! if $compile; then
  170.     :
  171.   else
  172.     rm -rf conftest*
  173. ***************
  174. *** 547,553 ****
  175.   /* On Ultrix 4.3 cc, long double is 4 and double is 8.  */
  176.   exit(sizeof(long double) < sizeof(double)); }
  177.   EOF
  178. ! eval $compile
  179.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  180.     
  181.   {
  182. --- 551,557 ----
  183.   /* On Ultrix 4.3 cc, long double is 4 and double is 8.  */
  184.   exit(sizeof(long double) < sizeof(double)); }
  185.   EOF
  186. ! $compile
  187.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  188.     
  189.   {
  190. ***************
  191. *** 571,577 ****
  192.   #include "confdefs.h"
  193.   main() { exit(sizeof(long int) != 8); }
  194.   EOF
  195. ! eval $compile
  196.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  197.     
  198.   {
  199. --- 575,581 ----
  200.   #include "confdefs.h"
  201.   main() { exit(sizeof(long int) != 8); }
  202.   EOF
  203. ! $compile
  204.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  205.     
  206.   {
  207. ***************
  208. *** 618,624 ****
  209.   exit (0); }
  210.   
  211.   EOF
  212. ! eval $compile
  213.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  214.     
  215.   {
  216. --- 622,628 ----
  217.   exit (0); }
  218.   
  219.   EOF
  220. ! $compile
  221.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  222.     
  223.   {
  224. ***************
  225. *** 657,663 ****
  226.     exit (u.c[sizeof (long) - 1] == 1);
  227.   }
  228.   EOF
  229. ! eval $compile
  230.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  231.     :
  232.   else
  233. --- 661,667 ----
  234.     exit (u.c[sizeof (long) - 1] == 1);
  235.   }
  236.   EOF
  237. ! $compile
  238.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  239.     :
  240.   else
  241. ***************
  242. *** 769,775 ****
  243.   #endif
  244.    }
  245.   EOF
  246. ! if eval $compile; then
  247.     :
  248.   else
  249.     rm -rf conftest*
  250. --- 773,779 ----
  251.   #endif
  252.    }
  253.   EOF
  254. ! if $compile; then
  255.     :
  256.   else
  257.     rm -rf conftest*
  258. ***************
  259. *** 791,797 ****
  260.   }
  261.   
  262.   EOF
  263. ! eval $compile
  264.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  265.     
  266.   test -n "$verbose" && echo "    memcmp is 8-bit clean"
  267. --- 795,801 ----
  268.   }
  269.   
  270.   EOF
  271. ! $compile
  272.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  273.     
  274.   test -n "$verbose" && echo "    memcmp is 8-bit clean"
  275. ***************
  276. *** 827,833 ****
  277.   #endif
  278.    }
  279.   EOF
  280. ! if eval $compile; then
  281.     rm -rf conftest*
  282.     {
  283.   test -n "$verbose" && \
  284. --- 831,837 ----
  285.   #endif
  286.    }
  287.   EOF
  288. ! if $compile; then
  289.     rm -rf conftest*
  290.     {
  291.   test -n "$verbose" && \
  292. ***************
  293. *** 852,858 ****
  294.   int main() { exit(0); }
  295.   int t() { vprintf(); }
  296.   EOF
  297. ! if eval $compile; then
  298.     rm -rf conftest*
  299.     
  300.   {
  301. --- 856,862 ----
  302.   int main() { exit(0); }
  303.   int t() { vprintf(); }
  304.   EOF
  305. ! if $compile; then
  306.     rm -rf conftest*
  307.     
  308.   {
  309. ***************
  310. *** 881,887 ****
  311.   int main() { exit(0); }
  312.   int t() { _doprnt(); }
  313.   EOF
  314. ! if eval $compile; then
  315.     rm -rf conftest*
  316.     
  317.   {
  318. --- 885,891 ----
  319.   int main() { exit(0); }
  320.   int t() { _doprnt(); }
  321.   EOF
  322. ! if $compile; then
  323.     rm -rf conftest*
  324.     
  325.   {
  326. ***************
  327. *** 910,916 ****
  328.   int main() { exit(0); }
  329.   int t() { char *p = alloca(2 * sizeof(int)); }
  330.   EOF
  331. ! if eval $compile; then
  332.     rm -rf conftest*
  333.     
  334.   {
  335. --- 914,920 ----
  336.   int main() { exit(0); }
  337.   int t() { char *p = alloca(2 * sizeof(int)); }
  338.   EOF
  339. ! if $compile; then
  340.     rm -rf conftest*
  341.     
  342.   {
  343. ***************
  344. *** 949,955 ****
  345.   int main() { exit(0); }
  346.   int t() { char *p = (char *) alloca(1); }
  347.   EOF
  348. ! if eval $compile; then
  349.     :
  350.   else
  351.     rm -rf conftest*
  352. --- 953,959 ----
  353.   int main() { exit(0); }
  354.   int t() { char *p = (char *) alloca(1); }
  355.   EOF
  356. ! if $compile; then
  357.     :
  358.   else
  359.     rm -rf conftest*
  360. ***************
  361. *** 984,990 ****
  362.   #endif
  363.    }
  364.   EOF
  365. ! if eval $compile; then
  366.     rm -rf conftest*
  367.     {
  368.   test -n "$verbose" && \
  369. --- 988,994 ----
  370.   #endif
  371.    }
  372.   EOF
  373. ! if $compile; then
  374.     rm -rf conftest*
  375.     {
  376.   test -n "$verbose" && \
  377. ***************
  378. *** 1017,1023 ****
  379.   #endif
  380.    }
  381.   EOF
  382. ! if eval $compile; then
  383.     rm -rf conftest*
  384.     {
  385.   test -n "$verbose" && \
  386. --- 1021,1027 ----
  387.   #endif
  388.    }
  389.   EOF
  390. ! if $compile; then
  391.     rm -rf conftest*
  392.     {
  393.   test -n "$verbose" && \
  394. ***************
  395. *** 1050,1056 ****
  396.   #endif
  397.    }
  398.   EOF
  399. ! if eval $compile; then
  400.     rm -rf conftest*
  401.     {
  402.   test -n "$verbose" && \
  403. --- 1054,1060 ----
  404.   #endif
  405.    }
  406.   EOF
  407. ! if $compile; then
  408.     rm -rf conftest*
  409.     {
  410.   test -n "$verbose" && \
  411. ***************
  412. *** 1107,1113 ****
  413.   #include "confdefs.h"
  414.   main(){exit(0);}
  415.   EOF
  416. ! eval $compile
  417.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  418.     :
  419.   else
  420. --- 1111,1117 ----
  421.   #include "confdefs.h"
  422.   main(){exit(0);}
  423.   EOF
  424. ! $compile
  425.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  426.     :
  427.   else
  428. ***************
  429. *** 1149,1155 ****
  430.     exit (find_stack_direction() < 0);
  431.   }
  432.   EOF
  433. ! eval $compile
  434.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  435.     
  436.   {
  437. --- 1153,1159 ----
  438.     exit (find_stack_direction() < 0);
  439.   }
  440.   EOF
  441. ! $compile
  442.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  443.     
  444.   {
  445. ***************
  446. *** 1190,1196 ****
  447.   int main() { exit(0); }
  448.   int t() { struct stat s; s.st_blksize; }
  449.   EOF
  450. ! if eval $compile; then
  451.     rm -rf conftest*
  452.     
  453.   {
  454. --- 1194,1200 ----
  455.   int main() { exit(0); }
  456.   int t() { struct stat s; s.st_blksize; }
  457.   EOF
  458. ! if $compile; then
  459.     rm -rf conftest*
  460.     
  461.   {
  462. ***************
  463. *** 1219,1225 ****
  464.   int main() { exit(0); }
  465.   int t() { DIR *dirp = 0; }
  466.   EOF
  467. ! if eval $compile; then
  468.     rm -rf conftest*
  469.     
  470.   {
  471. --- 1223,1229 ----
  472.   int main() { exit(0); }
  473.   int t() { DIR *dirp = 0; }
  474.   EOF
  475. ! if $compile; then
  476.     rm -rf conftest*
  477.     
  478.   {
  479. ***************
  480. *** 1246,1252 ****
  481.   int main() { exit(0); }
  482.   int t() { DIR *dirp = 0; }
  483.   EOF
  484. ! if eval $compile; then
  485.     rm -rf conftest*
  486.     
  487.   {
  488. --- 1250,1256 ----
  489.   int main() { exit(0); }
  490.   int t() { DIR *dirp = 0; }
  491.   EOF
  492. ! if $compile; then
  493.     rm -rf conftest*
  494.     
  495.   {
  496. ***************
  497. *** 1273,1279 ****
  498.   int main() { exit(0); }
  499.   int t() { DIR *dirp = 0; }
  500.   EOF
  501. ! if eval $compile; then
  502.     rm -rf conftest*
  503.     
  504.   {
  505. --- 1277,1283 ----
  506.   int main() { exit(0); }
  507.   int t() { DIR *dirp = 0; }
  508.   EOF
  509. ! if $compile; then
  510.     rm -rf conftest*
  511.     
  512.   {
  513. ***************
  514. *** 1300,1306 ****
  515.   int main() { exit(0); }
  516.   int t() { DIR *dirp = 0; }
  517.   EOF
  518. ! if eval $compile; then
  519.     rm -rf conftest*
  520.     
  521.   {
  522. --- 1304,1310 ----
  523.   int main() { exit(0); }
  524.   int t() { DIR *dirp = 0; }
  525.   EOF
  526. ! if $compile; then
  527.     rm -rf conftest*
  528.     
  529.   {
  530. ***************
  531. *** 1326,1332 ****
  532.   #include <$dirheader>
  533.   int closedir(); main() { exit(closedir(opendir(".")) != 0); }
  534.   EOF
  535. ! eval $compile
  536.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  537.     :
  538.   else
  539. --- 1330,1336 ----
  540.   #include <$dirheader>
  541.   int closedir(); main() { exit(closedir(opendir(".")) != 0); }
  542.   EOF
  543. ! $compile
  544.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  545.     :
  546.   else
  547. diff -rc textutils-1.9-fsf/man/Makefile.in textutils-1.9-amiga/man/Makefile.in
  548. *** textutils-1.9-fsf/man/Makefile.in    Thu Oct 21 16:32:16 1993
  549. --- textutils-1.9-amiga/man/Makefile.in    Tue Dec 14 09:27:36 1993
  550. ***************
  551. *** 20,26 ****
  552.   srcdir = @srcdir@
  553.   VPATH = @srcdir@
  554.   
  555. ! prefix = /usr/local
  556.   exec_prefix = $(prefix)
  557.   mandir = $(prefix)/man/man1
  558.   manprefix =
  559. --- 20,26 ----
  560.   srcdir = @srcdir@
  561.   VPATH = @srcdir@
  562.   
  563. ! prefix = /usr
  564.   exec_prefix = $(prefix)
  565.   mandir = $(prefix)/man/man1
  566.   manprefix =
  567. diff -rc textutils-1.9-fsf/src/Makefile.in textutils-1.9-amiga/src/Makefile.in
  568. *** textutils-1.9-fsf/src/Makefile.in    Mon Oct 25 15:36:25 1993
  569. --- textutils-1.9-amiga/src/Makefile.in    Tue Dec 14 09:27:46 1993
  570. ***************
  571. *** 20,26 ****
  572.   srcdir = @srcdir@
  573.   VPATH = @srcdir@
  574.   
  575. ! prefix = /usr/local
  576.   exec_prefix = $(prefix)
  577.   bindir = $(exec_prefix)/bin
  578.   binprefix = 
  579. --- 20,26 ----
  580.   srcdir = @srcdir@
  581.   VPATH = @srcdir@
  582.   
  583. ! prefix = /usr
  584.   exec_prefix = $(prefix)
  585.   bindir = $(exec_prefix)/bin
  586.   binprefix = 
  587. diff -rc textutils-1.9-fsf/src/cat.c textutils-1.9-amiga/src/cat.c
  588. *** textutils-1.9-fsf/src/cat.c    Sat Oct 23 04:56:27 1993
  589. --- textutils-1.9-amiga/src/cat.c    Tue Dec 14 10:03:41 1993
  590. ***************
  591. *** 119,125 ****
  592.   }
  593.   
  594.   
  595. - void
  596.   main (argc, argv)
  597.        int argc;
  598.        char *argv[];
  599. --- 119,124 ----
  600. diff -rc textutils-1.9-fsf/src/cksum.c textutils-1.9-amiga/src/cksum.c
  601. *** textutils-1.9-fsf/src/cksum.c    Sat Oct 23 04:56:27 1993
  602. --- textutils-1.9-amiga/src/cksum.c    Tue Dec 14 10:03:59 1993
  603. ***************
  604. *** 94,100 ****
  605.     return rem & 0xFFFFFFFF;    /* Make it run on 64-bit machine.  */
  606.   }
  607.   
  608. - void
  609.   main ()
  610.   {
  611.     int i;
  612. --- 94,99 ----
  613. ***************
  614. *** 292,298 ****
  615.     exit (status);
  616.   }
  617.   
  618. - void
  619.   main (argc, argv)
  620.        int argc;
  621.        char **argv;
  622. --- 291,296 ----
  623. diff -rc textutils-1.9-fsf/src/comm.c textutils-1.9-amiga/src/comm.c
  624. *** textutils-1.9-fsf/src/comm.c    Sat Oct 23 04:56:28 1993
  625. --- textutils-1.9-amiga/src/comm.c    Tue Dec 14 10:04:04 1993
  626. ***************
  627. *** 67,73 ****
  628.   static void writeline ();
  629.   static void usage ();
  630.   
  631. - void
  632.   main (argc, argv)
  633.        int argc;
  634.        char *argv[];
  635. --- 67,72 ----
  636. diff -rc textutils-1.9-fsf/src/csplit.c textutils-1.9-amiga/src/csplit.c
  637. *** textutils-1.9-fsf/src/csplit.c    Fri Oct 29 17:58:19 1993
  638. --- textutils-1.9-amiga/src/csplit.c    Tue Dec 14 10:04:08 1993
  639. ***************
  640. *** 1440,1446 ****
  641.     cleanup ();
  642.   }
  643.   
  644. - void
  645.   main (argc, argv)
  646.        int argc;
  647.        char **argv;
  648. --- 1440,1445 ----
  649. diff -rc textutils-1.9-fsf/src/cut.c textutils-1.9-amiga/src/cut.c
  650. *** textutils-1.9-fsf/src/cut.c    Sun Nov  7 03:51:12 1993
  651. --- textutils-1.9-amiga/src/cut.c    Tue Dec 14 10:04:14 1993
  652. ***************
  653. *** 168,174 ****
  654.     {0, 0, 0, 0}
  655.   };
  656.   
  657. - void
  658.   main (argc, argv)
  659.        int argc;
  660.        char **argv;
  661. --- 168,173 ----
  662. diff -rc textutils-1.9-fsf/src/expand.c textutils-1.9-amiga/src/expand.c
  663. *** textutils-1.9-fsf/src/expand.c    Sun Oct 24 19:42:06 1993
  664. --- textutils-1.9-amiga/src/expand.c    Tue Dec 14 10:04:18 1993
  665. ***************
  666. *** 121,127 ****
  667.     {NULL, 0, NULL, 0}
  668.   };
  669.   
  670. - void
  671.   main (argc, argv)
  672.        int argc;
  673.        char **argv;
  674. --- 121,126 ----
  675. diff -rc textutils-1.9-fsf/src/fold.c textutils-1.9-amiga/src/fold.c
  676. *** textutils-1.9-fsf/src/fold.c    Tue Nov  2 20:46:59 1993
  677. --- textutils-1.9-amiga/src/fold.c    Tue Dec 14 10:04:22 1993
  678. ***************
  679. *** 95,101 ****
  680.     exit (status);
  681.   }
  682.   
  683. - void
  684.   main (argc, argv)
  685.        int argc;
  686.        char **argv;
  687. --- 95,100 ----
  688. diff -rc textutils-1.9-fsf/src/head.c textutils-1.9-amiga/src/head.c
  689. *** textutils-1.9-fsf/src/head.c    Sun Oct 24 19:42:08 1993
  690. --- textutils-1.9-amiga/src/head.c    Tue Dec 14 10:04:28 1993
  691. ***************
  692. *** 105,111 ****
  693.     {NULL, 0, NULL, 0}
  694.   };
  695.   
  696. - void
  697.   main (argc, argv)
  698.        int argc;
  699.        char **argv;
  700. --- 105,110 ----
  701. diff -rc textutils-1.9-fsf/src/join.c textutils-1.9-amiga/src/join.c
  702. *** textutils-1.9-fsf/src/join.c    Sat Oct 30 19:31:11 1993
  703. --- textutils-1.9-amiga/src/join.c    Tue Dec 14 10:04:32 1993
  704. ***************
  705. *** 569,575 ****
  706.     return added;
  707.   }
  708.   
  709. - void
  710.   main (argc, argv)
  711.        int argc;
  712.        char *argv[];
  713. --- 569,574 ----
  714. diff -rc textutils-1.9-fsf/src/nl.c textutils-1.9-amiga/src/nl.c
  715. *** textutils-1.9-fsf/src/nl.c    Sun Oct 24 19:42:09 1993
  716. --- textutils-1.9-amiga/src/nl.c    Tue Dec 14 10:04:40 1993
  717. ***************
  718. *** 184,190 ****
  719.     {NULL, 0, NULL, 0}
  720.   };
  721.   
  722. - void
  723.   main (argc, argv)
  724.        int argc;
  725.        char **argv;
  726. --- 184,189 ----
  727. diff -rc textutils-1.9-fsf/src/od.c textutils-1.9-amiga/src/od.c
  728. *** textutils-1.9-fsf/src/od.c    Thu Oct 28 13:33:42 1993
  729. --- textutils-1.9-amiga/src/od.c    Tue Dec 14 10:04:45 1993
  730. ***************
  731. *** 1684,1690 ****
  732.     return err;
  733.   }
  734.   
  735. - int
  736.   main (argc, argv)
  737.        int argc;
  738.        char **argv;
  739. --- 1684,1689 ----
  740. diff -rc textutils-1.9-fsf/src/paste.c textutils-1.9-amiga/src/paste.c
  741. *** textutils-1.9-fsf/src/paste.c    Sun Oct 24 19:42:13 1993
  742. --- textutils-1.9-amiga/src/paste.c    Tue Dec 14 10:04:52 1993
  743. ***************
  744. *** 104,110 ****
  745.     {0, 0, 0, 0}
  746.   };
  747.   
  748. - void
  749.   main (argc, argv)
  750.        int argc;
  751.        char **argv;
  752. --- 104,109 ----
  753. diff -rc textutils-1.9-fsf/src/pr.c textutils-1.9-amiga/src/pr.c
  754. *** textutils-1.9-fsf/src/pr.c    Sat Oct 23 04:56:39 1993
  755. --- textutils-1.9-amiga/src/pr.c    Tue Dec 14 10:05:00 1993
  756. ***************
  757. *** 467,473 ****
  758.     return n;
  759.   }
  760.   
  761. - void
  762.   main (argc, argv)
  763.        int argc;
  764.        char **argv;
  765. --- 467,472 ----
  766. diff -rc textutils-1.9-fsf/src/sort.c textutils-1.9-amiga/src/sort.c
  767. *** textutils-1.9-fsf/src/sort.c    Mon Oct 25 15:36:27 1993
  768. --- textutils-1.9-amiga/src/sort.c    Tue Dec 14 10:05:10 1993
  769. ***************
  770. *** 1444,1450 ****
  771.     return s;
  772.   }
  773.   
  774. - void
  775.   main (argc, argv)
  776.        int argc;
  777.        char *argv[];
  778. --- 1444,1449 ----
  779. diff -rc textutils-1.9-fsf/src/split.c textutils-1.9-amiga/src/split.c
  780. *** textutils-1.9-fsf/src/split.c    Sun Oct 24 19:42:14 1993
  781. --- textutils-1.9-amiga/src/split.c    Tue Dec 14 10:05:15 1993
  782. ***************
  783. *** 127,133 ****
  784.     exit (status);
  785.   }
  786.   
  787. - void
  788.   main (argc, argv)
  789.        int argc;
  790.        char *argv[];
  791. --- 127,132 ----
  792. diff -rc textutils-1.9-fsf/src/sum.c textutils-1.9-amiga/src/sum.c
  793. *** textutils-1.9-fsf/src/sum.c    Sat Oct 23 04:56:44 1993
  794. --- textutils-1.9-amiga/src/sum.c    Tue Dec 14 10:05:19 1993
  795. ***************
  796. *** 90,96 ****
  797.     exit (status);
  798.   }
  799.   
  800. - void
  801.   main (argc, argv)
  802.        int argc;
  803.        char **argv;
  804. --- 90,95 ----
  805. diff -rc textutils-1.9-fsf/src/tac.c textutils-1.9-amiga/src/tac.c
  806. *** textutils-1.9-fsf/src/tac.c    Sun Oct 24 19:42:16 1993
  807. --- textutils-1.9-amiga/src/tac.c    Tue Dec 14 10:05:23 1993
  808. ***************
  809. *** 156,162 ****
  810.     exit (status);
  811.   }
  812.   
  813. - void
  814.   main (argc, argv)
  815.        int argc;
  816.        char **argv;
  817. --- 156,161 ----
  818. diff -rc textutils-1.9-fsf/src/tail.c textutils-1.9-amiga/src/tail.c
  819. *** textutils-1.9-fsf/src/tail.c    Sun Oct 24 19:42:17 1993
  820. --- textutils-1.9-amiga/src/tail.c    Tue Dec 14 10:05:30 1993
  821. ***************
  822. *** 141,147 ****
  823.     {NULL, 0, NULL, 0}
  824.   };
  825.   
  826. - void
  827.   main (argc, argv)
  828.        int argc;
  829.        char **argv;
  830. --- 141,146 ----
  831. diff -rc textutils-1.9-fsf/src/tr.c textutils-1.9-amiga/src/tr.c
  832. *** textutils-1.9-fsf/src/tr.c    Sun Oct 24 18:57:29 1993
  833. --- textutils-1.9-amiga/src/tr.c    Tue Dec 14 10:05:45 1993
  834. ***************
  835. *** 1702,1708 ****
  836.         in_set[i] = (!in_set[i]);
  837.   }
  838.   
  839. - void
  840.   main (argc, argv)
  841.        int argc;
  842.        char **argv;
  843. --- 1702,1707 ----
  844. diff -rc textutils-1.9-fsf/src/unexpand.c textutils-1.9-amiga/src/unexpand.c
  845. *** textutils-1.9-fsf/src/unexpand.c    Sun Oct 24 19:42:18 1993
  846. --- textutils-1.9-amiga/src/unexpand.c    Tue Dec 14 10:05:49 1993
  847. ***************
  848. *** 123,129 ****
  849.     {NULL, 0, NULL, 0}
  850.   };
  851.   
  852. - void
  853.   main (argc, argv)
  854.        int argc;
  855.        char **argv;
  856. --- 123,128 ----
  857. diff -rc textutils-1.9-fsf/src/uniq.c textutils-1.9-amiga/src/uniq.c
  858. *** textutils-1.9-fsf/src/uniq.c    Sun Oct 24 19:42:19 1993
  859. --- textutils-1.9-amiga/src/uniq.c    Tue Dec 14 10:05:53 1993
  860. ***************
  861. *** 99,105 ****
  862.     {NULL, 0, NULL, 0}
  863.   };
  864.   
  865. - void
  866.   main (argc, argv)
  867.        int argc;
  868.        char *argv[];
  869. --- 99,104 ----
  870. diff -rc textutils-1.9-fsf/src/wc.c textutils-1.9-amiga/src/wc.c
  871. *** textutils-1.9-fsf/src/wc.c    Sat Oct 23 04:56:50 1993
  872. --- textutils-1.9-amiga/src/wc.c    Tue Dec 14 10:05:57 1993
  873. ***************
  874. *** 104,110 ****
  875.     exit (status);
  876.   }
  877.   
  878. - void
  879.   main (argc, argv)
  880.        int argc;
  881.        char **argv;
  882. --- 104,109 ----
  883. ***************
  884. *** 200,211 ****
  885.       }
  886.   }
  887.   
  888.   static void
  889.   wc (fd, file)
  890.        int fd;
  891.        char *file;
  892.   {
  893. -   char buf[BUFFER_SIZE];
  894.     register int bytes_read;
  895.     register int in_word = 0;
  896.     register unsigned long lines, words, chars;
  897. --- 199,211 ----
  898.       }
  899.   }
  900.   
  901. + char buf[BUFFER_SIZE];        /* Move buffer off stack; David Gay */
  902.   static void
  903.   wc (fd, file)
  904.        int fd;
  905.        char *file;
  906.   {
  907.     register int bytes_read;
  908.     register int in_word = 0;
  909.     register unsigned long lines, words, chars;
  910.