g_assert (client != NULL);
/* Open file */
- if ((fd = open (filename, O_RDONLY | O_CLOEXEC)) == -1) {
+ if ((fd = open (filename, O_RDONLY)) == -1) {
if (*err == NULL) {
*err = g_error_new (G_RSPAMD_ERROR, errno, "Open error for file %s: %s",
filename, strerror (errno));
g_assert (client != NULL);
/* Open file */
- if ((fd = open (filename, O_RDONLY | O_CLOEXEC)) == -1) {
+ if ((fd = open (filename, O_RDONLY)) == -1) {
if (*err == NULL) {
*err = g_error_new (G_RSPAMD_ERROR, errno, "Open error for file %s: %s",
filename, strerror (errno));
g_assert (client != NULL);
/* Open file */
- if ((fd = open (filename, O_RDONLY | O_CLOEXEC)) == -1) {
+ if ((fd = open (filename, O_RDONLY)) == -1) {
if (*err == NULL) {
*err = g_error_new (G_RSPAMD_ERROR, errno, "Open error for file %s: %s",
filename, strerror (errno));