home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 4
/
FreshFish_May-June1994.bin
/
bbs
/
gnu
/
find-3.8-src.lha
/
src
/
diffs
/
find-3.8.diffs
Wrap
Text File
|
1994-02-23
|
7KB
|
276 lines
diff -rc find-3.8-fsf/INSTALL find-3.8-amiga/INSTALL
*** find-3.8-fsf/INSTALL Fri Jan 22 17:16:53 1993
--- find-3.8-amiga/INSTALL Wed Feb 23 15:56:55 1994
***************
*** 33,40 ****
DIR is the directory that contains the source code.
By default, `make install' will install the package's files in
! /usr/local/bin, /usr/local/lib, /usr/local/man, etc. You can specify
! an installation prefix other than /usr/local by giving `configure' the
option `--prefix=PATH'. Alternately, you can do so by giving a value
for the `prefix' variable when you run `make', e.g.,
make prefix=/usr/gnu
--- 33,40 ----
DIR is the directory that contains the source code.
By default, `make install' will install the package's files in
! /gnu/bin, /gnu/lib, /gnu/man, etc. You can specify
! an installation prefix other than /gnu by giving `configure' the
option `--prefix=PATH'. Alternately, you can do so by giving a value
for the `prefix' variable when you run `make', e.g.,
make prefix=/usr/gnu
diff -rc find-3.8-fsf/Makefile.in find-3.8-amiga/Makefile.in
*** find-3.8-fsf/Makefile.in Tue Mar 23 19:14:52 1993
--- find-3.8-amiga/Makefile.in Wed Feb 23 15:56:57 1994
***************
*** 69,79 ****
DEFS = @DEFS@
! CFLAGS = -g
! LDFLAGS = -g
LIBS = @LIBS@
! prefix = /usr/local
exec_prefix = $(prefix)
# Prefix for each installed program, normally empty or `g'.
--- 69,79 ----
DEFS = @DEFS@
! CFLAGS = -O2
! LDFLAGS =
LIBS = @LIBS@
! prefix = /gnu
exec_prefix = $(prefix)
# Prefix for each installed program, normally empty or `g'.
diff -rc find-3.8-fsf/configure find-3.8-amiga/configure
*** find-3.8-fsf/configure Mon Mar 29 21:02:39 1993
--- find-3.8-amiga/configure Wed Feb 23 15:51:13 1994
***************
*** 92,98 ****
srcdirdefaulted=yes
# Try the directory containing this script, then `..'.
prog=$0
! confdir=`echo $prog|sed 's%/[^/][^/]*$%%'`
test "X$confdir" = "X$prog" && confdir=.
srcdir=$confdir
if test ! -r $srcdir/$unique_file; then
--- 92,98 ----
srcdirdefaulted=yes
# Try the directory containing this script, then `..'.
prog=$0
! confdir=`echo $prog| sed 's|/$||' | sed 's|//|/|' | sed 's|/[^/]*$||'`
test "X$confdir" = "X$prog" && confdir=.
srcdir=$confdir
if test ! -r $srcdir/$unique_file; then
***************
*** 259,265 ****
echo checking for POSIXized ISC
if test -d /etc/conf/kconfig.d &&
! grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
then
ISC=1 # If later tests want to check for ISC.
{
--- 259,265 ----
echo checking for POSIXized ISC
if test -d /etc/conf/kconfig.d &&
! grep _POSIX_VERSION /gnu/include/sys/unistd.h >/dev/null 2>&1
then
ISC=1 # If later tests want to check for ISC.
{
***************
*** 944,950 ****
fi
echo checking for IRIX libsun
! if test -f /usr/lib/libsun.a; then
LIBS="$LIBS -lsun"
fi
--- 944,950 ----
fi
echo checking for IRIX libsun
! if test -f /gnu/lib/libsun.a; then
LIBS="$LIBS -lsun"
fi
***************
*** 961,967 ****
fi
rm -f conftest*
! test -n "$SEQUENT" && test -f /usr/lib/libseq.a &&
LIBS="$LIBS -lseq"
if test -n "$prefix"; then
--- 961,967 ----
fi
rm -f conftest*
! test -n "$SEQUENT" && test -f /gnu/lib/libseq.a &&
LIBS="$LIBS -lseq"
if test -n "$prefix"; then
diff -rc find-3.8-fsf/find/pred.c find-3.8-amiga/find/pred.c
*** find-3.8-fsf/find/pred.c Fri Mar 26 22:54:04 1993
--- find-3.8-amiga/find/pred.c Wed Feb 23 15:49:53 1994
***************
*** 1396,1402 ****
fflush (stdout);
fflush (stderr);
! child_pid = fork ();
if (child_pid == -1)
error (1, errno, "cannot fork");
if (child_pid == 0)
--- 1396,1402 ----
fflush (stdout);
fflush (stderr);
! child_pid = vfork ();
if (child_pid == -1)
error (1, errno, "cannot fork");
if (child_pid == 0)
diff -rc find-3.8-fsf/locate/bigram.c find-3.8-amiga/locate/bigram.c
*** find-3.8-fsf/locate/bigram.c Sun Dec 13 11:59:23 1992
--- find-3.8-amiga/locate/bigram.c Wed Feb 23 16:13:41 1994
***************
*** 30,36 ****
static char *oldpath;
! void
main (argc, argv)
int argc;
char **argv;
--- 30,36 ----
static char *oldpath;
! int
main (argc, argv)
int argc;
char **argv;
diff -rc find-3.8-fsf/locate/code.c find-3.8-amiga/locate/code.c
*** find-3.8-fsf/locate/code.c Sun Dec 13 11:59:23 1992
--- find-3.8-amiga/locate/code.c Wed Feb 23 16:13:59 1994
***************
*** 53,59 ****
static char bigrams[257] = {0};
! void
main (argc, argv)
int argc;
char *argv[];
--- 53,59 ----
static char bigrams[257] = {0};
! int
main (argc, argv)
int argc;
char *argv[];
diff -rc find-3.8-fsf/locate/locate.c find-3.8-amiga/locate/locate.c
*** find-3.8-fsf/locate/locate.c Sun Dec 13 11:59:24 1992
--- find-3.8-amiga/locate/locate.c Wed Feb 23 16:14:08 1994
***************
*** 215,221 ****
{NULL, 0, NULL, 0}
};
! void
main (argc, argv)
int argc;
char **argv;
--- 215,221 ----
{NULL, 0, NULL, 0}
};
! int
main (argc, argv)
int argc;
char **argv;
diff -rc find-3.8-fsf/locate/updatedb.sh find-3.8-amiga/locate/updatedb.sh
*** find-3.8-fsf/locate/updatedb.sh Fri Jul 3 07:45:02 1992
--- find-3.8-amiga/locate/updatedb.sh Wed Feb 23 15:56:47 1994
***************
*** 3,9 ****
# csh original by James Woods; sh conversion by David MacKenzie.
# Public domain.
! PATH=/bin:/usr/bin # Just temporarily.
# You can set these in the environment to override their defaults:
--- 3,9 ----
# csh original by James Woods; sh conversion by David MacKenzie.
# Public domain.
! PATH=/local/bin:/bin # Just temporarily.
# You can set these in the environment to override their defaults:
***************
*** 24,30 ****
test -z "$NFSUSER" && NFSUSER=daemon
# Directory to hold intermediate files.
! test -z "$TMPDIR" && TMPDIR=/usr/tmp
# The database file to build.
test -z "$LOCATE_DB" && LOCATE_DB=@LOCATE_DB@
--- 24,30 ----
test -z "$NFSUSER" && NFSUSER=daemon
# Directory to hold intermediate files.
! test -z "$TMPDIR" && TMPDIR=/tmp
# The database file to build.
test -z "$LOCATE_DB" && LOCATE_DB=@LOCATE_DB@
***************
*** 41,47 ****
# Any prefix in the GNU find filename, before `find'.
binprefix=@binprefix@
! PATH=$LIBDIR:$BINDIR:/usr/ucb:/bin:/usr/bin export PATH
bigrams=$TMPDIR/f.bigrams$$
filelist=$TMPDIR/f.list$$
--- 41,47 ----
# Any prefix in the GNU find filename, before `find'.
binprefix=@binprefix@
! PATH=$LIBDIR:$BINDIR:/bin:/local/bin export PATH
bigrams=$TMPDIR/f.bigrams$$
filelist=$TMPDIR/f.list$$
diff -rc find-3.8-fsf/xargs/xargs.c find-3.8-amiga/xargs/xargs.c
*** find-3.8-fsf/xargs/xargs.c Wed Mar 24 23:18:27 1993
--- find-3.8-amiga/xargs/xargs.c Wed Feb 23 15:49:54 1994
***************
*** 696,702 ****
print_args (0);
/* If we run out of processes, wait for a child to return and
try again. */
! while ((child = fork ()) < 0 && errno == EAGAIN && procs_executing)
wait_for_proc (0);
switch (child)
{
--- 696,702 ----
print_args (0);
/* If we run out of processes, wait for a child to return and
try again. */
! while ((child = vfork ()) < 0 && errno == EAGAIN && procs_executing)
wait_for_proc (0);
switch (child)
{