Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148272446
D4092.id10005.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
712 B
Referenced Files
None
Subscribers
None
D4092.id10005.diff
View Options
Index: head/bin/rm/rm.1
===================================================================
--- head/bin/rm/rm.1
+++ head/bin/rm/rm.1
@@ -32,7 +32,7 @@
.\" @(#)rm.1 8.5 (Berkeley) 12/5/94
.\" $FreeBSD$
.\"
-.Dd April 25, 2013
+.Dd November 7, 2015
.Dt RM 1
.Os
.Sh NAME
@@ -234,7 +234,7 @@
The
.Nm
command conforms to
-.St -p1003.2 .
+.St -p1003.1-2013 .
.Pp
The simplified
.Nm unlink
Index: head/bin/rm/rm.c
===================================================================
--- head/bin/rm/rm.c
+++ head/bin/rm/rm.c
@@ -155,8 +155,7 @@
}
checkdot(argv);
- if (getenv("POSIXLY_CORRECT") == NULL)
- checkslash(argv);
+ checkslash(argv);
uid = geteuid();
(void)signal(SIGINFO, siginfo);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Mar 17, 10:28 PM (9 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29855668
Default Alt Text
D4092.id10005.diff (712 B)
Attached To
Mode
D4092: protecting against rm -rf / is now POSIXLY_CORRECT
Attached
Detach File
Event Timeline
Log In to Comment