+ in the interest of robustness, I added
[oweals/busybox.git] / ln.c
diff --git a/ln.c b/ln.c
index bc51cb0d58cd55584de1f84929d71d63721164f0..4be60624ecd02da416ef9be5f8fa838fb9333b15 100644 (file)
--- a/ln.c
+++ b/ln.c
@@ -2,8 +2,7 @@
 /*
  * Mini ln implementation for busybox
  *
- *
- * Copyright (C) 1999 by Lineo, inc.
+ * Copyright (C) 1999,2000 by Lineo, inc.
  * Written by Erik Andersen <andersen@lineo.com>, <andersee@debian.org>
  *
  * This program is free software; you can redistribute it and/or modify
@@ -84,7 +83,7 @@ extern int ln_main(int argc, char **argv)
                exit FALSE;
        }
 
-       linkIntoDirFlag = isDirectory(linkName, TRUE);
+       linkIntoDirFlag = isDirectory(linkName, TRUE, NULL);
 
        if ((argc > 3) && !linkIntoDirFlag) {
                fprintf(stderr, not_a_directory, "ln", linkName);
@@ -128,3 +127,11 @@ extern int ln_main(int argc, char **argv)
        }
        exit TRUE;
 }
+
+/*
+Local Variables:
+c-file-style: "linux"
+c-basic-offset: 4
+tab-width: 4
+End:
+*/