Basic lock mechanism implemented to avoid having two calcurse instances running at the same time.

This commit is contained in:
Frederic Culot
2009-06-21 18:16:21 +00:00
parent bff0d973a4
commit 627fd8a8aa
7 changed files with 70 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
/* $calcurse: utils.c,v 1.69 2009/06/21 14:42:50 culot Exp $ */
/* $calcurse: utils.c,v 1.70 2009/06/21 18:16:23 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -74,6 +74,7 @@ exit_calcurse (int status)
notify_free_app ();
keys_free ();
mem_stats ();
io_unset_lock ();
exit (status);
}