]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* symlink-tree: Check number of arguments.
authorPhil Edwards <pme@sourceware.cygnus.com>
Fri, 7 Jul 2000 13:18:48 +0000 (13:18 +0000)
committerJeff Law <law@gcc.gnu.org>
Fri, 7 Jul 2000 13:18:48 +0000 (07:18 -0600)
From-SVN: r34900

ChangeLog
symlink-tree

index 65d19ad4c45f64db2b854116e3c27c3616fe1bef..b3c3b374c7a7bd5ee350cba081482e34ab1891f8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-07-07  Phil Edwards  <pme@sourceware.cygnus.com>
+
+       * symlink-tree:  Check number of arguments.
+
 2000-07-05  Jim Wilson  <wilson@cygnus.com>
 
        * Makefile.in (CXX_FOR_TARGET): Add libstdc++ to the library
index 096582db6eb6426e681539e9f55b1a4ca18281f6..8f11c0879325bd306969c34cf8db541a0ea4fb0a 100755 (executable)
@@ -10,6 +10,11 @@ prog=$0
 srcdir=$1
 ignore="$2"
 
+if test $# -lt 1; then
+  echo "symlink-tree error:  Usage: symlink-tree srcdir \"ignore1 ignore2 ...\""
+  exit 1
+fi
+
 ignore_additional=". .. CVS"
 
 # If we were invoked with a relative path name, adjust ${prog} to work