Michael Haggerty 013870cd2c fdopen_lock_file(): access a lockfile using stdio
Add a new function, fdopen_lock_file(), which returns a FILE pointer
open to the lockfile. If a stream is open on a lock_file object, it is
closed using fclose() on commit, rollback, or close_lock_file().

This change will allow callers to use stdio to write to a lockfile
without having to muck around in the internal representation of the
lock_file object (callers will be rewritten in upcoming commits).

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2014-10-01 14:08:10 -07:00
..
2014-09-29 22:17:57 -07:00
2014-04-08 12:00:28 -07:00
2013-07-22 16:06:48 -07:00
2013-09-04 12:23:25 -07:00
2014-08-04 14:03:45 -07:00
2013-05-29 14:23:04 -07:00
2013-10-18 13:50:12 -07:00
2013-04-12 12:00:52 -07:00
2014-09-29 22:15:00 -07:00