Home
last modified time | relevance | path

Searched refs:Canchange (Results 1 – 1 of 1) sorted by relevance

/titanic_41/usr/src/cmd/logadm/
H A Dconf.c65 static int Canchange; /* what changes can be written back */ variable
335 Canchange = CHG_BOTH; in conf_open()
339 Canchange = CHG_TIMES; in conf_open()
344 flock.l_type = (Canchange == CHG_BOTH) ? F_WRLCK : F_RDLCK; in conf_open()
369 Canchange = CHG_NONE; in conf_open()
374 flock.l_type = (Canchange != CHG_NONE) ? F_WRLCK : F_RDLCK; in conf_open()
413 if (ret == 3 && !Singlefile && Canchange == CHG_BOTH) { in conf_open()
468 if (Canchange != CHG_BOTH) in conf_close()
487 if (Canchange == CHG_NONE) in conf_close()