cvs commit: src/bin/rm rm.c

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Mon Jun 19 09:32:49 PDT 2006


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.

cheers
  simon
--
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00001.pgp
Type: application/octet-stream
Size: 186 bytes
Desc: "Description: This is a digitally signed message part"
URL: <http://lists.dragonflybsd.org/pipermail/commits/attachments/20060619/24821b16/attachment-0022.obj>


More information about the Commits mailing list