DragonFly BSD
DragonFly commits List (threaded) for 2006-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/bin/rm rm.c

From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Mon, 19 Jun 2006 18:30:56 +0200

On 19.06.2006, at 18:18, Jonas Trollvik wrote:
What's the point of adding this?
I remember a discussion on the lists here a year ago or so where it's
stated that the OS will take care of that as soon as the process exits
and that it'll do so faster than the process itself.
It seems to me that the next operation after the fts_close() is exit(eval);

yes, you are right. yet this aligns us more with NetBSD, so it is some gain. additionally, if you imagine compiling rm as a builtin to sh (we don't do that, but it is possible), freeing it is neccessary.


Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \

Attachment: PGP.sig
Description: This is a digitally signed message part

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