blob: c265bbf8d3bd76ddab1381c969037f820b05d348 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
include <protect.h>
include <error.h>
# UNPROTECT -- Remove protection from a list of files.
procedure t_unprotect()
char fname[SZ_FNAME]
int list, status
int clpopns(), clgfil(), protect()
begin
list = clpopns ("files")
while (clgfil (list, fname, SZ_FNAME) != EOF)
iferr (status = protect (fname, REMOVE_PROTECTION))
call erract (EA_WARN)
call clpcls (list)
end
|