From 627fd8a8aa380c3343800012c58ff0431c566614 Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Sun, 21 Jun 2009 18:16:21 +0000 Subject: Basic lock mechanism implemented to avoid having two calcurse instances running at the same time. --- src/utils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/utils.c') diff --git a/src/utils.c b/src/utils.c index 80101b9..42c4170 100755 --- a/src/utils.c +++ b/src/utils.c @@ -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); } -- cgit v1.2.3-54-g00ecf