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

C

Cian

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.rubyforge.org/

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

Cian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top