Re: New copyright program - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: New copyright program
Date
Msg-id 4E4EF3B9.1030407@dunslane.net
Whole thread Raw
In response to Re: New copyright program  (Bruce Momjian <bruce@momjian.us>)
Responses Re: New copyright program  (Bruce Momjian <bruce@momjian.us>)
Re: New copyright program  (David Fetter <david@fetter.org>)
List pgsql-hackers

On 08/19/2011 07:31 PM, Bruce Momjian wrote:
> Kris Jurka wrote:
>> Did you also try the "use Tie::File" addition in my fix because your
>> current coding doesn't work at all.  The tie operation is key to actually
>> writing out the modified copyright notice.  Your version just updates the
>> copyright year in memory, but never gets it back to the file.
> Ah, that did fix it;  thanks.  I am attached the updated committed
> copyright.pl.  I also skipped symlinks.
>

It probably doesn't matter that much in this context, but I should point 
out that Tie::File is not universally available. Some years ago I had to 
revert its use in the buildfarm code for that reason. In general we 
should try to avoid adding extra dependencies wherever possible.

cheers

andrew


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: New copyright program
Next
From: Bruce Momjian
Date:
Subject: Re: New copyright program