Accepting request 227498 from home:poeml

- update to 0.3
  * At exit, unlink the lock file only if a lock was actually obtained.
    When waiting for a lock (using -w option) and timing out, the file
    was removed nevertheless. Thanks Bernhard Wiedemann for finding this
    bug and providing such a good test case, so the fix was easy.
    See https://bugzilla.novell.com/show_bug.cgi?id=864785

OBS-URL: https://build.opensuse.org/request/show/227498
OBS-URL: https://build.opensuse.org/package/show/Base:System/withlock?expand=0&rev=6
This commit is contained in:
Stephan Kulow 2014-03-26 06:14:02 +00:00 committed by Git OBS Bridge
parent 27fd6949fc
commit cd83fb1e7f
4 changed files with 14 additions and 4 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9395ecbed705b17db4472b884aa31c28dd14d9727733c9cabe4678483a758cde
size 2336

3
withlock-0.3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:be7b0b86848c4d3aa014839b9e407fbf0832af899160d88a88c3a72cdb884939
size 2352

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Tue Mar 25 21:07:09 UTC 2014 - poeml@cmdline.net
- update to 0.3
* At exit, unlink the lock file only if a lock was actually obtained.
When waiting for a lock (using -w option) and timing out, the file
was removed nevertheless. Thanks Bernhard Wiedemann for finding this
bug and providing such a good test case, so the fix was easy.
See https://bugzilla.novell.com/show_bug.cgi?id=864785
-------------------------------------------------------------------
Mon Feb 10 21:49:18 UTC 2014 - poeml@cmdline.net

View File

@ -17,7 +17,7 @@
Name: withlock
Version: 0.2
Version: 0.3
Release: 0
Summary: A locking wrapper script
License: Apache-2.0