Updates to a number of apps to remove warnings/compile errors under libc5.
Tested under both libc5 and libc6 and all seems well with these fixes.
-Erik
diff --git a/findutils/find.c b/findutils/find.c
index 53b85e6..329d151 100644
--- a/findutils/find.c
+++ b/findutils/find.c
@@ -116,5 +116,5 @@
exit(FALSE);
}
- exit(TRUE);
+ return(TRUE);
}
diff --git a/findutils/grep.c b/findutils/grep.c
index b91fe7c..0e495ff 100644
--- a/findutils/grep.c
+++ b/findutils/grep.c
@@ -163,7 +163,7 @@
fclose(fp);
}
}
- exit(match);
+ return(match);
}
diff --git a/findutils/which.c b/findutils/which.c
index 7a11bf7..8d4422a 100644
--- a/findutils/which.c
+++ b/findutils/which.c
@@ -88,7 +88,7 @@
exit (FALSE);
}
}
- exit(TRUE);
+ return(TRUE);
}
/*