Output "read only" editor blocks from regen_perly.pl
authorNicholas Clark <nick@ccl4.org>
Sun, 23 Jan 2011 16:25:30 +0000 (16:25 +0000)
committerNicholas Clark <nick@ccl4.org>
Sun, 23 Jan 2011 18:45:58 +0000 (18:45 +0000)
commite8fb9efbf973fedc74b46a30a67b602d07f033e9
treeb24aa82580c7aa8aba3ed06355c2a351a51729c0
parent0a2b78c5e9fca65a8b30a4191c5a8738548647eb
Output "read only" editor blocks from regen_perly.pl

Use safer_open() and read_only_bottom_close_and_rename() from regen_lib.pl
Consistently use 3 argument open and lexical file handles.

A side effect of this change is that the generated files are no longer made
read-only on disk - if this is desirable, then probably better to change
regen_lib.pl so that all generated files are made read-only.
perly.act
perly.h
perly.tab
regen/regen_lib.pl
regen_perly.pl