From nobody@FreeBSD.ORG Wed Feb 24 23:04:05 1999
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 8A84C14C48; Wed, 24 Feb 1999 23:04:00 -0800 (PST)
Message-Id: <19990225070400.8A84C14C48@hub.freebsd.org>
Date: Wed, 24 Feb 1999 23:04:00 -0800 (PST)
From: jun_sun@hlla.is.tsukuba.ac.jp
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@freebsd.org
Subject: rm command
X-Send-Pr-Version: www-1.0

>Number:         10252
>Category:       bin
>Synopsis:       rm command
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 25 10:20:04 PST 1999
>Closed-Date:    Thu Feb 25 14:04:15 PST 1999
>Last-Modified:  Fri Sep 19 09:56:05 PDT 2003
>Originator:     Jun Sun
>Release:        2.2.6
>Organization:
University of Tsukuba
>Environment:
Jun 12 20:35:45 JST 1998     sakamoto@pulse.hlla.is.tsukuba.ac.jp:/usr/src/sys/compile/PULSE  i386

>Description:
The rm command "rm -f" without file name in freebsd will exit with
code 1. But in other UNIX, I mean SunOS 4.1.4, SunOS 2.5.1, Linux
and Dec UNIX 4.1, it return with code 0, and does not print any
messages. Because I maintain a project running on several different
UNIX platform. The rm command make some trouble for me. I think to
compatible with other UNIX is good for freebsd.

>How-To-Repeat:
run "rm -f" without file name. Compare the result on freebsd and
other UNIX.

>Fix:
Comment out the usage() function call in rm.c

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: jkh 
State-Changed-When: Thu Feb 25 14:04:15 PST 1999 
State-Changed-Why:  
Fixed, thanks. 
>Unformatted:
