Re: New copyright program

From: Kris Jurka <books(at)ejurka(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org, David Fetter <david(at)fetter(dot)org>
Subject: Re: New copyright program
Date: 2011-08-19 21:57:44
Message-ID: alpine.BSO.2.00.1108191755530.6502@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, 19 Aug 2011, Bruce Momjian wrote:

> Was able to reproduce the error you reported with Perl 5.10. I then
> tried the single-quote idea I got from Googling, but then got an error
> about TIEARRAY being missing, so I recoded it as a simple file
> open/close. I also incorported your regex fix. Path attached and
> applied. Thanks.
>

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.

Kris Jurka

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2011-08-19 23:31:44 Re: New copyright program
Previous Message Bruce Momjian 2011-08-19 21:48:42 Re: New copyright program