return False (0) on error vs return 0 on success (fd_close_posix) int fd_close_posix(struct connection_struct *conn, files_struct *fsp) [....] if (!add_fd_to_close_entry(fsp)) { SAFE_FREE(entries); return False; } SAFE_FREE(entries); fsp->fd = -1; return 0;
Fixed in SVN. Thanks ! Jeremy.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.