Re: [PATCH 1/2] Fix config lockfile handling.
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Dec 14, 2007, 19:29 UTC
- Message-ID
- <Pine.LNX.4.64.0712141928240.27959@racer.site>
- In-Reply-To
- <1197660157-24109-2-git-send-email-krh@redhat.com>
Hi,
On Fri, 14 Dec 2007, Kristian Høgsberg wrote:
> - struct lock_file *lock = NULL; > + struct lock_file lock;
AFAICT this cannot work. At least not reliably. An atexit() handler will access all (even closed) lockfiles.
Ciao, Dscho