home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 2 / FFMCD02.bin / useful / dist / gnu / fileutils / fileutils-3.9.diffs next >
Encoding:
Text File  |  1993-12-13  |  24.5 KB  |  1,158 lines

  1. diff -rc --new-file fileutils-3.9-fsf/Makefile.in fileutils-3.9-amiga/Makefile.in
  2. *** fileutils-3.9-fsf/Makefile.in    Tue Oct 12 04:02:44 1993
  3. --- fileutils-3.9-amiga/Makefile.in    Mon Dec 13 11:09:14 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. ***************
  22. *** 38,44 ****
  23.   NEWS configure configure.in config.h.in acconfig.h mkinstalldirs
  24.   
  25.   # Redundant stuff for making only selected programs.
  26. ! PROGS = chgrp chmod chown cp dd dir du ginstall ln ls \
  27.   mkdir mkfifo mknod mv rm rmdir touch vdir @PROGS@
  28.   
  29.   # Subdirectories to run make in for the primary targets.
  30. --- 38,44 ----
  31.   NEWS configure configure.in config.h.in acconfig.h mkinstalldirs
  32.   
  33.   # Redundant stuff for making only selected programs.
  34. ! PROGS = chgrp chmod chown cp dd gdir du ginstall ln ls \
  35.   mkdir mkfifo mknod mv rm rmdir touch vdir @PROGS@
  36.   
  37.   # Subdirectories to run make in for the primary targets.
  38. diff -rc --new-file fileutils-3.9-fsf/configure fileutils-3.9-amiga/configure
  39. *** fileutils-3.9-fsf/configure    Wed Oct 13 21:55:55 1993
  40. --- fileutils-3.9-amiga/configure    Mon Dec 13 12:26:45 1993
  41. ***************
  42. *** 69,75 ****
  43.            *=*) val="`echo $arg|sed 's/[^=]*=//'`" ;;
  44.            *) val=1 ;;
  45.          esac
  46. !        eval "with_$package='$val'" ;;
  47.   
  48.        -v | -verbose | --verbose | --verbos | --verbo | --verb | --ver | --ve | --v)
  49.          verbose=yes ;;
  50. --- 69,75 ----
  51.            *=*) val="`echo $arg|sed 's/[^=]*=//'`" ;;
  52.            *) val=1 ;;
  53.          esac
  54. !        "with_$package='$val'" ;;
  55.   
  56.        -v | -verbose | --verbose | --verbos | --verbo | --verb | --ver | --ve | --v)
  57.          verbose=yes ;;
  58. ***************
  59. *** 90,96 ****
  60.   
  61.   rm -f conftest* confdefs.h
  62.   > confdefs.h
  63. ! compile='${CC-cc} $CFLAGS conftest.c -o conftest $LIBS >/dev/null 2>&1'
  64.   
  65.   # A filename unique to this package, relative to the directory that
  66.   # configure is in, which we can look for to find out if srcdir is correct.
  67. --- 90,96 ----
  68.   
  69.   rm -f conftest* confdefs.h
  70.   > confdefs.h
  71. ! compile="${CC-gcc} $CFLAGS conftest.c -o conftest $LIBS"
  72.   
  73.   # A filename unique to this package, relative to the directory that
  74.   # configure is in, which we can look for to find out if srcdir is correct.
  75. ***************
  76. *** 108,113 ****
  77. --- 108,114 ----
  78.       srcdir=..
  79.     fi
  80.   fi
  81. + srcdir=../fileutils-3.9-amiga    #HACK
  82.   if test ! -r $srcdir/$unique_file; then
  83.     if test x$srcdirdefaulted = xyes; then
  84.       echo "configure: Can not find sources in \`${confdir}' or \`..'." 1>&2
  85. ***************
  86. *** 156,162 ****
  87.     yes
  88.   #endif
  89.   EOF
  90. ! ${CC-cc} -E conftest.c > conftest.out 2>&1
  91.   if egrep yes conftest.out >/dev/null 2>&1; then
  92.     GCC=1 # For later tests.
  93.   fi
  94. --- 157,163 ----
  95.     yes
  96.   #endif
  97.   EOF
  98. ! ${CC-gcc} -E conftest.c > conftest.out 2>&1
  99.   if egrep yes conftest.out >/dev/null 2>&1; then
  100.     GCC=1 # For later tests.
  101.   fi
  102. ***************
  103. *** 168,178 ****
  104.   
  105.   
  106.   echo checking how to run the C preprocessor
  107.   if test -z "$CPP"; then
  108.     # This must be in double quotes, not single quotes, because CPP may get
  109. !   # substituted into the Makefile and ``${CC-cc}'' will simply confuse
  110.     # make.  It must be expanded now.
  111. !   CPP="${CC-cc} -E"
  112.     cat > conftest.c <<EOF
  113.   #include "confdefs.h"
  114.   #include <stdio.h>
  115. --- 169,180 ----
  116.   
  117.   
  118.   echo checking how to run the C preprocessor
  119. + CPP="/lib/gcc-lib/amigados/2.3.3/cpp"    #HACK
  120.   if test -z "$CPP"; then
  121.     # This must be in double quotes, not single quotes, because CPP may get
  122. !   # substituted into the Makefile and ``${CC-gcc}'' will simply confuse
  123.     # make.  It must be expanded now.
  124. !   CPP="${CC-gcc} -E"
  125.     cat > conftest.c <<EOF
  126.   #include "confdefs.h"
  127.   #include <stdio.h>
  128. ***************
  129. *** 378,384 ****
  130.   int main() { exit(0); }
  131.   int t() { return makedev(0, 0); }
  132.   EOF
  133. ! if eval $compile; then
  134.     rm -rf conftest*
  135.     makedev=1
  136.   
  137. --- 380,386 ----
  138.   int main() { exit(0); }
  139.   int t() { return makedev(0, 0); }
  140.   EOF
  141. ! if $compile; then
  142.     rm -rf conftest*
  143.     makedev=1
  144.   
  145. ***************
  146. *** 449,455 ****
  147.   int main() { exit(0); }
  148.   int t() { DIR *dirp = 0; }
  149.   EOF
  150. ! if eval $compile; then
  151.     rm -rf conftest*
  152.     
  153.   {
  154. --- 451,457 ----
  155.   int main() { exit(0); }
  156.   int t() { DIR *dirp = 0; }
  157.   EOF
  158. ! if $compile; then
  159.     rm -rf conftest*
  160.     
  161.   {
  162. ***************
  163. *** 476,482 ****
  164.   int main() { exit(0); }
  165.   int t() { DIR *dirp = 0; }
  166.   EOF
  167. ! if eval $compile; then
  168.     rm -rf conftest*
  169.     
  170.   {
  171. --- 478,484 ----
  172.   int main() { exit(0); }
  173.   int t() { DIR *dirp = 0; }
  174.   EOF
  175. ! if $compile; then
  176.     rm -rf conftest*
  177.     
  178.   {
  179. ***************
  180. *** 503,509 ****
  181.   int main() { exit(0); }
  182.   int t() { DIR *dirp = 0; }
  183.   EOF
  184. ! if eval $compile; then
  185.     rm -rf conftest*
  186.     
  187.   {
  188. --- 505,511 ----
  189.   int main() { exit(0); }
  190.   int t() { DIR *dirp = 0; }
  191.   EOF
  192. ! if $compile; then
  193.     rm -rf conftest*
  194.     
  195.   {
  196. ***************
  197. *** 530,536 ****
  198.   int main() { exit(0); }
  199.   int t() { DIR *dirp = 0; }
  200.   EOF
  201. ! if eval $compile; then
  202.     rm -rf conftest*
  203.     
  204.   {
  205. --- 532,538 ----
  206.   int main() { exit(0); }
  207.   int t() { DIR *dirp = 0; }
  208.   EOF
  209. ! if $compile; then
  210.     rm -rf conftest*
  211.     
  212.   {
  213. ***************
  214. *** 556,562 ****
  215.   #include <$dirheader>
  216.   int closedir(); main() { exit(closedir(opendir(".")) != 0); }
  217.   EOF
  218. ! eval $compile
  219.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  220.     :
  221.   else
  222. --- 558,564 ----
  223.   #include <$dirheader>
  224.   int closedir(); main() { exit(closedir(opendir(".")) != 0); }
  225.   EOF
  226. ! $compile
  227.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  228.     :
  229.   else
  230. ***************
  231. *** 588,594 ****
  232.   int main() { exit(0); }
  233.   int t() { int i; }
  234.   EOF
  235. ! if eval $compile; then
  236.     rm -rf conftest*
  237.     
  238.   {
  239. --- 590,596 ----
  240.   int main() { exit(0); }
  241.   int t() { int i; }
  242.   EOF
  243. ! if $compile; then
  244.     rm -rf conftest*
  245.     
  246.   {
  247. ***************
  248. *** 636,642 ****
  249.   int t() { struct statfs *stats;
  250.   numsys = getfsstat ((struct statfs *)0, 0L, MNT_WAIT);  }
  251.   EOF
  252. ! if eval $compile; then
  253.     rm -rf conftest*
  254.     
  255.   {
  256. --- 638,644 ----
  257.   int t() { struct statfs *stats;
  258.   numsys = getfsstat ((struct statfs *)0, 0L, MNT_WAIT);  }
  259.   EOF
  260. ! if $compile; then
  261.     rm -rf conftest*
  262.     
  263.   {
  264. ***************
  265. *** 847,853 ****
  266.   exit (statfs (".", &fsd, sizeof (struct statfs)));
  267.   }
  268.   EOF
  269. ! eval $compile
  270.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  271.     rm -rf conftest*
  272.     
  273. --- 849,855 ----
  274.   exit (statfs (".", &fsd, sizeof (struct statfs)));
  275.   }
  276.   EOF
  277. ! $compile
  278.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  279.     rm -rf conftest*
  280.     
  281. ***************
  282. *** 970,976 ****
  283.   echo '#include "confdefs.h"
  284.   #include <sys/mount.h>' > conftest.c
  285.   eval "$CPP conftest.c > conftest.out 2>&1"
  286. ! if egrep "MOUNT_UFS" conftest.out >/dev/null 2>&1; then
  287.     rm -rf conftest*
  288.     
  289.   {
  290. --- 972,978 ----
  291.   echo '#include "confdefs.h"
  292.   #include <sys/mount.h>' > conftest.c
  293.   eval "$CPP conftest.c > conftest.out 2>&1"
  294. ! if egrep "f_fsize" conftest.out >/dev/null 2>&1; then
  295.     rm -rf conftest*
  296.     
  297.   {
  298. ***************
  299. *** 1102,1108 ****
  300.   #include "confdefs.h"
  301.   $prog
  302.   EOF
  303. ! eval $compile
  304.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  305.     rm -rf conftest*
  306.     
  307. --- 1104,1110 ----
  308.   #include "confdefs.h"
  309.   $prog
  310.   EOF
  311. ! $compile
  312.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  313.     rm -rf conftest*
  314.     
  315. ***************
  316. *** 1140,1146 ****
  317.   #include "confdefs.h"
  318.   main() { exit(sizeof(int) != 2); }
  319.   EOF
  320. ! eval $compile
  321.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  322.     rm -rf conftest*
  323.     
  324. --- 1142,1148 ----
  325.   #include "confdefs.h"
  326.   main() { exit(sizeof(int) != 2); }
  327.   EOF
  328. ! $compile
  329.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  330.     rm -rf conftest*
  331.     
  332. ***************
  333. *** 1201,1207 ****
  334.   int main() { exit(0); }
  335.   int t() { $prog }
  336.   EOF
  337. ! if eval $compile; then
  338.     :
  339.   else
  340.     rm -rf conftest*
  341. --- 1203,1209 ----
  342.   int main() { exit(0); }
  343.   int t() { $prog }
  344.   EOF
  345. ! if $compile; then
  346.     :
  347.   else
  348.     rm -rf conftest*
  349. ***************
  350. *** 1249,1255 ****
  351.   exit (0); }
  352.   
  353.   EOF
  354. ! eval $compile
  355.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  356.     rm -rf conftest*
  357.     
  358. --- 1251,1257 ----
  359.   exit (0); }
  360.   
  361.   EOF
  362. ! $compile
  363.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  364.     rm -rf conftest*
  365.     
  366. ***************
  367. *** 1283,1289 ****
  368.   int main() { exit(0); }
  369.   int t() { struct tm *tp; tp->tm_sec; }
  370.   EOF
  371. ! if eval $compile; then
  372.     :
  373.   else
  374.     rm -rf conftest*
  375. --- 1285,1291 ----
  376.   int main() { exit(0); }
  377.   int t() { struct tm *tp; tp->tm_sec; }
  378.   EOF
  379. ! if $compile; then
  380.     :
  381.   else
  382.     rm -rf conftest*
  383. ***************
  384. *** 1311,1317 ****
  385.   int main() { exit(0); }
  386.   int t() { struct tm *tp; }
  387.   EOF
  388. ! if eval $compile; then
  389.     rm -rf conftest*
  390.     
  391.   {
  392. --- 1313,1319 ----
  393.   int main() { exit(0); }
  394.   int t() { struct tm *tp; }
  395.   EOF
  396. ! if $compile; then
  397.     rm -rf conftest*
  398.     
  399.   {
  400. ***************
  401. *** 1422,1428 ****
  402.   #endif
  403.    }
  404.   EOF
  405. ! if eval $compile; then
  406.     :
  407.   else
  408.     rm -rf conftest*
  409. --- 1424,1430 ----
  410.   #endif
  411.    }
  412.   EOF
  413. ! if $compile; then
  414.     :
  415.   else
  416.     rm -rf conftest*
  417. ***************
  418. *** 1453,1459 ****
  419.   #endif
  420.    }
  421.   EOF
  422. ! if eval $compile; then
  423.     rm -rf conftest*
  424.     {
  425.   test -n "$verbose" && \
  426. --- 1455,1461 ----
  427.   #endif
  428.    }
  429.   EOF
  430. ! if $compile; then
  431.     rm -rf conftest*
  432.     {
  433.   test -n "$verbose" && \
  434. ***************
  435. *** 1478,1484 ****
  436.   int main() { exit(0); }
  437.   int t() { ftruncate(); }
  438.   EOF
  439. ! if eval $compile; then
  440.     rm -rf conftest*
  441.     
  442.   {
  443. --- 1480,1486 ----
  444.   int main() { exit(0); }
  445.   int t() { ftruncate(); }
  446.   EOF
  447. ! if $compile; then
  448.     rm -rf conftest*
  449.     
  450.   {
  451. ***************
  452. *** 1512,1518 ****
  453.   #endif
  454.    }
  455.   EOF
  456. ! if eval $compile; then
  457.     rm -rf conftest*
  458.     
  459.   {
  460. --- 1514,1520 ----
  461.   #endif
  462.    }
  463.   EOF
  464. ! if $compile; then
  465.     rm -rf conftest*
  466.     
  467.   {
  468. ***************
  469. *** 1545,1551 ****
  470.   int main() { exit(0); }
  471.   int t() { vprintf(); }
  472.   EOF
  473. ! if eval $compile; then
  474.     rm -rf conftest*
  475.     
  476.   {
  477. --- 1547,1553 ----
  478.   int main() { exit(0); }
  479.   int t() { vprintf(); }
  480.   EOF
  481. ! if $compile; then
  482.     rm -rf conftest*
  483.     
  484.   {
  485. ***************
  486. *** 1574,1580 ****
  487.   int main() { exit(0); }
  488.   int t() { _doprnt(); }
  489.   EOF
  490. ! if eval $compile; then
  491.     rm -rf conftest*
  492.     
  493.   {
  494. --- 1576,1582 ----
  495.   int main() { exit(0); }
  496.   int t() { _doprnt(); }
  497.   EOF
  498. ! if $compile; then
  499.     rm -rf conftest*
  500.     
  501.   {
  502. ***************
  503. *** 1603,1609 ****
  504.   int main() { exit(0); }
  505.   int t() { char *p = alloca(2 * sizeof(int)); }
  506.   EOF
  507. ! if eval $compile; then
  508.     rm -rf conftest*
  509.     
  510.   {
  511. --- 1605,1611 ----
  512.   int main() { exit(0); }
  513.   int t() { char *p = alloca(2 * sizeof(int)); }
  514.   EOF
  515. ! if $compile; then
  516.     rm -rf conftest*
  517.     
  518.   {
  519. ***************
  520. *** 1642,1648 ****
  521.   int main() { exit(0); }
  522.   int t() { char *p = (char *) alloca(1); }
  523.   EOF
  524. ! if eval $compile; then
  525.     :
  526.   else
  527.     rm -rf conftest*
  528. --- 1644,1650 ----
  529.   int main() { exit(0); }
  530.   int t() { char *p = (char *) alloca(1); }
  531.   EOF
  532. ! if $compile; then
  533.     :
  534.   else
  535.     rm -rf conftest*
  536. ***************
  537. *** 1677,1683 ****
  538.   #endif
  539.    }
  540.   EOF
  541. ! if eval $compile; then
  542.     rm -rf conftest*
  543.     {
  544.   test -n "$verbose" && \
  545. --- 1679,1685 ----
  546.   #endif
  547.    }
  548.   EOF
  549. ! if $compile; then
  550.     rm -rf conftest*
  551.     {
  552.   test -n "$verbose" && \
  553. ***************
  554. *** 1710,1716 ****
  555.   #endif
  556.    }
  557.   EOF
  558. ! if eval $compile; then
  559.     rm -rf conftest*
  560.     {
  561.   test -n "$verbose" && \
  562. --- 1712,1718 ----
  563.   #endif
  564.    }
  565.   EOF
  566. ! if $compile; then
  567.     rm -rf conftest*
  568.     {
  569.   test -n "$verbose" && \
  570. ***************
  571. *** 1743,1749 ****
  572.   #endif
  573.    }
  574.   EOF
  575. ! if eval $compile; then
  576.     rm -rf conftest*
  577.     {
  578.   test -n "$verbose" && \
  579. --- 1745,1751 ----
  580.   #endif
  581.    }
  582.   EOF
  583. ! if $compile; then
  584.     rm -rf conftest*
  585.     {
  586.   test -n "$verbose" && \
  587. ***************
  588. *** 1800,1806 ****
  589.   #include "confdefs.h"
  590.   main(){exit(0);}
  591.   EOF
  592. ! eval $compile
  593.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  594.     :
  595.   else
  596. --- 1802,1808 ----
  597.   #include "confdefs.h"
  598.   main(){exit(0);}
  599.   EOF
  600. ! $compile
  601.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  602.     :
  603.   else
  604. ***************
  605. *** 1843,1849 ****
  606.     exit (find_stack_direction() < 0);
  607.   }
  608.   EOF
  609. ! eval $compile
  610.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  611.     rm -rf conftest*
  612.     
  613. --- 1845,1851 ----
  614.     exit (find_stack_direction() < 0);
  615.   }
  616.   EOF
  617. ! $compile
  618.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  619.     rm -rf conftest*
  620.     
  621. ***************
  622. *** 1886,1892 ****
  623.   int main() { exit(0); }
  624.   int t() { struct stat s; s.st_blocks; }
  625.   EOF
  626. ! if eval $compile; then
  627.     rm -rf conftest*
  628.     
  629.   {
  630. --- 1888,1894 ----
  631.   int main() { exit(0); }
  632.   int t() { struct stat s; s.st_blocks; }
  633.   EOF
  634. ! if $compile; then
  635.     rm -rf conftest*
  636.     
  637.   {
  638. ***************
  639. *** 1921,1927 ****
  640.   && t.st_mtime - s.st_mtime < 120));
  641.   }
  642.   EOF
  643. ! eval $compile
  644.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  645.     rm -rf conftest*
  646.     
  647. --- 1923,1929 ----
  648.   && t.st_mtime - s.st_mtime < 120));
  649.   }
  650.   EOF
  651. ! $compile
  652.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  653.     rm -rf conftest*
  654.     
  655. ***************
  656. *** 1975,1981 ****
  657.   int main() { exit(0); }
  658.   int t() { main(); }
  659.   EOF
  660. ! if eval $compile; then
  661.     rm -rf conftest*
  662.     have_lib="1"
  663.   
  664. --- 1977,1983 ----
  665.   int main() { exit(0); }
  666.   int t() { main(); }
  667.   EOF
  668. ! if $compile; then
  669.     rm -rf conftest*
  670.     have_lib="1"
  671.   
  672. ***************
  673. *** 1999,2005 ****
  674.   int main() { exit(0); }
  675.   int t() { main(); }
  676.   EOF
  677. ! if eval $compile; then
  678.     rm -rf conftest*
  679.     have_lib="1"
  680.   
  681. --- 2001,2007 ----
  682.   int main() { exit(0); }
  683.   int t() { main(); }
  684.   EOF
  685. ! if $compile; then
  686.     rm -rf conftest*
  687.     have_lib="1"
  688.   
  689. ***************
  690. *** 2024,2030 ****
  691.   int main() { exit(0); }
  692.   int t() { main(); }
  693.   EOF
  694. ! if eval $compile; then
  695.     rm -rf conftest*
  696.     have_lib="1"
  697.   
  698. --- 2026,2032 ----
  699.   int main() { exit(0); }
  700.   int t() { main(); }
  701.   EOF
  702. ! if $compile; then
  703.     rm -rf conftest*
  704.     have_lib="1"
  705.   
  706. ***************
  707. *** 2059,2065 ****
  708.   int main() { exit(0); }
  709.   int t() { main(); }
  710.   EOF
  711. ! if eval $compile; then
  712.     rm -rf conftest*
  713.     have_lib="1"
  714.   
  715. --- 2061,2067 ----
  716.   int main() { exit(0); }
  717.   int t() { main(); }
  718.   EOF
  719. ! if $compile; then
  720.     rm -rf conftest*
  721.     have_lib="1"
  722.   
  723. ***************
  724. *** 2082,2088 ****
  725.      LIBS="${LIBS} -ldgc"
  726.   fi
  727.   
  728.   echo checking for AFS
  729.   test -d /afs && 
  730.   {
  731. --- 2084,2090 ----
  732.      LIBS="${LIBS} -ldgc"
  733.   fi
  734.   
  735. ! LIBS=""    #Hack (fnf)
  736.   echo checking for AFS
  737.   test -d /afs && 
  738.   {
  739. ***************
  740. *** 2141,2148 ****
  741.   PROGS='$PROGS'
  742.   LIBPROGS='$LIBPROGS'
  743.   CC='$CC'
  744. ! CFLAGS='$CFLAGS'
  745. ! LDFLAGS='$LDFLAGS'
  746.   CPP='$CPP'
  747.   RANLIB='$RANLIB'
  748.   YACC='$YACC'
  749. --- 2143,2150 ----
  750.   PROGS='$PROGS'
  751.   LIBPROGS='$LIBPROGS'
  752.   CC='$CC'
  753. ! CFLAGS="-O"    #HACK (fnf)
  754. ! LDFLAGS=""    #HACK (fnf)
  755.   CPP='$CPP'
  756.   RANLIB='$RANLIB'
  757.   YACC='$YACC'
  758. diff -rc --new-file fileutils-3.9-fsf/lib/Makefile.in fileutils-3.9-amiga/lib/Makefile.in
  759. *** fileutils-3.9-fsf/lib/Makefile.in    Sat Oct 16 04:24:47 1993
  760. --- fileutils-3.9-amiga/lib/Makefile.in    Mon Dec 13 12:58:19 1993
  761. ***************
  762. *** 27,33 ****
  763.   CFLAGS = @CFLAGS@
  764.   YACC = @YACC@
  765.   
  766. ! prefix = /usr/local
  767.   exec_prefix = $(prefix)
  768.   libdir = $(exec_prefix)/lib
  769.   
  770. --- 27,33 ----
  771.   CFLAGS = @CFLAGS@
  772.   YACC = @YACC@
  773.   
  774. ! prefix = /usr
  775.   exec_prefix = $(prefix)
  776.   libdir = $(exec_prefix)/lib
  777.   
  778. diff -rc --new-file fileutils-3.9-fsf/lib/backupfile.c fileutils-3.9-amiga/lib/backupfile.c
  779. *** fileutils-3.9-fsf/lib/backupfile.c    Tue Oct 12 15:17:42 1993
  780. --- fileutils-3.9-amiga/lib/backupfile.c    Mon Dec 13 10:46:35 1993
  781. ***************
  782. *** 100,106 ****
  783. --- 100,110 ----
  784.   
  785.   /* The extension added to file names to produce a simple (as opposed
  786.      to numbered) backup file name. */
  787. + #ifdef AMIGA
  788. + char *simple_backup_suffix = "!";
  789. + #else
  790.   char *simple_backup_suffix = "~";
  791. + #endif
  792.   
  793.   char *basename ();
  794.   char *dirname ();
  795. ***************
  796. *** 125,131 ****
  797. --- 129,139 ----
  798.   
  799.     if (backup_type == simple)
  800.       return concat (file, simple_backup_suffix);
  801. + #ifdef AMIGA
  802. +   base_versions = concat (basename (file), ".!");
  803. + #else
  804.     base_versions = concat (basename (file), ".~");
  805. + #endif
  806.     if (base_versions == 0)
  807.       return 0;
  808.     dir = dirname (file);
  809. ***************
  810. *** 191,197 ****
  811. --- 199,209 ----
  812.     backup_name = malloc (strlen (file) + 16);
  813.     if (backup_name == 0)
  814.       return 0;
  815. + #ifdef AMIGA
  816. +   sprintf (backup_name, "%s.!%d!", file, version);
  817. + #else
  818.     sprintf (backup_name, "%s.~%d~", file, version);
  819. + #endif
  820.     return backup_name;
  821.   }
  822.   
  823. ***************
  824. *** 213,219 ****
  825. --- 225,235 ----
  826.       {
  827.         for (p = &backup[base_length]; ISDIGIT (*p); ++p)
  828.       version = version * 10 + *p - '0';
  829. + #ifdef AMIGA
  830. +       if (p[0] != '!' || p[1])
  831. + #else
  832.         if (p[0] != '~' || p[1])
  833. + #endif
  834.       version = 0;
  835.       }
  836.     return version;
  837. diff -rc --new-file fileutils-3.9-fsf/man/Makefile.in fileutils-3.9-amiga/man/Makefile.in
  838. *** fileutils-3.9-fsf/man/Makefile.in    Fri Aug 13 21:49:02 1993
  839. --- fileutils-3.9-amiga/man/Makefile.in    Mon Dec 13 12:58:41 1993
  840. ***************
  841. *** 20,26 ****
  842.   srcdir = @srcdir@
  843.   VPATH = @srcdir@
  844.   
  845. ! prefix = /usr/local
  846.   exec_prefix = $(prefix)
  847.   mandir = $(prefix)/man/man1
  848.   manprefix =
  849. --- 20,26 ----
  850.   srcdir = @srcdir@
  851.   VPATH = @srcdir@
  852.   
  853. ! prefix = /usr
  854.   exec_prefix = $(prefix)
  855.   mandir = $(prefix)/man/man1
  856.   manprefix =
  857. diff -rc --new-file fileutils-3.9-fsf/mkinstalldirs fileutils-3.9-amiga/mkinstalldirs
  858. *** fileutils-3.9-fsf/mkinstalldirs    Fri Aug 13 15:07:14 1993
  859. --- fileutils-3.9-amiga/mkinstalldirs    Mon Dec 13 10:46:36 1993
  860. ***************
  861. *** 30,35 ****
  862. --- 30,36 ----
  863.      done
  864.   done
  865.   
  866. + exit 0
  867.   exit $errstatus
  868.   
  869.   # eof
  870. diff -rc --new-file fileutils-3.9-fsf/src/Makefile.in fileutils-3.9-amiga/src/Makefile.in
  871. *** fileutils-3.9-fsf/src/Makefile.in    Mon Oct 18 23:26:38 1993
  872. --- fileutils-3.9-amiga/src/Makefile.in    Mon Dec 13 12:58:30 1993
  873. ***************
  874. *** 20,26 ****
  875.   srcdir = @srcdir@
  876.   VPATH = @srcdir@
  877.   
  878. ! prefix = /usr/local
  879.   exec_prefix = $(prefix)
  880.   bindir = $(exec_prefix)/bin
  881.   binprefix = 
  882. --- 20,26 ----
  883.   srcdir = @srcdir@
  884.   VPATH = @srcdir@
  885.   
  886. ! prefix = /usr
  887.   exec_prefix = $(prefix)
  888.   bindir = $(exec_prefix)/bin
  889.   binprefix = 
  890. diff -rc --new-file fileutils-3.9-fsf/src/chgrp.c fileutils-3.9-amiga/src/chgrp.c
  891. *** fileutils-3.9-fsf/src/chgrp.c    Mon Oct 18 23:35:03 1993
  892. --- fileutils-3.9-amiga/src/chgrp.c    Mon Dec 13 13:11:44 1993
  893. ***************
  894. *** 101,107 ****
  895.     {0, 0, 0, 0}
  896.   };
  897.   
  898. - void
  899.   main (argc, argv)
  900.        int argc;
  901.        char **argv;
  902. --- 101,106 ----
  903. diff -rc --new-file fileutils-3.9-fsf/src/chmod.c fileutils-3.9-amiga/src/chmod.c
  904. *** fileutils-3.9-fsf/src/chmod.c    Mon Oct 18 23:35:04 1993
  905. --- fileutils-3.9-amiga/src/chmod.c    Mon Dec 13 13:11:39 1993
  906. ***************
  907. *** 90,96 ****
  908.   /* Parse the ASCII mode given on the command line into a linked list
  909.      of `struct mode_change' and apply that to each file argument. */
  910.   
  911. - void
  912.   main (argc, argv)
  913.        int argc;
  914.        char **argv;
  915. --- 90,95 ----
  916. diff -rc --new-file fileutils-3.9-fsf/src/chown.c fileutils-3.9-amiga/src/chown.c
  917. *** fileutils-3.9-fsf/src/chown.c    Mon Oct 18 23:35:05 1993
  918. --- fileutils-3.9-amiga/src/chown.c    Mon Dec 13 13:11:48 1993
  919. ***************
  920. *** 111,117 ****
  921.     {0, 0, 0, 0}
  922.   };
  923.   
  924. - void
  925.   main (argc, argv)
  926.        int argc;
  927.        char **argv;
  928. --- 111,116 ----
  929. diff -rc --new-file fileutils-3.9-fsf/src/cp.c fileutils-3.9-amiga/src/cp.c
  930. *** fileutils-3.9-fsf/src/cp.c    Mon Oct 18 23:35:08 1993
  931. --- fileutils-3.9-amiga/src/cp.c    Mon Dec 13 13:11:59 1993
  932. ***************
  933. *** 160,166 ****
  934.     {NULL, 0, NULL, 0}
  935.   };
  936.   
  937. - void
  938.   main (argc, argv)
  939.        int argc;
  940.        char *argv[];
  941. --- 160,165 ----
  942. diff -rc --new-file fileutils-3.9-fsf/src/dd.c fileutils-3.9-amiga/src/dd.c
  943. *** fileutils-3.9-fsf/src/dd.c    Mon Oct 18 23:35:09 1993
  944. --- fileutils-3.9-amiga/src/dd.c    Mon Dec 13 13:12:05 1993
  945. ***************
  946. *** 333,339 ****
  947.     {0, 0, 0, 0}
  948.   };
  949.   
  950. - void
  951.   main (argc, argv)
  952.        int argc;
  953.        char **argv;
  954. --- 333,338 ----
  955. diff -rc --new-file fileutils-3.9-fsf/src/df.c fileutils-3.9-amiga/src/df.c
  956. *** fileutils-3.9-fsf/src/df.c    Mon Oct 18 23:35:10 1993
  957. --- fileutils-3.9-amiga/src/df.c    Mon Dec 13 13:12:12 1993
  958. ***************
  959. *** 138,144 ****
  960.     {NULL, 0, NULL, 0}
  961.   };
  962.   
  963. - void
  964.   main (argc, argv)
  965.        int argc;
  966.        char **argv;
  967. --- 138,143 ----
  968. diff -rc --new-file fileutils-3.9-fsf/src/du.c fileutils-3.9-amiga/src/du.c
  969. *** fileutils-3.9-fsf/src/du.c    Mon Oct 18 23:35:12 1993
  970. --- fileutils-3.9-amiga/src/du.c    Mon Dec 13 13:12:15 1993
  971. ***************
  972. *** 223,229 ****
  973.     exit (status);
  974.   }
  975.   
  976. - void
  977.   main (argc, argv)
  978.        int argc;
  979.        char *argv[];
  980. --- 223,228 ----
  981. diff -rc --new-file fileutils-3.9-fsf/src/install.c fileutils-3.9-amiga/src/install.c
  982. *** fileutils-3.9-fsf/src/install.c    Mon Oct 18 23:35:13 1993
  983. --- fileutils-3.9-amiga/src/install.c    Mon Dec 13 13:12:22 1993
  984. ***************
  985. *** 162,168 ****
  986.     {NULL, 0, NULL, 0}
  987.   };
  988.   
  989. - void
  990.   main (argc, argv)
  991.        int argc;
  992.        char **argv;
  993. --- 162,167 ----
  994. ***************
  995. *** 462,468 ****
  996.   {
  997.     int pid, status;
  998.   
  999. !   pid = fork ();
  1000.     switch (pid)
  1001.       {
  1002.       case -1:
  1003. --- 461,467 ----
  1004.   {
  1005.     int pid, status;
  1006.   
  1007. !   pid = vfork ();
  1008.     switch (pid)
  1009.       {
  1010.       case -1:
  1011. diff -rc --new-file fileutils-3.9-fsf/src/ln.c fileutils-3.9-amiga/src/ln.c
  1012. *** fileutils-3.9-fsf/src/ln.c    Mon Oct 18 23:35:14 1993
  1013. --- fileutils-3.9-amiga/src/ln.c    Mon Dec 13 13:12:19 1993
  1014. ***************
  1015. *** 119,125 ****
  1016.     {NULL, 0, NULL, 0}
  1017.   };
  1018.   
  1019. - void
  1020.   main (argc, argv)
  1021.        int argc;
  1022.        char **argv;
  1023. --- 119,124 ----
  1024. diff -rc --new-file fileutils-3.9-fsf/src/ls.c fileutils-3.9-amiga/src/ls.c
  1025. *** fileutils-3.9-fsf/src/ls.c    Mon Oct 18 23:35:15 1993
  1026. --- fileutils-3.9-amiga/src/ls.c    Mon Dec 13 13:12:29 1993
  1027. ***************
  1028. *** 441,447 ****
  1029.   };
  1030.   
  1031.   
  1032. - void
  1033.   main (argc, argv)
  1034.        int argc;
  1035.        char **argv;
  1036. --- 441,446 ----
  1037. ***************
  1038. *** 704,711 ****
  1039. --- 703,715 ----
  1040.         break;
  1041.   
  1042.       case 'B':
  1043. + #ifdef AMIGA
  1044. +       add_ignore_pattern ("*!");
  1045. +       add_ignore_pattern (".*!");
  1046. + #else
  1047.         add_ignore_pattern ("*~");
  1048.         add_ignore_pattern (".*~");
  1049. + #endif
  1050.         break;
  1051.   
  1052.       case 'C':
  1053. diff -rc --new-file fileutils-3.9-fsf/src/mkdir.c fileutils-3.9-amiga/src/mkdir.c
  1054. *** fileutils-3.9-fsf/src/mkdir.c    Mon Oct 18 23:35:16 1993
  1055. --- fileutils-3.9-amiga/src/mkdir.c    Mon Dec 13 13:12:26 1993
  1056. ***************
  1057. *** 72,78 ****
  1058.     {NULL, 0, NULL, 0}
  1059.   };
  1060.   
  1061. - void
  1062.   main (argc, argv)
  1063.        int argc;
  1064.        char **argv;
  1065. --- 72,77 ----
  1066. diff -rc --new-file fileutils-3.9-fsf/src/mkfifo.c fileutils-3.9-amiga/src/mkfifo.c
  1067. *** fileutils-3.9-fsf/src/mkfifo.c    Mon Oct 18 23:35:17 1993
  1068. --- fileutils-3.9-amiga/src/mkfifo.c    Mon Dec 13 13:12:36 1993
  1069. ***************
  1070. *** 61,67 ****
  1071.     {NULL, 0, NULL, 0}
  1072.   };
  1073.   
  1074. - void
  1075.   main (argc, argv)
  1076.        int argc;
  1077.        char **argv;
  1078. --- 61,66 ----
  1079. diff -rc --new-file fileutils-3.9-fsf/src/mknod.c fileutils-3.9-amiga/src/mknod.c
  1080. *** fileutils-3.9-fsf/src/mknod.c    Mon Oct 18 23:35:18 1993
  1081. --- fileutils-3.9-amiga/src/mknod.c    Mon Dec 13 13:12:39 1993
  1082. ***************
  1083. *** 66,72 ****
  1084.     {NULL, 0, NULL, 0}
  1085.   };
  1086.   
  1087. - void
  1088.   main (argc, argv)
  1089.        int argc;
  1090.        char **argv;
  1091. --- 66,71 ----
  1092. diff -rc --new-file fileutils-3.9-fsf/src/mv.c fileutils-3.9-amiga/src/mv.c
  1093. *** fileutils-3.9-fsf/src/mv.c    Mon Oct 18 23:35:19 1993
  1094. --- fileutils-3.9-amiga/src/mv.c    Mon Dec 13 13:12:43 1993
  1095. ***************
  1096. *** 120,126 ****
  1097.     {NULL, 0, NULL, 0}
  1098.   };
  1099.   
  1100. - void
  1101.   main (argc, argv)
  1102.        int argc;
  1103.        char **argv;
  1104. --- 120,125 ----
  1105. diff -rc --new-file fileutils-3.9-fsf/src/mvdir.c fileutils-3.9-amiga/src/mvdir.c
  1106. *** fileutils-3.9-fsf/src/mvdir.c    Mon Oct 18 23:35:20 1993
  1107. --- fileutils-3.9-amiga/src/mvdir.c    Mon Dec 13 13:12:58 1993
  1108. ***************
  1109. *** 99,105 ****
  1110.     exit (status);
  1111.   }
  1112.   
  1113. - void
  1114.   main (argc, argv)
  1115.        int argc;
  1116.        char **argv;
  1117. --- 99,104 ----
  1118. diff -rc --new-file fileutils-3.9-fsf/src/rm.c fileutils-3.9-amiga/src/rm.c
  1119. *** fileutils-3.9-fsf/src/rm.c    Mon Oct 18 23:35:21 1993
  1120. --- fileutils-3.9-amiga/src/rm.c    Mon Dec 13 13:12:52 1993
  1121. ***************
  1122. *** 106,112 ****
  1123.     {NULL, 0, NULL, 0}
  1124.   };
  1125.   
  1126. - void
  1127.   main (argc, argv)
  1128.        int argc;
  1129.        char **argv;
  1130. --- 106,111 ----
  1131. diff -rc --new-file fileutils-3.9-fsf/src/rmdir.c fileutils-3.9-amiga/src/rmdir.c
  1132. *** fileutils-3.9-fsf/src/rmdir.c    Mon Oct 18 23:35:22 1993
  1133. --- fileutils-3.9-amiga/src/rmdir.c    Mon Dec 13 13:12:49 1993
  1134. ***************
  1135. *** 66,72 ****
  1136.     {NULL, 0, NULL, 0}
  1137.   };
  1138.   
  1139. - void
  1140.   main (argc, argv)
  1141.        int argc;
  1142.        char **argv;
  1143. --- 66,71 ----
  1144. diff -rc --new-file fileutils-3.9-fsf/src/touch.c fileutils-3.9-amiga/src/touch.c
  1145. *** fileutils-3.9-fsf/src/touch.c    Mon Oct 18 23:35:23 1993
  1146. --- fileutils-3.9-amiga/src/touch.c    Mon Dec 13 13:12:54 1993
  1147. ***************
  1148. *** 132,138 ****
  1149.     CH_ATIME, CH_ATIME, CH_ATIME, CH_MTIME, CH_MTIME
  1150.   };
  1151.   
  1152. - void
  1153.   main (argc, argv)
  1154.        int argc;
  1155.        char **argv;
  1156. --- 132,137 ----
  1157.