Browse files

The previous commit added code to rm(1) to warn about and remove any

occurrences of "/" in the argument list.  This corresponds to Enhancement
Request Number 5 in the Austin Group TC2 Aardvark's XCU Defects Report
Further discussion is available in the Austin Group mailing list archives
(<URL:>, "Defect in XCU rm")
and for Austin Group members, in the Austin Group Interpretations archive
(<URL:>, AI-019)

This commit makes that check conditional on !POSIXLY_CORRECT, since it
is not strictly correct according to the current version of the standard
(but is expected to be correct according to the next version, and has
already been adopted by Solaris).
  • Loading branch information...
dag-erling committed Oct 4, 2004
1 parent 7b077f5 commit d6b7bd90c2776d9ccd8bb7f33a899bd213aebf85
Showing with 2 additions and 1 deletion.
  1. +2 −1 bin/rm/rm.c
@@ -141,7 +141,8 @@ main(int argc, char *argv[])
if (getenv("POSIXLY_CORRECT") == NULL)
uid = geteuid();
if (*argv) {

0 comments on commit d6b7bd9

Please sign in to comment.