(open_archive): Take extra argument readonly. If true open file with
authordrepper <drepper>
Tue, 14 May 2002 22:26:52 +0000 (22:26 +0000)
committerdrepper <drepper>
Tue, 14 May 2002 22:26:52 +0000 (22:26 +0000)
commit453b57c41ec97286ae6d09c378ba0d2eeab62159
treec2daca392b7898f8c0c7ccf3ef4fdfa6df184ce5
parent1d8c3bcc9384069f4c6d36fd656ba0a7256575f0
(open_archive): Take extra argument readonly.  If true open file with
O_RDONLY and don't create the archive if it doesn't exist.
Adapt all callers.
(close_archive): Don't do anything if fd element is -1.
locale/programs/locarchive.c