swrap: Wrap fopen to detect stale file descriptors.
commitd09501ae51ddd9f63e3ec8dda27d8b2fe7918eb4
authorAndreas Schneider <asn@samba.org>
Thu, 2 Oct 2014 05:18:48 +0000 (2 07:18 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 9 Dec 2014 20:40:12 +0000 (9 21:40 +0100)
treef9cc6c346fa1f35e050e7e9ac72a742f94c8eea5
parentcbe2d3394682ad30c65a4d2a739d2f146223d248
swrap: Wrap fopen to detect stale file descriptors.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 9731516e7f87cc16412eb830840d0393e8a4f823)
lib/socket_wrapper/socket_wrapper.c