OSDN Git Service

admin/po4a/gendraft.perl: Ensure to die when failing to open files
authorAkihiro Motoki <amotoki@gmail.com>
Mon, 28 Jun 2021 03:35:00 +0000 (12:35 +0900)
committerAkihiro Motoki <amotoki@gmail.com>
Mon, 28 Jun 2021 03:35:00 +0000 (12:35 +0900)
commit942b47237b32b27661f6bfa62c08b32ab212b8c8
tree2d39fb792cd7eb304e4566a76ce0ec4a31989fcc
parentebfb2dba9e8ed802d346986ae48d3472fa4b4037
admin/po4a/gendraft.perl: Ensure to die when failing to open files

Previously, the script continues to run even when it fails
to open files. This commit fixes it.

Also uses the recommended three-argument style in open().
admin/po4a/gendraft.perl