On 9 Jan 2004 at 7:19, Alan Stewart wrote: > On 9 Jan 2004 at 4:24, Alan Stewart wrote: > > Attached is a version of mktmpdir.c (and a couple new files) that uses sha-1 to > create > a cache directory name instead of mtime. Also included is sha1test.c that prints the > sha-1 digest of argv[1] that you can compare to the cache dir name. > > BTW, Digest::SHA1 is also included with ActiveState. > > Alan Stewart > >
OK. Here is another version of mktmpdir.c and sha1test.c, with sha1.c taken from the XS code in Digest::SHA1, so it's under the Perl license vice GPL. No sha1.h this time. Alan Stewart
The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any another MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.
---- File information -----------
File: mktmpdir.zip
Date: 9 Jan 2004, 11:48
Size: 6456 bytes.
Type: ZIP-archive
mktmpdir.zip
Description: Zip archive
