On 11 Jan 2004 at 3:38, Autrijus Tang wrote: > 在 六, 2004-01-10 03:54, 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. > > Thanks, applied. > > I'd also appreciate a similar patch to par.pl that conditionally loads > and uses Digest::SHA1 to compute the cache directory, then fallback to > Digest::MD5, then finally to the current stat(). > I believe it's on line 610ish. >
I'm working on it (or I will tomorrow; have to fix the kitchen sink today!). On a related note: On Win32, if you create a non-binary Perl script with "pp -P -C", it can't clean out the temp directory because it can't de-reference the DLL's (at least zlib.dll is in there) like the binary executable can. I don't think there is a any way around that. No problem with "pp -P" without "-C" though. Alan Stewart
