Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178113321
D7452.1795999535.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
653 B
Referenced Files
None
Subscribers
None
D7452.1795999535.diff
View Options
Index: head/usr.bin/xinstall/xinstall.c
===================================================================
--- head/usr.bin/xinstall/xinstall.c
+++ head/usr.bin/xinstall/xinstall.c
@@ -536,7 +536,6 @@
if (verbose)
printf("install: link %s -> %s\n",
from_name, to_name);
- unlink(to_name);
ret = rename(tmpl, to_name);
/*
* If rename has posix semantics, then the temporary
@@ -580,8 +579,6 @@
if (target_sb->st_flags & NOCHANGEBITS)
(void)chflags(to_name, target_sb->st_flags &
~NOCHANGEBITS);
- unlink(to_name);
-
if (verbose)
printf("install: symlink %s -> %s\n",
from_name, to_name);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 30, 12:45 AM (13 h, 9 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42098575
Default Alt Text
D7452.1795999535.diff (653 B)
Attached To
Mode
D7452: Fix -S with -l not being atomic.
Attached
Detach File
Event Timeline