Bug#2531: PATCH: Make install-info use fcntl (via perl's flock) for locking

2006-06-20 Thread Nathanael Nerode
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ian Jackson wrote: merge 2531 3410 thanks Nathanael Nerode writes (Re: PATCH: Make install-info use fcntl (via perl's flock) for locking): unmerge 3410 thanks # 3410 is a different bug, requesting that the lockfile be # cleaned up on

Bug#2531: PATCH: Make install-info use fcntl (via perl's flock) for locking

2006-06-12 Thread Ian Jackson
merge 2531 3410 thanks Nathanael Nerode writes (Re: PATCH: Make install-info use fcntl (via perl's flock) for locking): unmerge 3410 thanks # 3410 is a different bug, requesting that the lockfile be # cleaned up on process kill The only correct fix to that is to use fcntl instead, so it

Bug#2531: PATCH: Make install-info use fcntl (via perl's flock) for locking

2006-06-10 Thread Nathanael Nerode
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 unmerge 3410 thanks # 3410 is a different bug, requesting that the lockfile be # cleaned up on process kill Ian Jackson wrote: tags 2531 - patch thanks Nathanael Nerode writes (PATCH: Make install-info use fcntl (via perl's flock) for

Bug#2531: PATCH: Make install-info use fcntl (via perl's flock) for locking

2006-06-08 Thread Ian Jackson
tags 2531 - patch thanks Nathanael Nerode writes (PATCH: Make install-info use fcntl (via perl's flock) for locking): This patch converts install-info to use perl's flock for locking. ... As part of this change, it now operates directly on the dir file Unfortunately, this is wrong. If you

Bug#2531: PATCH: Make install-info use fcntl (via perl's flock) for locking

2006-06-08 Thread Ian Jackson
Ian Jackson writes (Re: PATCH: Make install-info use fcntl (via perl's flock) for locking): So the process of locking and updating would be: 1. Attempt to open .lock for writing O_EXCL a. If this succeeds, write perl-flock\n b. If this fails, i. open the file for reading;

Bug#2531: PATCH: Make install-info use fcntl (via perl's flock) for locking

2006-06-07 Thread Nathanael Nerode
tags 2531 +patch thanks This patch converts install-info to use perl's flock for locking. I have been told that this uses the system's fcntl in Debian's perl installation. (It is written to tolerate any implementation of flock which perl may supply, however.) As part of this change, it now