Re: Revised announce-gen patch

2012-03-21 Thread Jim Meyering
Reuben Thomas wrote: > Implementing Jim's suggestions. > >>From 3e6c32b5834341ee8d1870f7b85db546b1a1f2d8 Mon Sep 17 00:00:00 2001 > From: Reuben Thomas > Date: Tue, 20 Mar 2012 20:17:22 + > Subject: [PATCH] announce-gen: make it use Digest::SHA where available. > > * build-aux/announce-gen: Us

Re: Revised announce-gen patch

2012-03-20 Thread Eric Wong
How about using the generic Digest module instead? Something like this (totally untested) patch: diff --git a/build-aux/announce-gen b/build-aux/announce-gen index 3ca90a9..c453d44 100755 --- a/build-aux/announce-gen +++ b/build-aux/announce-gen @@ -29,8 +29,7 @@ my $VERSION = '2012-01-06 07:46';

Revised announce-gen patch

2012-03-20 Thread Reuben Thomas
Implementing Jim's suggestions. >From 3e6c32b5834341ee8d1870f7b85db546b1a1f2d8 Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Tue, 20 Mar 2012 20:17:22 + Subject: [PATCH] announce-gen: make it use Digest::SHA where available. * build-aux/announce-gen: Use either Digest::SHA1 or Digest::