[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[ANN] ruby-stemp - Secure tempfile extension for Ruby

Cian

11/19/2006 4:12:00 PM

Hi all,

I've just released ruby-stemp, a secure tempfile extension for Ruby.

Pure Ruby tempfile implementations appear to suffer from well-known
race conditions. The 'mkstemp' family of functions now popular on
Linux & *BSD attempt to work around these issues. This module makes
them available to Ruby programmers on platforms where they are
present.

This is a Ruby extension in C that simply wraps mkdtemp(3), mkstemp(3)
and tmpfile(3). It ought to be useful to people writing Ruby code who
need tempfiles/directories without the usual check-name-then-create
race condition.

Project page, documentation, etc. is at http://ruby-stemp.ruby...

Do let me know if you find this extension useful, or come across any
problems. Thanks!

Cian