Discussion:
need a lisp tempfile library
Mark H. David
2011-05-23 23:05:58 UTC
Permalink
Content preview: I think it would be nice to have a library for creating tempfiles.
There's this nice writeup of one in Python for inspiration: http://docs.python.org/library/tempfile.html
[...]

Content analysis details: (-0.7 points, 5.0 required)

pts rule name description
---- ---------------------- --------------------------------------------------
-0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low
trust
[66.111.4.27 listed in list.dnswl.org]
0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid
Archived-At: <http://permalink.gmane.org/gmane.lisp.cl-pro/393>

I think it would be nice to have a library for creating tempfiles.

There's this nice writeup of one in Python for inspiration:

http://docs.python.org/library/tempfile.html

Is there one for Lisp?
Stelian Ionescu
2011-05-23 23:26:18 UTC
Permalink
Post by Mark H. David
I think it would be nice to have a library for creating tempfiles.
http://docs.python.org/library/tempfile.html
Is there one for Lisp?
Osicat and IOlib
--
Stelian Ionescu a.k.a. fe[nl]ix
Quidquid latine dictum sit, altum videtur.
http://common-lisp.net/project/iolib
Attila Lendvai
2011-05-24 07:50:48 UTC
Permalink
Post by Mark H. David
Is there one for Lisp?
we have this serving our needs (although, it's not really meant to be
a well thought-out public library):

http://dwim.hu/darcsweb/darcsweb.cgi?r=HEAD%20hu.dwim.util;a=headblob;f=/source/temporary-files.lisp
--
 attila

Notice your eroding (digital) freedom, and do something about it!

PGP: 2FA1 A9DC 9C1E BA25 A59C  963F 5D5F 45C7 DFCD 0A39
OTR XMPP: 8647EEAC EA30FEEF E1B55146 573E52EE 21B1FF06
BitCoin: 154uf86Vd9rpjMULd9CXa7nVwikknYZJiB
Sam Steingold
2011-05-24 14:02:22 UTC
Permalink
Post by Mark H. David
Is there one for Lisp? CLISP has POSIX:MKSTEMP & POSIX:MKDTEMP http://clisp.org/impnotes/syscalls.html#mkstemp
http://clisp.org/impnotes/syscalls.html#mkdtemp [...]

Content analysis details: (-100.7 points, 5.0 required)

pts rule name description
---- ---------------------- --------------------------------------------------
-100 USER_IN_WHITELIST From: address is in the user's white-list
0.0 FREEMAIL_FROM Sender email is freemail (sam.steingold[at]gmail.com)
-0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low
trust
[209.85.216.179 listed in list.dnswl.org]
-0.0 SPF_PASS SPF: sender matches SPF record
0.0 RFC_ABUSE_POST Both abuse and postmaster missing on sender domain
0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid
Archived-At: <http://permalink.gmane.org/gmane.lisp.cl-pro/396>
Post by Mark H. David
Is there one for Lisp?
CLISP has POSIX:MKSTEMP & POSIX:MKDTEMP
http://clisp.org/impnotes/syscalls.html#mkstemp
http://clisp.org/impnotes/syscalls.html#mkdtemp
--
Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031
http://jihadwatch.org http://www.PetitionOnline.com/tap12009/
http://palestinefacts.org http://openvotingconsortium.org http://ffii.org
I haven't lost my mind -- it's backed up on tape somewhere.
Loading...