home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / gnu / textutils-1.9-src.lha / src / diffs / textutils-1.9.diffs
Encoding:
Text File  |  1994-02-22  |  11.7 KB  |  455 lines

  1. diff -rc textutils-1.9-fsf/INSTALL textutils-1.9-amiga/INSTALL
  2. *** textutils-1.9-fsf/INSTALL    Wed Sep 15 23:05:10 1993
  3. --- textutils-1.9-amiga/INSTALL    Mon Feb 21 23:12:18 1994
  4. ***************
  5. *** 35,42 ****
  6.   where DIR is the directory that contains the source code.
  7.   
  8.      By default, `make install' will install the package's files in
  9. ! `/usr/local/bin', `/usr/local/man', etc.  You can specify an
  10. ! installation prefix other than `/usr/local' by giving `configure' the
  11.   option `--prefix=PATH'.  Alternately, you can do so by consistently
  12.   giving a value for the `prefix' variable when you run `make', e.g.,
  13.        make prefix=/usr/gnu
  14. --- 35,42 ----
  15.   where DIR is the directory that contains the source code.
  16.   
  17.      By default, `make install' will install the package's files in
  18. ! `/gnu/bin', `/gnu/man', etc.  You can specify an
  19. ! installation prefix other than `/gnu' by giving `configure' the
  20.   option `--prefix=PATH'.  Alternately, you can do so by consistently
  21.   giving a value for the `prefix' variable when you run `make', e.g.,
  22.        make prefix=/usr/gnu
  23. diff -rc textutils-1.9-fsf/Makefile.in textutils-1.9-amiga/Makefile.in
  24. *** textutils-1.9-fsf/Makefile.in    Thu Oct 21 17:52:51 1993
  25. --- textutils-1.9-amiga/Makefile.in    Mon Feb 21 23:12:07 1994
  26. ***************
  27. *** 25,31 ****
  28.   srcdir = @srcdir@
  29.   VPATH = @srcdir@
  30.   
  31. ! prefix = /usr/local
  32.   exec_prefix = $(prefix)
  33.   bindir = $(exec_prefix)/bin
  34.   libdir = $(exec_prefix)/lib
  35. --- 25,31 ----
  36.   srcdir = @srcdir@
  37.   VPATH = @srcdir@
  38.   
  39. ! prefix = /gnu
  40.   exec_prefix = $(prefix)
  41.   bindir = $(exec_prefix)/bin
  42.   libdir = $(exec_prefix)/lib
  43. diff -rc textutils-1.9-fsf/configure textutils-1.9-amiga/configure
  44. *** textutils-1.9-fsf/configure    Tue Nov  2 21:02:43 1993
  45. --- textutils-1.9-amiga/configure    Mon Feb 21 23:12:01 1994
  46. ***************
  47. *** 102,108 ****
  48.     srcdirdefaulted=yes
  49.     # Try the directory containing this script, then `..'.
  50.     prog=$0
  51. !   confdir=`echo $prog|sed 's%/[^/][^/]*$%%'`
  52.     test "X$confdir" = "X$prog" && confdir=.
  53.     srcdir=$confdir
  54.     if test ! -r $srcdir/$unique_file; then
  55. --- 102,108 ----
  56.     srcdirdefaulted=yes
  57.     # Try the directory containing this script, then `..'.
  58.     prog=$0
  59. !   confdir=`echo $prog| sed 's|/$||' | sed 's|//|/|' | sed 's|/[^/]*$||'`
  60.     test "X$confdir" = "X$prog" && confdir=.
  61.     srcdir=$confdir
  62.     if test ! -r $srcdir/$unique_file; then
  63. ***************
  64. *** 131,136 ****
  65. --- 131,138 ----
  66.   
  67.   
  68.   # We want these before the checks, so the checks can modify their values.
  69. + CFLAGS="-O2"    #HACK (fnf)
  70. + LDFLAGS=""    #HACK (fnf)
  71.   test -z "$CFLAGS" && CFLAGS=-g auto_cflags=1
  72.   test -z "$LDFLAGS" && LDFLAGS=-g
  73.   
  74. ***************
  75. *** 370,376 ****
  76.   
  77.   echo checking for POSIXized ISC
  78.   if test -d /etc/conf/kconfig.d &&
  79. !   grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
  80.   then
  81.     ISC=1 # If later tests want to check for ISC.
  82.     
  83. --- 372,378 ----
  84.   
  85.   echo checking for POSIXized ISC
  86.   if test -d /etc/conf/kconfig.d &&
  87. !   grep _POSIX_VERSION /gnu/include/sys/unistd.h >/dev/null 2>&1
  88.   then
  89.     ISC=1 # If later tests want to check for ISC.
  90.     
  91. diff -rc textutils-1.9-fsf/man/Makefile.in textutils-1.9-amiga/man/Makefile.in
  92. *** textutils-1.9-fsf/man/Makefile.in    Thu Oct 21 16:32:16 1993
  93. --- textutils-1.9-amiga/man/Makefile.in    Mon Feb 21 23:12:26 1994
  94. ***************
  95. *** 20,26 ****
  96.   srcdir = @srcdir@
  97.   VPATH = @srcdir@
  98.   
  99. ! prefix = /usr/local
  100.   exec_prefix = $(prefix)
  101.   mandir = $(prefix)/man/man1
  102.   manprefix =
  103. --- 20,26 ----
  104.   srcdir = @srcdir@
  105.   VPATH = @srcdir@
  106.   
  107. ! prefix = /gnu
  108.   exec_prefix = $(prefix)
  109.   mandir = $(prefix)/man/man1
  110.   manprefix =
  111. diff -rc textutils-1.9-fsf/src/Makefile.in textutils-1.9-amiga/src/Makefile.in
  112. *** textutils-1.9-fsf/src/Makefile.in    Mon Oct 25 15:36:25 1993
  113. --- textutils-1.9-amiga/src/Makefile.in    Mon Feb 21 23:12:42 1994
  114. ***************
  115. *** 20,26 ****
  116.   srcdir = @srcdir@
  117.   VPATH = @srcdir@
  118.   
  119. ! prefix = /usr/local
  120.   exec_prefix = $(prefix)
  121.   bindir = $(exec_prefix)/bin
  122.   binprefix = 
  123. --- 20,26 ----
  124.   srcdir = @srcdir@
  125.   VPATH = @srcdir@
  126.   
  127. ! prefix = /gnu
  128.   exec_prefix = $(prefix)
  129.   bindir = $(exec_prefix)/bin
  130.   binprefix = 
  131. diff -rc textutils-1.9-fsf/src/cat.c textutils-1.9-amiga/src/cat.c
  132. *** textutils-1.9-fsf/src/cat.c    Sat Oct 23 04:56:27 1993
  133. --- textutils-1.9-amiga/src/cat.c    Mon Feb 21 23:08:09 1994
  134. ***************
  135. *** 119,125 ****
  136.   }
  137.   
  138.   
  139. - void
  140.   main (argc, argv)
  141.        int argc;
  142.        char *argv[];
  143. --- 119,124 ----
  144. diff -rc textutils-1.9-fsf/src/cksum.c textutils-1.9-amiga/src/cksum.c
  145. *** textutils-1.9-fsf/src/cksum.c    Sat Oct 23 04:56:27 1993
  146. --- textutils-1.9-amiga/src/cksum.c    Mon Feb 21 23:08:10 1994
  147. ***************
  148. *** 94,100 ****
  149.     return rem & 0xFFFFFFFF;    /* Make it run on 64-bit machine.  */
  150.   }
  151.   
  152. - void
  153.   main ()
  154.   {
  155.     int i;
  156. --- 94,99 ----
  157. ***************
  158. *** 292,298 ****
  159.     exit (status);
  160.   }
  161.   
  162. - void
  163.   main (argc, argv)
  164.        int argc;
  165.        char **argv;
  166. --- 291,296 ----
  167. diff -rc textutils-1.9-fsf/src/comm.c textutils-1.9-amiga/src/comm.c
  168. *** textutils-1.9-fsf/src/comm.c    Sat Oct 23 04:56:28 1993
  169. --- textutils-1.9-amiga/src/comm.c    Mon Feb 21 23:08:11 1994
  170. ***************
  171. *** 67,73 ****
  172.   static void writeline ();
  173.   static void usage ();
  174.   
  175. - void
  176.   main (argc, argv)
  177.        int argc;
  178.        char *argv[];
  179. --- 67,72 ----
  180. diff -rc textutils-1.9-fsf/src/csplit.c textutils-1.9-amiga/src/csplit.c
  181. *** textutils-1.9-fsf/src/csplit.c    Fri Oct 29 17:58:19 1993
  182. --- textutils-1.9-amiga/src/csplit.c    Mon Feb 21 23:08:12 1994
  183. ***************
  184. *** 1440,1446 ****
  185.     cleanup ();
  186.   }
  187.   
  188. - void
  189.   main (argc, argv)
  190.        int argc;
  191.        char **argv;
  192. --- 1440,1445 ----
  193. diff -rc textutils-1.9-fsf/src/cut.c textutils-1.9-amiga/src/cut.c
  194. *** textutils-1.9-fsf/src/cut.c    Sun Nov  7 03:51:12 1993
  195. --- textutils-1.9-amiga/src/cut.c    Mon Feb 21 23:08:13 1994
  196. ***************
  197. *** 168,174 ****
  198.     {0, 0, 0, 0}
  199.   };
  200.   
  201. - void
  202.   main (argc, argv)
  203.        int argc;
  204.        char **argv;
  205. --- 168,173 ----
  206. diff -rc textutils-1.9-fsf/src/expand.c textutils-1.9-amiga/src/expand.c
  207. *** textutils-1.9-fsf/src/expand.c    Sun Oct 24 19:42:06 1993
  208. --- textutils-1.9-amiga/src/expand.c    Mon Feb 21 23:08:14 1994
  209. ***************
  210. *** 121,127 ****
  211.     {NULL, 0, NULL, 0}
  212.   };
  213.   
  214. - void
  215.   main (argc, argv)
  216.        int argc;
  217.        char **argv;
  218. --- 121,126 ----
  219. diff -rc textutils-1.9-fsf/src/fold.c textutils-1.9-amiga/src/fold.c
  220. *** textutils-1.9-fsf/src/fold.c    Tue Nov  2 20:46:59 1993
  221. --- textutils-1.9-amiga/src/fold.c    Mon Feb 21 23:08:14 1994
  222. ***************
  223. *** 95,101 ****
  224.     exit (status);
  225.   }
  226.   
  227. - void
  228.   main (argc, argv)
  229.        int argc;
  230.        char **argv;
  231. --- 95,100 ----
  232. diff -rc textutils-1.9-fsf/src/head.c textutils-1.9-amiga/src/head.c
  233. *** textutils-1.9-fsf/src/head.c    Sun Oct 24 19:42:08 1993
  234. --- textutils-1.9-amiga/src/head.c    Mon Feb 21 23:08:15 1994
  235. ***************
  236. *** 105,111 ****
  237.     {NULL, 0, NULL, 0}
  238.   };
  239.   
  240. - void
  241.   main (argc, argv)
  242.        int argc;
  243.        char **argv;
  244. --- 105,110 ----
  245. diff -rc textutils-1.9-fsf/src/join.c textutils-1.9-amiga/src/join.c
  246. *** textutils-1.9-fsf/src/join.c    Sat Oct 30 19:31:11 1993
  247. --- textutils-1.9-amiga/src/join.c    Mon Feb 21 23:08:16 1994
  248. ***************
  249. *** 569,575 ****
  250.     return added;
  251.   }
  252.   
  253. - void
  254.   main (argc, argv)
  255.        int argc;
  256.        char *argv[];
  257. --- 569,574 ----
  258. diff -rc textutils-1.9-fsf/src/nl.c textutils-1.9-amiga/src/nl.c
  259. *** textutils-1.9-fsf/src/nl.c    Sun Oct 24 19:42:09 1993
  260. --- textutils-1.9-amiga/src/nl.c    Mon Feb 21 23:08:17 1994
  261. ***************
  262. *** 184,190 ****
  263.     {NULL, 0, NULL, 0}
  264.   };
  265.   
  266. - void
  267.   main (argc, argv)
  268.        int argc;
  269.        char **argv;
  270. --- 184,189 ----
  271. diff -rc textutils-1.9-fsf/src/od.c textutils-1.9-amiga/src/od.c
  272. *** textutils-1.9-fsf/src/od.c    Thu Oct 28 13:33:42 1993
  273. --- textutils-1.9-amiga/src/od.c    Mon Feb 21 23:08:18 1994
  274. ***************
  275. *** 1684,1690 ****
  276.     return err;
  277.   }
  278.   
  279. - int
  280.   main (argc, argv)
  281.        int argc;
  282.        char **argv;
  283. --- 1684,1689 ----
  284. diff -rc textutils-1.9-fsf/src/paste.c textutils-1.9-amiga/src/paste.c
  285. *** textutils-1.9-fsf/src/paste.c    Sun Oct 24 19:42:13 1993
  286. --- textutils-1.9-amiga/src/paste.c    Mon Feb 21 23:08:19 1994
  287. ***************
  288. *** 104,110 ****
  289.     {0, 0, 0, 0}
  290.   };
  291.   
  292. - void
  293.   main (argc, argv)
  294.        int argc;
  295.        char **argv;
  296. --- 104,109 ----
  297. diff -rc textutils-1.9-fsf/src/pr.c textutils-1.9-amiga/src/pr.c
  298. *** textutils-1.9-fsf/src/pr.c    Sat Oct 23 04:56:39 1993
  299. --- textutils-1.9-amiga/src/pr.c    Mon Feb 21 23:08:20 1994
  300. ***************
  301. *** 467,473 ****
  302.     return n;
  303.   }
  304.   
  305. - void
  306.   main (argc, argv)
  307.        int argc;
  308.        char **argv;
  309. --- 467,472 ----
  310. diff -rc textutils-1.9-fsf/src/sort.c textutils-1.9-amiga/src/sort.c
  311. *** textutils-1.9-fsf/src/sort.c    Mon Oct 25 15:36:27 1993
  312. --- textutils-1.9-amiga/src/sort.c    Mon Feb 21 23:08:22 1994
  313. ***************
  314. *** 1444,1450 ****
  315.     return s;
  316.   }
  317.   
  318. - void
  319.   main (argc, argv)
  320.        int argc;
  321.        char *argv[];
  322. --- 1444,1449 ----
  323. diff -rc textutils-1.9-fsf/src/split.c textutils-1.9-amiga/src/split.c
  324. *** textutils-1.9-fsf/src/split.c    Sun Oct 24 19:42:14 1993
  325. --- textutils-1.9-amiga/src/split.c    Mon Feb 21 23:08:23 1994
  326. ***************
  327. *** 127,133 ****
  328.     exit (status);
  329.   }
  330.   
  331. - void
  332.   main (argc, argv)
  333.        int argc;
  334.        char *argv[];
  335. --- 127,132 ----
  336. diff -rc textutils-1.9-fsf/src/sum.c textutils-1.9-amiga/src/sum.c
  337. *** textutils-1.9-fsf/src/sum.c    Sat Oct 23 04:56:44 1993
  338. --- textutils-1.9-amiga/src/sum.c    Mon Feb 21 23:08:23 1994
  339. ***************
  340. *** 90,96 ****
  341.     exit (status);
  342.   }
  343.   
  344. - void
  345.   main (argc, argv)
  346.        int argc;
  347.        char **argv;
  348. --- 90,95 ----
  349. diff -rc textutils-1.9-fsf/src/tac.c textutils-1.9-amiga/src/tac.c
  350. *** textutils-1.9-fsf/src/tac.c    Sun Oct 24 19:42:16 1993
  351. --- textutils-1.9-amiga/src/tac.c    Mon Feb 21 23:08:24 1994
  352. ***************
  353. *** 156,162 ****
  354.     exit (status);
  355.   }
  356.   
  357. - void
  358.   main (argc, argv)
  359.        int argc;
  360.        char **argv;
  361. --- 156,161 ----
  362. diff -rc textutils-1.9-fsf/src/tail.c textutils-1.9-amiga/src/tail.c
  363. *** textutils-1.9-fsf/src/tail.c    Sun Oct 24 19:42:17 1993
  364. --- textutils-1.9-amiga/src/tail.c    Mon Feb 21 23:08:25 1994
  365. ***************
  366. *** 141,147 ****
  367.     {NULL, 0, NULL, 0}
  368.   };
  369.   
  370. - void
  371.   main (argc, argv)
  372.        int argc;
  373.        char **argv;
  374. --- 141,146 ----
  375. diff -rc textutils-1.9-fsf/src/tr.c textutils-1.9-amiga/src/tr.c
  376. *** textutils-1.9-fsf/src/tr.c    Sun Oct 24 18:57:29 1993
  377. --- textutils-1.9-amiga/src/tr.c    Mon Feb 21 23:08:27 1994
  378. ***************
  379. *** 1702,1708 ****
  380.         in_set[i] = (!in_set[i]);
  381.   }
  382.   
  383. - void
  384.   main (argc, argv)
  385.        int argc;
  386.        char **argv;
  387. --- 1702,1707 ----
  388. diff -rc textutils-1.9-fsf/src/unexpand.c textutils-1.9-amiga/src/unexpand.c
  389. *** textutils-1.9-fsf/src/unexpand.c    Sun Oct 24 19:42:18 1993
  390. --- textutils-1.9-amiga/src/unexpand.c    Mon Feb 21 23:08:28 1994
  391. ***************
  392. *** 123,129 ****
  393.     {NULL, 0, NULL, 0}
  394.   };
  395.   
  396. - void
  397.   main (argc, argv)
  398.        int argc;
  399.        char **argv;
  400. --- 123,128 ----
  401. diff -rc textutils-1.9-fsf/src/uniq.c textutils-1.9-amiga/src/uniq.c
  402. *** textutils-1.9-fsf/src/uniq.c    Sun Oct 24 19:42:19 1993
  403. --- textutils-1.9-amiga/src/uniq.c    Mon Feb 21 23:08:29 1994
  404. ***************
  405. *** 99,105 ****
  406.     {NULL, 0, NULL, 0}
  407.   };
  408.   
  409. - void
  410.   main (argc, argv)
  411.        int argc;
  412.        char *argv[];
  413. --- 99,104 ----
  414. diff -rc textutils-1.9-fsf/src/wc.c textutils-1.9-amiga/src/wc.c
  415. *** textutils-1.9-fsf/src/wc.c    Sat Oct 23 04:56:50 1993
  416. --- textutils-1.9-amiga/src/wc.c    Mon Feb 21 23:08:29 1994
  417. ***************
  418. *** 104,110 ****
  419.     exit (status);
  420.   }
  421.   
  422. - void
  423.   main (argc, argv)
  424.        int argc;
  425.        char **argv;
  426. --- 104,109 ----
  427. ***************
  428. *** 200,211 ****
  429.       }
  430.   }
  431.   
  432.   static void
  433.   wc (fd, file)
  434.        int fd;
  435.        char *file;
  436.   {
  437. -   char buf[BUFFER_SIZE];
  438.     register int bytes_read;
  439.     register int in_word = 0;
  440.     register unsigned long lines, words, chars;
  441. --- 199,211 ----
  442.       }
  443.   }
  444.   
  445. + char buf[BUFFER_SIZE];        /* Move buffer off stack; David Gay */
  446.   static void
  447.   wc (fd, file)
  448.        int fd;
  449.        char *file;
  450.   {
  451.     register int bytes_read;
  452.     register int in_word = 0;
  453.     register unsigned long lines, words, chars;
  454.