1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-23 10:29:58 +01:00
Werner Koch f256bab03e Avoid double-close in unusual dotlock situations.
* jnlib/dotlock.c (create_dotlock): Avoid double close due to EINTR.
--

close(2) says:

  close() should not be retried after an EINTR since this may cause a
  reused descriptor from another thread to be closed.

(backported from commit 628b111fa679612e23c0d46505b1ecbbf091897d)

Debian-Bug-Id: 773423
Signed-off-by: Werner Koch <wk@gnupg.org>
2015-02-12 18:26:58 +01:00
..
2013-05-10 15:54:31 +02:00
2013-04-22 15:03:34 +02:00
2007-07-04 19:49:40 +00:00
2009-07-07 16:51:33 +00:00
2006-10-02 11:54:35 +00:00
2009-07-07 16:51:33 +00:00
2007-07-04 19:49:40 +00:00
2007-07-04 19:49:40 +00:00
2013-08-01 19:48:00 +02:00
2007-07-04 19:49:40 +00:00
2007-10-01 14:48:39 +00:00
2013-08-01 14:02:50 +02:00
2013-08-01 14:02:50 +02:00
2007-07-04 19:49:40 +00:00

JNLIB - This is a collection of utility function which are too small
to put into a library.  The code here is licensed under the LGPL.

libjnlib-config.h should be be modified for each project to make these
functions fit into the software. Mainly these are memory functions in
case you need another allocator.