fix crash when copy'ing latent plugins
[ardour.git] / libs / ardour / rdff.c
index 9dbb6ddae1e582229130a94f8515b0d0f6c02d0a..ca8e1abf1fd6d07a155ea957c2cca4123188e7b6 100644 (file)
@@ -74,8 +74,6 @@ rdff_open(const char* path, bool write)
                }
        }
 
-       fcntl(fileno(fd), F_SETFD, fcntl(fileno(fd), F_GETFD) | FD_CLOEXEC);
-
        RDFF ret = (RDFF)malloc(sizeof(struct _RDFF));
        ret->fd    = fd;
        ret->size  = size;