diff options
author | Frederic Culot <calcurse@culot.org> | 2009-06-21 18:16:21 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2009-06-21 18:16:21 +0000 |
commit | 627fd8a8aa380c3343800012c58ff0431c566614 (patch) | |
tree | 3209af506b43c59ef558eda23680ec6c32fdb017 /src/utils.c | |
parent | bff0d973a426a5c9b55e824ab2a11560a2245938 (diff) | |
download | calcurse-627fd8a8aa380c3343800012c58ff0431c566614.zip |
Basic lock mechanism implemented to avoid having two calcurse instances running at the same time.
Diffstat (limited to 'src/utils.c')
-rwxr-xr-x | src/utils.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); } |