freebsd-skq/lib/libc/iconv
Jilles Tjoelker 571d9493ad libc/iconv: Fix race condition with setting FD_CLOEXEC.
A fork/exec could happen between open and fcntl, leaking a file descriptor.
Using O_CLOEXEC fixes this and as a side effect simplifies the code.

NetBSD already had this (I checked this after making the change myself).

Reviewed by:	gabor
2012-12-17 10:38:51 +00:00
..
__iconv_get_list.3
_strtol.h
_strtoul.h
citrus_aliasname_local.h
citrus_bcs_strtol.c
citrus_bcs_strtoul.c
citrus_bcs.c
citrus_bcs.h
citrus_csmapper.c
citrus_csmapper.h
citrus_db_factory.c
citrus_db_factory.h
citrus_db_file.h
citrus_db_hash.c
citrus_db_hash.h
citrus_db.c
citrus_db.h
citrus_esdb_file.h
citrus_esdb.c
citrus_esdb.h
citrus_fix_grouping.h
citrus_hash.c
citrus_hash.h
citrus_iconv_local.h
citrus_iconv.c
citrus_iconv.h
citrus_lock.h
citrus_lookup_factory.c
citrus_lookup_factory.h
citrus_lookup_file.h
citrus_lookup.c
citrus_lookup.h
citrus_mapper_local.h
citrus_mapper.c Put a quick bandaid on internal citrus locking. 2011-06-19 13:35:46 +00:00
citrus_mapper.h
citrus_memstream.c
citrus_memstream.h
citrus_mmap.c libc/iconv: Fix race condition with setting FD_CLOEXEC. 2012-12-17 10:38:51 +00:00
citrus_mmap.h
citrus_module.c Fix a problem whereby a corrupt DNS record can cause named to crash. [11:06] 2011-12-23 15:00:37 +00:00
citrus_module.h
citrus_namespace.h
citrus_none.c - Fix a trivial bug in iconv. When there is no space to perform the 2011-09-19 22:49:36 +00:00
citrus_none.h
citrus_pivot_factory.c
citrus_pivot_factory.h
citrus_pivot_file.h
citrus_prop.c
citrus_prop.h
citrus_region.h
citrus_stdenc_local.h
citrus_stdenc_template.h
citrus_stdenc.c
citrus_stdenc.h
citrus_types.h Add the BSD-licensed Citrus iconv to the base system with default off 2011-02-25 00:04:39 +00:00
iconv_canonicalize.3
iconv.3 Fix date. 2012-03-26 14:56:23 +00:00
iconv.c Put a quick bandaid on internal citrus locking. 2011-06-19 13:35:46 +00:00
iconvctl.3 mdoc: add missing El macro. 2012-03-27 20:50:14 +00:00
iconvlist.3 Fix Fo arguments. 2012-03-28 19:20:28 +00:00
Makefile.inc
Symbol.map