[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Patch In Progress] rm -d, --directory

From: William Plusnick
Subject: [Patch In Progress] rm -d, --directory
Date: Thu, 4 Mar 2010 08:02:02 -0800

I am working on a patch that adds a FreeBSD style directory option, as
suggested in the rm.c source code. The --directory (-d) option will
delete empty directories, as well as the usual files, passed via
command line. I am now in the documentation stages and nearing
completion (all the functionality is working). I have a few questions
mostly regarding legal issues.

I know that I will have to sign some papers, after an email exchange
with the Free Software Foundation. Who do I email to start this
transaction? Also, I am only 15 years old, will this complicate
anything, legal wise, anymore than it would be normally?

Where do I post my patch, when completed, for approval? Do you want
the modified files each to have their own separate patches or all of the
to be in one large patch? Do you want the documentation patch separate
from the source code patch?

If the check to see if the directory is empty fails, I print an error
message. Currently I am using this form:
error (0, 0, "couldn't remove %s : Directory not empty");
(Paraphrased as I don't have the source code in front of me.) I went
ahead and manually put the ':' and why it wasn't removed, because we
know why it can't be removed but there isn't an errno that would print
the appropriate message. Is this acceptable or is there a better way?


"Once GNU is written, everyone will be able to obtain good system software
free, just like air."-- RMS in the GNU Manifesto

reply via email to

[Prev in Thread] Current Thread [Next in Thread]