On 09/16/2014 10:39 PM, Jonathan Nieder wrote:
Jonathan Nieder wrote:
Michael Haggerty wrote:
--- a/lockfile.c
+++ b/lockfile.c
@@ -276,7 +276,7 @@ void rollback_lock_file(struct lock_file *lk)
return;
if (lk-fd = 0)
- close(lk-fd);
+
Michael Haggerty wrote:
--- a/lockfile.c
+++ b/lockfile.c
@@ -276,7 +276,7 @@ void rollback_lock_file(struct lock_file *lk)
return;
if (lk-fd = 0)
- close(lk-fd);
+ close_lock_file(lk);
Doesn't need to be guarded by the 'if'.
--
To
Jonathan Nieder wrote:
Michael Haggerty wrote:
--- a/lockfile.c
+++ b/lockfile.c
@@ -276,7 +276,7 @@ void rollback_lock_file(struct lock_file *lk)
return;
if (lk-fd = 0)
-close(lk-fd);
+close_lock_file(lk);
Doesn't need to be guarded by the
3 matches
Mail list logo