projects
/
unix-history
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
48ef1da
)
fix "ln -s file1 file2 file3"; bug report 4.3BSD/bin/95
author
Keith Bostic
<bostic@ucbvax.Berkeley.EDU>
Fri, 6 Nov 1987 08:32:18 +0000
(
00:32
-0800)
committer
Keith Bostic
<bostic@ucbvax.Berkeley.EDU>
Fri, 6 Nov 1987 08:32:18 +0000
(
00:32
-0800)
SCCS-vsn: bin/ln/ln.c 4.8
usr/src/bin/ln/ln.c
patch
|
blob
|
blame
|
history
diff --git
a/usr/src/bin/ln/ln.c
b/usr/src/bin/ln/ln.c
index
b72eb23
..
63b8db5
100644
(file)
--- a/
usr/src/bin/ln/ln.c
+++ b/
usr/src/bin/ln/ln.c
@@
-1,4
+1,4
@@
-static char sccsid[] = "@(#)ln.c
4.8
%G%";
+static char sccsid[] = "@(#)ln.c
4.8 (Berkeley)
%G%";
/*
* ln
*/
/*
* ln
*/
@@
-38,7
+38,7
@@
again:
argv[argc] = ".";
argc++;
}
argv[argc] = ".";
argc++;
}
- if (
sflag == 0 &&
argc > 2) {
+ if (argc > 2) {
if (stat(argv[argc-1], &stb) < 0)
goto usage;
if ((stb.st_mode&S_IFMT) != S_IFDIR)
if (stat(argv[argc-1], &stb) < 0)
goto usage;
if ((stb.st_mode&S_IFMT) != S_IFDIR)